120
Established: Feb.2015 DATA SHEET Part No. MN63Y1210A SSOP016-P-0225E Package Code No.

DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Established: Feb.2015

DATA SHEET

Part No. MN63Y1210A

SSOP016-P-0225EPackage Code No.

Page 2: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands
Page 3: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

4

About this manual

Organization These specifications provide important information for users of the MN63Y1210A-E1, including an overview and descriptions of functions.

Manual Configuration Each section of this manual consists of a title, main text, and notes. The layout and definition of each section are shown below.

1.1 UART

This section describes the UART specification.

1.1.1 Communication Specifications

Table 1-1 shows the UART specification of this RFID.

Table 1-1 UART Communication Specification

No flow control signal (RTS/CTS)Other

LSB-firstData (8 bits)Start bit (1bit)Parity bit (1bit, even)Stop bit (1bit) See Note below.

Character transmission

1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bpsData rate

Asynchronous, half-duplex (Only IRQ notification allows full-duplex)

Data transfer method

No flow control signal (RTS/CTS)Other

LSB-firstData (8 bits)Start bit (1bit)Parity bit (1bit, even)Stop bit (1bit) See Note below.

Character transmission

1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bpsData rate

Asynchronous, half-duplex (Only IRQ notification allows full-duplex)

Data transfer method

Note: In order to ensure the timing margin, when sending consequtive data from the host, use a 2-bit stop bit or set the interval between stop bit and next start bit to 1 bit or more.

Middle title

Small title

Text

Note

This is the Note.Please read.

1.1 UART

This section describes the UART specification.

1.1.1 Communication Specifications

Table 1-1 shows the UART specification of this RFID.

Table 1-1 UART Communication Specification

No flow control signal (RTS/CTS)Other

LSB-firstData (8 bits)Start bit (1bit)Parity bit (1bit, even)Stop bit (1bit) See Note below.

Character transmission

1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bpsData rate

Asynchronous, half-duplex (Only IRQ notification allows full-duplex)

Data transfer method

No flow control signal (RTS/CTS)Other

LSB-firstData (8 bits)Start bit (1bit)Parity bit (1bit, even)Stop bit (1bit) See Note below.

Character transmission

1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bpsData rate

Asynchronous, half-duplex (Only IRQ notification allows full-duplex)

Data transfer method

Note: In order to ensure the timing margin, when sending consequtive data from the host, use a 2-bit stop bit or set the interval between stop bit and next start bit to 1 bit or more.

Middle title

Small title

Text

Note

This is the Note.Please read.

DUMMY

Finding Desired Information This manual provides two methods for finding desired information quickly and easily. 1. Consult the table of contents at the front of the manual to locate desired titles. 2. Chapter names are located at the top outer corner of each page, and section titles are located at the

bottom outer corner of each page.

Page 4: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands
Page 5: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 1 Overview

1

Chapter 2 Pin Descriptions

2

Chapter 3 Memory Map

3

Chapter 4 RF Communication Mode

4

Chapter 5 Serial Communication Mode

5

Chapter 6 Tunnel Mode

6

Chapter 7 Annex

7

Chapter 8 Electrical characteristics

8

Page 6: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

6

Contents

Chapter 1 Overview ................................................................... 9

1.1 Features ............................................................................................................................ 10 1.2 Block Diagram ................................................................................................................. 11 1.3 Operation Mode ............................................................................................................... 12

Chapter 2 Pin Descriptions ...................................................... 15

2.1 List of Pins ....................................................................................................................... 16 2.2 Pin Descriptions ............................................................................................................... 17 2.3 Connection Example ........................................................................................................ 19

2.3.1 Using UART and 5 V Power ..................................................................................... 19 2.3.2 Using UART and 3 V Power ..................................................................................... 20 2.3.3 Using Clock Synchronous Mode and 5 V Power ...................................................... 21 2.3.4 Using Clock Synchronous Mode and 3 V Power ...................................................... 22

Chapter 3 Memory Map ........................................................... 23

3.1 Block Configuration ........................................................................................................ 24 3.2 Physical Memory Map ..................................................................................................... 25 3.3 System Area ..................................................................................................................... 26

3.3.1 Parameter Specifications ........................................................................................... 26 3.3.2 Enabling System Area ............................................................................................... 31

3.4 Address Correspondence ................................................................................................. 32

Chapter 4 RF Communication Mode ....................................... 33

4.1 RF Communication Mode Sequence ............................................................................... 34 4.2 JISX6319-4 Specification ................................................................................................ 35

4.2.1 Communication Specifications .................................................................................. 35 4.2.2 Frame Format ............................................................................................................ 35 4.2.3 State Transition Diagram ........................................................................................... 36 4.2.4 Flow Chart ................................................................................................................. 36 4.2.5 Various Settings ........................................................................................................ 37

4.2.5.1 System Code ....................................................................................................... 37 4.2.5.2 PICC (Proximity IC Card) Identifier .................................................................. 37 4.2.5.3 Response Time Descriptor .................................................................................. 37 4.2.5.4 Anticollision ........................................................................................................ 38 4.2.5.5 Service ................................................................................................................. 38 4.2.5.6 Block ................................................................................................................... 39 4.2.5.7 Block List ............................................................................................................ 40 4.2.5.8 Status Flag ........................................................................................................... 42

4.2.6 Command .................................................................................................................. 43 4.2.6.1 REQ ..................................................................................................................... 44

Page 7: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

7

4.2.6.2 READ .................................................................................................................. 45 4.2.6.3 WRITE ................................................................................................................ 47

4.2.7 NDEF ......................................................................................................................... 49 4.2.7.1 MEMORY MAP ................................................................................................. 49 4.2.7.2 Setup of System Code(SC) ............................................................................ 50 4.2.7.3 Setup of Attribute Information Block ................................................................. 50 4.2.7.4 NDEF FILE ......................................................................................................... 51

4.3 ISO/IEC14443 TypeB Specification ............................................................................... 52 4.3.1 Communication Specification ................................................................................... 52 4.3.2 Frame Format ............................................................................................................ 52 4.3.3 Protocol Control ........................................................................................................ 53 4.3.4 Block Control ............................................................................................................ 54 4.3.5 Upper Command Format ........................................................................................... 55 4.3.6 State Transition Diagram ........................................................................................... 57 4.3.7 Flow Chart ................................................................................................................. 58 4.3.8 Various Settings ........................................................................................................ 59

4.3.8.1 AFI (Application Family Identifier) ................................................................... 59 4.3.8.2 PUPI (Pseudo-Unique PICC Identifier) .............................................................. 59 4.3.8.3 FWI (Frame Waiting Time Integer) .................................................................... 59 4.3.8.4 File System .......................................................................................................... 60 4.3.8.5 Address................................................................................................................ 60 4.3.8.6 Data ..................................................................................................................... 61 4.3.8.7 Status Word ......................................................................................................... 61

4.3.9 Command .................................................................................................................. 63 4.3.9.1 REQB/WUPB ..................................................................................................... 64 4.3.9.2 ATTRIB .............................................................................................................. 66 4.3.9.3 HLTB .................................................................................................................. 68 4.3.9.4 SELECT .............................................................................................................. 69 4.3.9.5 READ .................................................................................................................. 70 4.3.9.6 WRITE ................................................................................................................ 71

Chapter 5 Serial Communication Mode ................................... 73

5.1 Serial Communication Mode Sequence........................................................................... 74 5.2 UART .............................................................................................................................. 75

5.2.1 Communication Specifications .................................................................................. 75 5.2.2 Frame Format ............................................................................................................ 75 5.2.3 Specifying Data Rate ................................................................................................. 76 5.2.4 Specifying Response Wait Time ............................................................................... 76 5.2.5 Status ......................................................................................................................... 76 5.2.6 Command .................................................................................................................. 77

5.2.6.1 READ .................................................................................................................. 78 5.2.6.2 WRITE ................................................................................................................ 79

5.3 Clock Synchronous Serial Communication ..................................................................... 80 5.3.1 Communication Specification ................................................................................... 80 5.3.2 Frame Format ............................................................................................................ 80 5.3.3 Time Chart ................................................................................................................. 81 5.3.4 Status ......................................................................................................................... 81

Page 8: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

8

5.3.5 Command .................................................................................................................. 81

Chapter 6 Tunnel Mode ........................................................... 83

6.1 Tunnel Mode Sequence ................................................................................................... 84 6.2 Communication between Reader/Writer and RFID ........................................................ 85

6.2.1 Using JISX6319-4 ..................................................................................................... 85 6.2.2 Using ISO/IEC14443 ................................................................................................ 85

6.3 Communication between Host and RFID ........................................................................ 86 6.3.1 .Using UART ............................................................................................................. 86

6.3.1.1 Communication Specification ............................................................................. 86 6.3.1.2 IRQ Notification ................................................................................................. 86

6.3.2 Using Clock Synchronous Serial ............................................................................... 88 6.3.2.1 Communication Specification ............................................................................. 88 6.3.2.2 IRQ Notification ................................................................................................. 88 6.3.2.3 Configuring System Area (UARTSP Setting) .................................................... 88

6.3.3 Response to QUERY Command ............................................................................... 89 6.3.4 Timeout ..................................................................................................................... 89

6.3.4.1 Wait Time for QUERY Command ..................................................................... 90 6.3.4.2 Wait Time for ANSWER Command .................................................................. 90

6.4 Command ......................................................................................................................... 92 6.4.1 Read in Tunnel Mode ................................................................................................ 93 6.4.2 Write in Tunnel Mode ............................................................................................... 96

Chapter 7 Annex ...................................................................... 99

7.1 Exclusive Control .......................................................................................................... 100 7.2 State Transition Diagram in Operation Mode ............................................................... 103 7.3 Flow Chart in Tunnel Mode .......................................................................................... 104 7.4 Maximum Command Processing Time (UART) ........................................................... 106

Chapter 8 Electrical characteristics ....................................... 107

Page 9: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 1 Overview

1

Page 10: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 1 Overview

10 Features

1.1 Features The MN63Y1210A is an LSI for RFID (Radio Freqency Identification), which features the following: Built-in 4-Kbit FeRAM non-volatile memory with fast write and low power consumption. RF interface compliant with JISX6319-4 (212 kbps / 424 kbps) and ISO/IEC14443 TypeB (106 kbps / 212

kbps) of the 13.56-MHz contactless IC card standards. Serial interface compatible with both asynchronous UART (up to 38.4 kbps) and clock synchronous (up to 1

Mbps) Batteryless RF communication Three communication modes of RF, serial, and tunnel (Tunnel mode allows communications between

reader/writer and host CPU via this LSI.) Supply voltage range: 1.8 V to 3.6 V or 4.5 V to 5.5 V (when 5V tolerant I/O and clamp function is turned ON) 5-V operation (5V tolerant I/O, VDD2 pin clamp circuit built-in)

Page 11: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 1 Overview

Block Diagram 11

1.2 Block Diagram Figure 1-1 shows a block diagram. This RFID provides RF interface for contactless communication with external reader/writer, serial interface for contact communication with external host, control logic for command processing and various controls, 2-kbit transmit/receive buffer for RF communication, and 4-kbit FeRAM non-volatile memory.

RFI/F

FeRAM(4 kbit)

SerialI/F

R/W(External)

Host(External)

RFID

ControlLogic

RFCom.Buffer(2kbit)

Figure 1-1 Block Diagram

Page 12: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 1 Overview

12 Operation Mode

1.3 Operation Mode This RFID provides three operation modes of RF communication, serial communication, and tunnel. Figure 1-2 gives the overview of each operation mode.

RF communication mode This mode is used for communication between reader/writer and RFID. Reader/writer is the master and RFID is the slave. Key commands are read and write commands to FeRAM of RFID. This mode allows batteryless operations that use only the power supplied from the antenna of reader/writer. For more information about RF communication mode, see Chapter 4 RF Communication Mode.

Serial communication mode This mode is used for communication between host and RFID. Host is the master and RFID is the slave. Key commands are read and write commands to FeRAM of RFID. This mode requires a power supply to the supply voltage pin (VDD2) of RFID. For more information about serial communication mode, see Chapter 5 Serial Communication Mode.

Tunnel mode This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands are read and write commands to host. This mode requires a power supply to the supply voltage pin (VDD2) of RFID. For more information about serial communication mode, see Chapter 6 Tunnel Mode. Additionally, for state transition diagram in each operation mode, see Section 7.2 State Transition Diagram in Operation Mode.

Figure 1-2 Operation Mode

R/W RFID Host

RF communication mode

Master Slave

R/W RFID Host

Serial communication mode

MasterSlave

R/W RFID Host

Tunnel mode

Master Slave

Page 13: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 1 Overview

Operation Mode 13

Page 14: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands
Page 15: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

2

Page 16: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

16 List of Pins

2.1 List of Pins Table 2-1 shows a list of pins of this RFID and Figure 2-1 illustrates the pin assignments of this RFID.

Table 2-1 List of Pins

Pin No. Name I/O 5V tolerant Output type Description 1 NC - - - Not connected 2 VB I/O - - Connected to coil 3 VDD2 - - - Serial interface power supply 4 VDD - - - Internal digital power supply 5 VSS - - - Ground 6 VDD1 - - - Internal analog power supply 7 VA I/O - - Connected to coil 8 NC - - - Not connected 9 TEST Input No - Test control

10 NCLP - No - Clamp control 11 RX Input Yes - Data reception (UART: RX, Clock sync: SCK) 12 TX3V I/O No Open Drain Data reception for 3 V (UART: TX, Clock sync: I/O) 13 TX5V I/O Yes Open Drain Data reception for 5 V (UART: TX, Clock sync: I/O) 14 IRQ3V Output No Open Drain Interrupt request output for 3 V 15 IRQ5V Output Yes Open Drain Interrupt request output for 5 V 16 SEL Input No - Serial interface selection

1

2

3

4

5

6

7

8

16

15

14

13

12

11

10

9

VDD2

NC

VB

VDD

VSS

VDD1

VA

NC

IRQ3V

SEL

IRQ5V

TX5V

TX3V

RX

NCLP

TEST

Figure 2-1 Pin Assignments (SSOP16)

Page 17: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

Pin Descriptions 17

2.2 Pin Descriptions

Coil connection pins (VA, VB) Used for connecting an antenna coil. Also connect a resonance capacitor for adjusting resonance frequency.

Ground (VSS) A reference power supply pin. Connect to the ground of the host CPU.

Internal analog power supply (VDD1) An internal analog power supply pin. Connect a capacitor (see the Product Standards for its value) between VDD1 and VSS pins as close as possible to the RFID. It is unnecessary to apply an external power to this pin.

Internal digital power supply (VDD) An internal digital power supply pin. Leave this pin open. Connect a capacitor (see the Product Standards for its value) between VDD and VSS pins as close as possible to the RFID. It is unnecessary to apply an external power to this pin.

Contact power supply VDD2 A contact power supply pin. Apply a high voltage to this pin when communicating data between the host CPU and RFID. Connect a capacitor (see the Product Standards for its value) between VDD2 and VSS pins as close as possible to the RFID. Additionally, the RFID has a built-in clamp circuit for 5-V operation. When using the circuit, apply a 5-V supply voltage to this pin through a given resistor (see the Product Standards for its value).

Serial interface select pin (SEL) Used for selecting serial interfaces. Set the pin to low for UART, and to high for clock synchronous. This pin is 5-V tolerant I/O.

Data receive pin (RX) [ UART: RX; Clock synchronous: SCK] A data input pin. It is used as RX for UART, and as serial clock input SCK for clock synchronous. This pin is 5-V tolerant I/O.

Data transmission in 3-V operation (TX3V) [UART: TX; Clock synchronous: I/O] A data output pin. It is used as TX for UART, and as data I/O for clock synchronous. This pin is open-drain, so should be pulled up. Additionally, this pin is provided for 3-V operation. When not using, leave it open.

Data transmission in 5-V operation (TX5V) [UART: TX; Clock synchronous: I/O] A data output pin. It is used as TX for UART, and as data I/O for clock synchronous. This pin is open-drain, so should be pulled up. Additionally, this pin is provided for 5-V operation. When not using, leave it open.

Interrupt request in 3-V operation (IRQ3V) An interrupt request output pin. Receiving a command in tunnel mode from external reader/writer generates a low interrupt request signal pulse on this pin. This pin is open-drain, so should be pulled up. Additionally, this pin is provided for 3-V operation. When not using, leave it open.

Interrupt request in 5-V operation (IRQ5V) An interrupt request output pin. Receiving a command in tunnel mode from external reader/writer generates a low interrupt request signal pulse on this pin. This pin is open-drain, so should be pulled up. Additionally, this pin is provided for 5-V operation. When not using, leave it open.

Test control (TEST) Used in the test mode. Set it to low.

Clamp control (NCLP) This pin controls ON/OFF of the clamp circuit connected to the VDD2 pin. Set it to high (OFF) in 3-V

Page 18: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

18 Pin Descriptions

operation. Set it to low (ON) in 5-V operation.

Page 19: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

Connection Example 19

2.3 Connection Example Several connection examples are shown below.

2.3.1 Using UART and 5 V Power

Figure 2-2 gives an connection example of using UART and 5-V power. Set SEL to low in UART operation, and set NCLP to low in 5-V operation. With a series resistor connected (see the Product Standards for its value), apply a 5-V supply voltage to VDD2. This example shows that the host's GPIO controls the RFID's VDD2. In this case, when not using serial communication, turning VDD2 off allows the consumption current of the RFID to be turned off. In addition, it is also possible to supply a voltage to VDD2 directly from the power supply, not from the host's GPIO. Furthermore, when the host can always receive data from the RFID's TX, an interrupt request (IRQ) is reported from the TX as well, so allowing to omit IRQ connection. The TX5V and IRQ5V pins are open-drain output. Pull these pins up to the same voltage level as the power supply of the host.

Figure 2-2 Connection Example of UART and 5 V Power Operation

RFIDVA

VB

VDD1

VDD2

RX

TX

GPIO

IRQ

VSS

Same voltage level as the power supply from the host (5 V)

RX

TX5V

IRQ5V

Host

TEST SEL

VDD TX3V IRQ3V NCLP

5-V power supply (4.5 V to 5.5 V)

Page 20: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

20 Connection Example

2.3.2 Using UART and 3 V Power

Figure 2-3 gives an connection example of using UART and 3-V power. Set SEL to low in UART operation, and set NCLP to high in 3-V operation. This example shows that the host's GPIO controls the RFID's VDD2. In this case, when not using serial communication, turning VDD2 off allows the consumption current of the RFID to be turned off. In addition, it is also possible to supply a voltage to VDD2 directly from the power supply, not from the host's GPIO. Furthermore, when the host can always receive data from the RFID's TX, an interrupt request (IRQ) is reported from the TX as well, so allowing to omit IRQ signal connection. The TX3V and IRQ3V pins are open-drain output. Pull these pins up to the same voltage level as VDD2.

Figure 2-3 Connection Example of UART and 3 V Power Operation

RFIDVA

VB

VDD1

VDD2

RX

TX

GPIO

IRQ

VSS

RX

TX3V

IRQ3V

Host

VDD TX5V IRQ5V NCLP

3-V power supply (1.8 V to 3.6 V)

TEST SEL

Same voltage level as the VDD2 power supply(3 V)

Page 21: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

Connection Example 21

2.3.3 Using Clock Synchronous Mode and 5 V Power

Figure 2-4 gives an connection example of using clock synchronous mode and 5-V power. Set SEL to high in clock synchronous operation, and set NCLP to low in 5-V operation. With a series resistor connected (see the Product Standards for its value), apply a 5-V supply voltage to VDD2. This example shows that the host's GPIO controls the RFID's VDD2. In this case, when not using serial communication, turning VDD2 off allows the consumption current of the RFID to be turned off. In addition, it is also possible to supply a voltage to VDD2 directly from the power supply, not from the host's GPIO. The TX5V (I/O) and IRQ5V pins are open-drain output. Pull these pins up to the same voltage level as the power supply of the host.

Figure 2-4 Connection Example of Clock Synchronous and 5 V Power Operation

RFID

VA

VB

VDD1

VDD2

IO

SCLK

GPIO

IRQ

VSS

Same voltage level as the power supply from the host (5 V)

RX(SCLK)

TX5V(IO)

IRQ5V

Host

TEST SEL

VDD TX3V IRQ3V NCLP

5-V power supply (4.5 V to 5.5 V)

Page 22: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 2 Pin Descriptions

22 Connection Example

2.3.4 Using Clock Synchronous Mode and 3 V Power

Figure 2-5 gives an connection example of using clock synchronous mode and 3-V power. Set SEL to high in clock synchronous operation, and set NCLP to low in 3-V operation. This example shows that the host's GPIO controls the RFID's VDD2. In this case, when not using serial communication, turning VDD2 off allows the consumption current of the RFID to be turned off. In addition, it is also possible to supply a voltage to VDD2 directly from the power supply, not from the host's GPIO. The TX3V (I/O) and IRQ3V pins are open-drain output. Pull these pins up to the same voltage level as VDD2.

Figure 2-5 Connection Example of Clock Synchronous and 3 V Power Operation

IRQ

RFIDVA

VB

VDD2

IO

SCLK

GPIO

RX(SCK)

TX3V(IO)Host

VDD TX5V IRQ5V NCLP

3-V power supply (1.8 V to 3.6 V)

VDD1 VSS

IRQ3V

TEST SEL

Same voltage level as the VDD2 power supply(3 V)

Page 23: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

3

Page 24: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

24 Block Configuration

3.1 Block Configuration Figure 3-1 illustrates the block configuration of 4-Kbit FeRAM. This LSI consists of 32 FeRAM blocks. The size of a block is 16 bytes. The memory consists of two areas: user and system areas. The system area stores RF-communication-related parameters and memory-access-control-related data, etc.

Block Area Type 0 16Bytes FeRAM

User area

1 16Bytes FeRAM 2 16Bytes FeRAM 3 16Bytes FeRAM … … 24 16Bytes FeRAM 25 16Bytes FeRAM 26 16Bytes FeRAM 27 16Bytes FeRAM

System area 28 16Bytes FeRAM 29 16Bytes FeRAM 30 16Bytes FeRAM 31 16Bytes FeRAM

Figure 3-1 4-Kbit FeRAM Block Configuration

Page 25: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

Physical Memory Map 25

3.2 Physical Memory Map Figure 3-2 presents the physical memory map.

Block Address 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF

0 0x0000 User Area

1 0x0010 User Area

2 0x0020 User Area

3 0x0030 User Area

4 0x0040 User Area

5 0x0050 User Area

6 0x0060 User Area

7 0x0070 User Area

8 0x0080 User Area

9 0x0090 User Area

10 0x00A0 User Area

11 0x00B0 User Area

12 0x00C0 User Area

13 0x00D0 User Area

14 0x00E0 User Area

15 0x00F0 User Area

16 0x0100 User Area

17 0x0110 User Area

18 0x0120 User Area

19 0x0130 User Area

20 0x0140 User Area

21 0x0150 User Area

22 0x0160 User Area

23 0x0170 User Area

24 0x0180 User Area

25 0x0190 User Area

26 0x01A0 User Area

27 0x01B0 CONFIG

28 0x01C0 CONFIG

29 0x01D0 CONFIG

30 0x01E0 SC IDM PMM AFI FWI HW

31 0x01F0 RORF ROSI SECURITY TNPRM CONFIG

Figure 3-2 Physical Memory Map

Page 26: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

26 System Area

3.3 System Area This section describes the system area.

3.3.1 Parameter Specifications

Each parameter of the system area is shown below. All addresses and block numbers used in this section correspond to the physical address in Figure 3-2.

RORF (4 bytes) RORF is an area to specify whether read/write or read-only is to be used in accessing the block by memory access commands in RF communication mode. Table 3-1 describes RORF setting, and Table 3-2 shows RORF setting bits and corresponding block numbers. By default, all values are 0. Set all reserved bits to 0.

Table 3-1 RORF Setting

Value Meaning 0 Read/Write 1 Read Only

Table 3-2 RORF Setting Bits and Corresponding Block Numbers

Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x01F0 Block7 Block6 Block5 Block4 Block3 Block2 Block1 Block0 0x01F1 Block15 Block14 Block13 Block12 Block11 Block10 Block9 Block8 0x01F2 Block23 Block22 Block21 Block20 Block19 Block18 Block17 Block16 0x01F3 Reserved Reserved Reserved Reserved Reserved Block26 Block25 Block24

ROSI (4 bytes) ROSI is an area to specify whether read/write or read-only is to be used in accessing the block by memory access commands in serial communication mode. Table 3-3 describes ROSI setting, and Table 3-4 shows ROSI setting bits and corresponding block numbers. By default, all values are 0. Set all reserved bits to 0.

Table 3-3 ROSI Setting

Value Meaning 0 Read/Write 1 Read only

Table 3-4 ROSI Setting Bits and Corresponding Block Numbers

Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x01F4 Block7 Block6 Block5 Block4 Block3 Block2 Block1 Block0 0x01F5 Block15 Block14 Block13 Block12 Block11 Block10 Block9 Block8 0x01F6 Block23 Block22 Block21 Block20 Block19 Block18 Block17 Block16 0x01F7 Reserved Reserved Reserved Reserved Reserved Block26 Block25 Block24

Page 27: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

System Area 27

SECURITY (4 bytes) SECURITY is reserved area for future use. By default, all values are 0. Set all bits to 0.

Table 3-5 SECURITY Setting Bit and Corresponding Block Number

Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x01F8 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved 0x01F9 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved 0x01FA Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved 0x01FB Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved

HW (2 bytes) HW is an area to store various setting data related to the hardware of this RFID. Table 3-6 describes the HW parameter. For the setting of the UART data rate UARTSP, see Table 3-7. For the setting of the RF communication protocol RFTYPE, Table 3-8. For the setting of IDM data selection IDMSEL, see Table 3-9. For the setting of the IRQ output setting IRQSEL, see Table 3-10.

Table 3-6 HW Parameter

Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x01EE UARTSP RFTYPE IDMSEL IRQSEL Reserved 0x01EF UARTWT

Table 3-7 UARTSP Setting for Specifying UART Data Rate

Bit 7 Bit 6 bit 5 Meaning 0 0 0 UART data rate: 1200 bps 0 0 1 UART data rate: 2400 bps 0 1 0 UART data rate: 4800 bps 0 1 1 UART data rate: 9600 bps (default) 1 0 0 UART data rate: 19200 bps 1 0 1 UART data rate: 38400 bps 1 1 0 Reserved (When this field is specified, a default setting is applied.) 1 1 1 Clock synchronous serial

Note: When using a clock synchronous serial interface, set UARTSP (bits 7-5) to 111. For more information, see Section 6.3.2.3 Configuring System Area (UARTSP Setting).

Table 3-8 RFTYPE Setting for Selecting RF Communication Protocol

Bit 4 Bit 3 Meaning

0 0 Use both JISX6319-4 and ISO/IEC14443 TypeB. (Automatic protocol detection) (default)

0 1 Use JISX6319-4 only. (ISO/IEC14443 TypeB interface disabled) 1 0 Use ISO/IEC14443 TypeB only. (JISX6319-4 interface disabled) 1 1 Reserved (When this field is specified, a default setting will be applied.

Table 3-9 IDMSEL Setting for Selecting IDM Data

Page 28: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

28 System Area

Bit 2 Meaning

0 Use the fixed values (All-0) as JISX6319-4 PICC identifier or ISO/IEC14443 TypeB PICC. Values written in the system area are not used. (default)

1 Use the values written in the system area as JISX6319-4 PICC identifier or ISO/IEC14443 TypeB PICC.

Table 3-10 IRQSEL Setting for Specifying IRQ Output

Bit 1 Meaning 0 Does not output IRQ notification code to TX when UART serial interface is used. (default) 1 Output IRQ notification code to TX when UART serial interface is used.

UARTWT specifies the minimum wait time until the RFID sends a response after it receives a command from the host while UART is used. UARTWT is determined using the following formula. Minimum wait time = T × UARTWT

T: Typ. 128 μs (±25%) UARTWT: 0 to 255: (default: 100; Typ. approximately 12.8 ms)

Note: T includes an error of ±25%. set the UARTWT value in consideration of the error.

Note: The minimum wait time might exceed the value specified in this setting, depending on the setting value of UARTWT and command processing.

TNPRM (2 bytes) TNPRM is an area to store various setting data related to timeout. For more information about this parameter, see Section 6.3.4 Timeout. Table 3-11 describes the TNPRM parameter.

Table 3-11 TNPRM Parameter

Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x01FC QWT QRTRY Reserved Reserved 0x01FD AWT Reserved

Page 29: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

System Area 29

QWT QWT specifies the maximum wait time until the RFID receives a QUERY command from the host after it sends an IRQ to the host during tunnel mode operation. QWT is determined using the following formula. Maximum wait time for QUERY command = T × 2QWT

T: Typ. 1024 μs (±25%) QWT: 0 to 8 (default: 4; typ. approximately 16 ms) When this field is set to a value other than 0 to 8, a default value will be applied. QRTRY QRTRY specifies the maximum number of retrys to re-send IRQ when a timeout occurs for the maximum wait time for QUERY command while in tunnel mode operation. It ranges from 0 to 3, and its defaut value is 1. When QRTRY is set to 0, the RFID responds with an error without re-sending IRQ. AWT AWT specifies the maximum wait time until the RFID receives an ANSWER command from the host after it sends a response to the QUERY command to the host during tunnel mode operation. AWT is determined using the following formula. Maximum wait time for ANSWER command = T × 2AWT

T: typ. 1024 μs (±25%) AWT: 0 to 12 (default: 7; typ. approximately 131 ms ) When this field is set to a value other than 0 to 12, a default value will be applied.

Note: T includes an error of ±25%. set the QWT and AWT values in consideration of the error.

SC (2 bytes) SC is used as the JISX6319-4 system code (2 bytes). For more information about system code, see 4.2.5.1 System Code.

Table 3-12 SC Parameter

Address 0x01E0 0x01E1 JISX6319-4

system code (2 bytes) D0 D1

Default 0xAA 0xFF

IDM (8 bytes) IDM is used as JISX6319-4 PICC (Proximity IC Card) identifier (8 bytes). The PUPI (Pseudo-Unique PICC Identifier) (4 bytes) of ISO/IEC14443 TypeB is shared with the lower 4 bytes of the JISX6319-4 PICC identifier. For information about JISX6319-4 PICC identifier, see Section 4.2.5.2 PICC (Proximity IC Card) Identifier, and for information about ISO/IEC14443 TypeB PUPI, see Section 4.3.8.2 PUPI.

Page 30: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

30 System Area

Table 3-13 IDM Parameter

Address 0x01E2 0x01E3 0x01E4 0x01E5 0x01E6 0x1E7 0x1E8 0x01E9 JISX6319-4

PICC identifier (8 bytes) D0 D1 D2 D3 D4 D5 D6 D7

Default 0x02 0xFE 0x00 0x00 0x00 0x00 0x00 0x00 ISO/IEC14443TypeB

PUPI (4 bytes) Reserved D0 D1 D2 D3

Default - - - - 0x00 0x00 0x00 0x00

Note: In order to validate the value written in the system area IDM, the HW parameter's IDMSEL must be set to 1. See Table 3-9.

PMM (2 bytes) Of the JISX6319-4 response time descriptor (8 bytes), PMM is an area (2 bytes) to specify maximum wait time for the response to READ/WRITE commands. See Section 4.2.5.3 Response Time Descriptor.

Table 3-14 PMM Parameter

Address 0x01EA 0x01EB JISX6319-4

Response time descriptor (2 bytes) D5 D6

Default 0xFF 0xFF

AFI (1 byte) AFI is an area to specify AFI (Application Family Identifier) of ISO/IEC14443 TypeB. See Section 4.3.8.1 AFI.

Table 3-15 AFI Parameter

Address 0x01EC ISO/IEC14443 TypeB

AFI (1 byte) D0

Default 0x00

FWI (1 byte) FWI is an area to specify FWI (Frame Wating time Integer) of ISO/IEC14443 TypeB. See Section 4.3.8.3 FWI.

Table 3-16 FWI Parameter

Address 0x01ED ISO/IEC14443 TypeB

FWI (1 byte) D0

Default 0xE0

CONFIG See the Administrator's Manual.

Page 31: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

System Area 31

3.3.2 Enabling System Area

In order to enable parameters in the system area, CFEN (see the Administrator's Manual) of the system area must be set to a valid value. If CFEN is not set to a valid value, a default value defined by each parameter will be applied. Table 3-17 lists the setting application timings after rewriting parameters in the system area while CFEN is enabled. New parameter setting is applied to RORF, ROSI, and SECURITY immediately after rewriting, and applied to other parameters after turning power supply ON from OFF.

Table 3-17 Parameter Application Timing

A timing at which new parameter setting

is applied after rewriting parameters when CFEN is enabled.

RORF Apply immediately after rewrites. ROSI Apply immediately after rewrites.

SECURITY Apply immediately after rewrites.

HW Apply after turning power ON from OFF following rewrites.

TNPRM Apply after turning power ON from OFF following rewrites.

SC Apply after turning power ON from OFF following rewrites.

IDM Apply after turning power ON from OFF following rewrites.

PMM Apply after turning power ON from OFF following rewrites.

AFI Apply after turning power ON from OFF following rewrites.

FWI Apply after turning power ON from OFF following rewrites.

CONFIG See the Administrator's Manual.

Note: Power OFF means power supplies from both VDD2 and RF interface are OFF.

Page 32: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 3 Memory Map

32 Address Correspondence

3.4 Address Correspondence Figure 3-3 presents the physical address and the corresponding address of each communication mode.

Physical address Serial communication mode

RF communication mode JISX6319-4 ISO/IEC14443

Block0

0x0000 0x0000

Block No. 0

D0 0x0000 0x0001 0x0001 D1 0x0001 0x0002 0x0002 D2 0x0002 0x0003 0x0003 D3 0x0003 0x0004 0x0004 D4 0x0004 0x0005 0x0005 D5 0x0005 0x0006 0x0006 D6 0x0006 0x0007 0x0007 D7 0x0007 0x0008 0x0008 D8 0x0008 0x0009 0x0009 D9 0x0009 0x000A 0x000A Da 0x000A 0x000B 0x000B Db 0x000B 0x000C 0x000C Dc 0x000C 0x000D 0x000D Dd 0x000D 0x000E 0x000E De 0x000E 0x000F 0x000F Df 0x000F

Block1

0x0010 0x0010

Block No. 1

D0 0x0010 0x0011 0x0011 D1 0x0011

… … … … 0x001E 0x001E De 0x001E 0x001F 0x001F Df 0x001F

Block31

0x01F0 0x01F0

Block No. 31

D0 0x01F0 0x01F1 0x01F1 D1 0x01F1

… … … … 0x01FE 0x01FE De 0x01FE 0x01FF 0x01FF Df 0x01FF

Figure 3-3 Address Correspondence

Page 33: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

4

Page 34: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

34 RF Communication Mode Sequence

4.1 RF Communication Mode Sequence Figure 4-1 illustrates the sequence in RF communication mode. Each sequence is described below. SNo.1: A reader/writer sends an RF communication mode command to the RFID. SNo.2: Once the RFID receives the RF communication mode command described in SNo.1, it processes the

command and then sends the result to the reader/writer as the response to the command.

Figure 4-1 RF Communication Mode Sequence

R/W HostRFID

RF communication mode commandSNo.1

Response to RF communication mode commandSNo.2

Page 35: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 35

4.2 JISX6319-4 Specification This section describes the JISX6319-4 specification of this RFID.

4.2.1 Communication Specifications

Table 4-1 shows the JISX6319-4 specification of this RFID. Table 4-1 JISX6319-4 Communication Specification

Carrier frequency 13.56 MHz

Modulation mode, Bit encoding

R/W→RFID ASK10%, Manchester encoding RFID→R/W Load modulation, Manchester encoding

Data rate 212 kbps / 424 kbps

Character transmission

MSB-first Data (8 bits) No start bit No parity bit No stop bit No spare time between characters

4.2.2 Frame Format

Figure 4-2 illustrates the JISX6319-4 frame format and Table 4-2 defines the fields.

Figure 4-2 JISX6319-4 Frame Format

Table 4-2 JISX6319-4 Field Definition

Field name Byte length Definition Preamble 6 0x000000000000 Synchronous code 2 0xB24D LEN 1 n (data field length) + 1 Data field n Command message or Response message

Error-detecting code 2 Initial value: 0000, Generating polynomial: CRC of X16+X12+X5+1

0 to 254 bytes

Data field

2 bytes

Synchronous code

2 bytes (CRC)1 byte6 bytes

Error-detecting code

End field

LEN

Information field

Preamble

Start field

0 to 254 bytes

Data field

2 bytes

Synchronous code

2 bytes (CRC)1 byte6 bytes

Error-detecting code

End field

LEN

Information field

Preamble

Start field

Data length

Error-detecting signal

(LEN+10) bytes

Page 36: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

36 JISX6319-4 Specification

4.2.3 State Transition Diagram

Figure 4-3 shows the state transition diagram for the JIX6319-4 PICC of this RFID.

Figure 4-3 State Transition Diagram of JISX6319-4 PICC

4.2.4 Flow Chart

Figure 4-4 gives the flow chart for JIX6319-4 command processing of this RFID.

Figure 4-4 JISX6319-4 Flow Chart of Command Processing

POWER OFF

MODE0

Magnetic field ON/ No response

REQ/ ResponseREAD/ ResponseWRITE/ Response

Unimplemented command/ No responseCRC error/ No response

Service count error/ Response with an errorService file specification error/ Response with an errorBlock count error/ Response with an errorBlock specification error/ Response with an errorSelf-diagnosis error/ Response with an error

Magnetic field OFF

Magnet field ON

Mode 0

REQ

Send a response to request.

Yes

No

READWRITE

PICC identifier identified?

Send a response.

YesNo

Any of the following conditions identified?・System code is 0xFFFF.・System code is 0xAAFF and

upper 1 byte (0xAA) are matched.・System code of 2 bytes are matched.

Other

Page 37: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 37

4.2.5 Various Settings

This section describes the parameter settings and operation specifications based on JISX6319-4 for this RFID.

4.2.5.1 System Code

System code is a parameter specified by the REQ command that is used to identify the RFID. Figure 4-5 shows the system code. The system code is set by the value of the system area SC for FeRAM. The response operation to the REQ command by system code is shown in Table 4-3.

Figure 4-5 System Code

Table 4-3 Response to REQ Command by System Code

REQ command System code setting value RFID's response to REQ command

0xFFFF Responds regardless of the system area SC setting 0xAAFF When the value of the upper 1 byte of the SC system area

is 0xAA, the RFID responds regardless of the value of the lower 1 byte.

Other Responds only when the setting value of the REQ command's system code matches the value specified in the system area SC (and does not respond in other cases).

4.2.5.2 PICC (Proximity IC Card) Identifier

The PICC (Proximity IC Card) identifier is a data used to identify RFID, and is included in the response to the REQ command. Figure 4-6 illustrates the PICC identifier's format. The PICC identifier (8 bytes) is set in the system area IDM.

Figure 4-6 PICC Identifier Format

4.2.5.3 Response Time Descriptor

The response time descriptor is used to specify the maximum wait time until the RFID sends a response after reader/writer sends a command, and is included in the response to the REQ command. Figure 4-7 illustrates

SC

D1D0

SC

D1D0

System code

IDM

D7D6D5D4D3D2D1D0

IDM

D7D6D5D4D3D2D1D0

PICC identifier

Page 38: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

38 JISX6319-4 Specification

the response time descriptor's format. In hardware, D0, D1, and D7 bytes are set to FFh and D2 to D4 bytes are set to 00h. The response time calculation parameters D5 and D6 bytes are the values of the system area. Table 4-4 shows the response time calculation parameter and corresponding command.

Figure 4-7 Response Time Descriptor Format

Table 4-4 Response Time Calculation Parameter and Corresponding Command

Pesponse time calculation parameter Command D5 READ D6 WRITE

Figure 4-8 shows the response time calculation parameter's format.

Figure 4-8 Response Time Calculation Parameter Format The response time is calculated by the following formula: Response time = T × [ (B + 1) × n + (A + 1) ] × 4E

T: 256 × 16/fc (approx. 0.302 ms) n: No. of blocks or No. of files of command parameter.

4.2.5.4 Anticollision

JISX6319-4 uses the time slot method for anti-collision (prevention of collision). This RFID always responds according to the first slot.

4.2.5.5 Service

This RFID does not implement the concept of service based on JISX6319-4. However, it is possible to specify multiple services using a command service list. Table 4-5 shows the available maximum number of services. When specifying multiple services in the service list, the values of service list must be set to the same value.

Response time descriptor

Response time calculation parameter

0xFFPMM0x000x000x000xFF0xFF

D7D6D5D4D3D2D1D0

0xFFPMM0x000x000x000xFF0xFF

D7D6D5D4D3D2D1D0

Real number AReal umber BExponent E

Bit 0Bit 1Bit 2Bit 3Bit 4Bit 5Bit 6Bit 7

Real number AReal umber BExponent E

Bit 0Bit 1Bit 2Bit 3Bit 4Bit 5Bit 6Bit 7

msb lsb

Page 39: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 39

Table 4-5 Maximum Number of Services

Command Maximum No. of services READ 15 WRITE 11

Note: The RFID responds with an error when multiple services are not set to the same service file value.

4.2.5.6 Block

JISX6319-4 uses data of 16-byte blocks. Block number is used to specify each block. Figure 4-9 shows the block element of 2 bytes and Figure 4-10 shows the block element of 3 bytes. All of bits 6 to 4 of byte D0 for access mode setting should be set to 0 in this RFID; otherwise the RFID responds with an error.

Figure 4-9 Block Element of 2 Bytes

Figure 4-10 Block Element of 3 Bytes This RFID uses a block number to specify tunnel mode and encrypted communication. Table 4-6 shows the mode settings for tunnel mode and encrypted communication. Bits 2 to 0 of byte D2 in 3-byte block element format are used. All of bits 7 to 3 of byte D2 should be set to 0; otherwise the RFID responds with an error.

1

-

Bit7

Block number designationDon’t care000This RFID’ssetting value

Block numberOrder of service codeAccess modeDefinition

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit1

Bit2

Bit3

Bit4

Bit5

Bit6

1

-

Bit7

Block number designationDon’t care000This RFID’ssetting value

Block numberOrder of service codeAccess modeDefinition

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit1

Bit2

Bit3

Bit4

Bit5

Bit6

msb lsb msb lsb

D0 D1

0

-

Bit7

Mode setting00000Block number designationDon’t care000This RFID’ssetting value

Block numberOrder of service code Access modeDefinition

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit1

Bit2

Bit3

Bit4

Bit5

Bit6

0

-

Bit7

Mode setting00000Block number designationDon’t care000This RFID’ssetting value

Block numberOrder of service code Access modeDefinition

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit1

Bit2

Bit3

Bit4

Bit5

Bit6

msb lsb msb lsb msb lsb

D0 D1 D2

Page 40: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

40 JISX6319-4 Specification

Table 4-6 Mode Settings

Block element format Byte D2 of block No. Meaning

Bit 2 Bit 1 Bit 0 Communication mode 2 bytes - - -

RF communication mode

3 bytes

0 0 0 0 1 0

Reserved (Setting this field causes an error.) 0 1 1 0 0 1 1 0 0 Tunnel mode 1 1 0

Reserved (Setting this field causes an error.) 1 1 1 1 0 1

Table 4-7 shows the available maximum number of blocks. For READ command, the number is 13 in RF communication mode. The maximum number of blocks for WRITE command depends on the number of services.

Table 4-7 Maximum Number of Blocks

Command Communication mode No. of services Maximum No. of blocks

READ RF communication mode 1 to 15 13

Tunnel mode 1 to 15 15

WRITE RF communication mode, Tunnel mode

1 to 8 12 9 to 11 11

4.2.5.7 Block List

For tunnel mode, how to specify block list is slightly different from the JISX6319-4 specification. Figure 4-11 shows the block list referenced from this RFID. (1) RF communication mode: The block number of block list can be set freely. The RFID references to all block numbers. (2) Tunnel mode: The block number of block list should be set in ascending order. The RFID checks that the block number is set in ascending order and if not, it responds with an error.

Note: When specifying muitiple blocks, communication mode (RF communication mode/ tunnel mode) for all blocks should be configured to the same setting; if not, the RFID responds with an error.

Note: When setting block numbers in ascending order, set to 0x00 following the block number 0xFF (and set to 0x01 following 0x00). Mode setting (bits 2 to 0 of byte D2) for all blocks should be set to the same value.

Page 41: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 41

Figure 4-11 Block List Referenced from this RFID Figure 4-12 shows the block data structure. All block data are treated as actual data.

Figure 4-12 Block Data Structure

(1)RFcommunicationmode

Block number can be set freely.

(2)Tunnel mode

Set the block numbers in ascending order from the first block.Set the first block.

Block element m(Block No. f)

Block element (m-1)(Block No. e)... Block element (m-2)

(Block No. d)Block element 3

(Block No. c)Block element 2

(Block No. b)Block element 1

(Block No. a)m

Block listNo. of blocks

Block element m(Block No. f)

Block element (m-1)(Block No. e)... Block element (m-2)

(Block No. d)Block element 3

(Block No. c)Block element 2

(Block No. b)Block element 1

(Block No. a)m

Block listNo. of blocks

Block element m(Block No. a+m-1)

Block element (m-1)(Block No. a+m-2)... Block element (m-2)

(Block No. a+m-3)Block element 3(Block No. a+2)

Block element 2(Block No. a+1)

Block element 1(Block No. a)m

Block listNo. of blocks

Block element m(Block No. a+m-1)

Block element (m-1)(Block No. a+m-2)... Block element (m-2)

(Block No. a+m-3)Block element 3(Block No. a+2)

Block element 2(Block No. a+1)

Block element 1(Block No. a)m

Block listNo. of blocks

Data m... Data (m-1)Data 3Data 2Data 1

Block data

Data m... Data (m-1)Data 3Data 2Data 1

Block data

Actual data

Size specified by the number of blocks

Page 42: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

42 JISX6319-4 Specification

4.2.5.8 Status Flag

Table 4-8 lists the meanings of status flags. Table 4-8 Status Flag

Status flag 1 Status flag 2 Meaning Description 0x00 0x00 Normal end Terminated normally. 0xFF 0x50 Tunnel mode error No response from the host 0xFF 0x51 Tunnel mode error The host responded with an error.

0xFF 0xA1 Service count specification error

The number of service files was out of the specification.

0xFF 0xA2 Block count specification error (*)

The number of blocks was out of the specification.

0xFF 0xA3 Service count specification error

Some settings for multiple service were different from the specification.

0xFF 0xA5 Block specification error

Illegal access mode setting (except All-0) Illegal mode setting (RFU setting) Block number was specified outside FeRAM. Ascending order was not used to specify

block numbers in tunnel mode.

0xFF 0x60 Self-diagnosis error (*)

Write access to FeRAM-Read-Only area (RORF setting)

(*) For more information about these errors, see the Administrator's Manual.

Page 43: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 43

4.2.6 Command

Table 4-9 lists the JISX6319-4 commands supported by this RFID. Subsequent sections describe each command in detail.

Table 4-9 JISX6319-4 Command List

Name Code Description

REQ 0x00 Reader/writer identifies RFID with this command.

READ 0x06 Reads data of RFID from reader/writer or, in tunnel mode, reads data of the host from reader/writer.

WRITE 0x08 Writes data to RFID from reader/writer or, in tunnel mode, writes data to the host from reader/writer.

Page 44: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

44 JISX6319-4 Specification

4.2.6.1 REQ

Purpose Reader/writer identifies RFID with this command. Command message Format

Command code System code Request code Timeslot 1 byte 2 bytes 1 byte 1 byte

Data field

Field Setting Remarks Command code 0x00 System code 0xFFFF: Identifies all RFIDs.

0xAAFF: Identifies RFID compliant with JIXS6319-4, regardless of category. Other: The RFID corresponding to the

specified system code responds.

Request code 0x00: No request 0x01: Additional system code request 0x02: Additional transmission protocol

capability request

When values other than the values on the left column are set, the RFID treats this field as 0x00 (no request)

Timeslot 0x00: One slot This RFID always treats this field as 0x00.

Response message Format

Response code PICC identifier Response time descriptor

Request data

1 byte 8 bytes 8 bytes 0 or 2 bytes Data field

Field Output value Remarks Response code 0x01 PICC identifier See 4.2.5.2 PICC (Proximity IC Card) Identifier. Response time descriptor

See 4.2.5.3 Response Time Descriptor.

Request data Request code 0x00: Request data 0 bytes (No additional data) Request code 0x01: Adds system code. Request code 0x02: 0x0083 (212 kbps, 424

kbps, automatic data rate detection supported)

Page 45: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 45

4.2.6.2 READ

Purpose Reads data of RFID from reader/writer or, in tunnel mode, reads data of the host from reader/writer. Command message Format

Command code PICC identifier

No. of service file identifiers (k)

List of service file identifiers

No. of blocks (m) Block list

1 byte 8 bytes 1 byte 2×k bytes 1 byte 2×m or 3×m bytes

Data field

Field Setting Remarks Command code 0x06 PICC identifier PICC identifier acquired by REQ command

described in Section 4.2.6.1 REQ.

No. of service file identifiers (k)

Number of service files Setting range: 0x01(1) to 0x0F(15)

When the range other than the range on the left column is set, the RFID responds with an error.

List of service file identifiers

Don't care (Setting example: 0x0900) When specifying multiple services, the RFID responds with an error if all service files are not set to the same value.

No. of blocks (m) Number of blocks specified in block list Setting range: RF communication mode: 0x01(1) to 0x0D(13) Other: 0x01(1) to 0x0F(15)

When the range other than the range on the left column is set, the RFID responds with an error.

Block list Block list of data to be read For information about how to set, see the following: 4.2.5.6 Block. 4.2.5.7 Block List.

Response message Format

Response code PICC identifier Status flag 1 Status flag 2 No. of blocks (m) Block data

1 byte 8 bytes 1 byte 1 byte 1 byte 16×m byte Data field

Field Output value Remarks Response code 0x07 PICC identifier See 4.2.5.2 PICC (Proximity IC Card) Identifier. Status flag 1 See 4.2.5.8 Status Flag.

Page 46: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

46 JISX6319-4 Specification

Status flag 2 See 4.2.5.8 Status Flag. No. of blocks (m) Number of blocks specified by the command Omitted when the status is not

"Normal end" Block data See 4.2.5.7 Block List. Omitted when the status is not

"Normal end"

Page 47: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 47

4.2.6.3 WRITE

Purpose Writes data to RFID from reader/writer or, in tunnel mode, writes data to the host from reader/writer. Command message Format

command code

PICC identifier

No. of service file identifiers (k)

List of service file identifiers

No. of blocks (m) Block list Block data

1 byte 8 bytes 1 byte 2×k bytes 1 byte 2×m or 3×m bytes 16×m bytes

Data field

Field Setting Remarks Command code 0x08 PICC identifier PICC identifier acquired by REQ command

described in Section 4.2.6.1

No. of service file identifiers (k)

Number of service files Setting range: 0x01(1) to 0x0B(11)

When the range other than the range on the left column is set, the RFID responds with an error.

List of service file identifiers

Don't care (Setting example: 0x0900) When specifying multiple services, the RFID responds with an error if all service files are not set to the same value.

No. of blocks (m) Number of blocks specified in block list Setting range: No. of service files is 1 to 8: 0x01(1) to

0x0C(12) No. of service files is 9 to 11: 0x01(1) to

0x0B(11)

When the range other than the range on the left column is set, the RFID responds with an error.

Block list Block list of data to be written For information about how to set, see the following: 4.2.5.6 Block. 4.2.5.7 Block List.

Block data See 4.2.5.7 Block List. Response message Format

Response code PICC identifier Status flag 1 Status flag 2 1 byte 8 bytes 1 byte 1 byte

Data field

Field Output value Remarks Response code 0x09 PICC identifier See 4.2.5.2 PICC (Proximity IC Card) Identifier.

Page 48: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

48 JISX6319-4 Specification

Status flag 1 See 4.2.5.8 Status Flag. Status flag 2 See 4.2.5.8 Status Flag.

Page 49: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 49

4.2.7 NDEF

This RFID is based on Type3 Tag of NFC Forum and supports data exchange of a NDEF format. Data exchange of NDEF can be performed by performing a predetermined setup to the user area of FeRAM. Please refer to the applicable written standards of NFC Forum for the details of NDEF.

4.2.7.1 MEMORY MAP

The memory map at the time of NDEF use is shown in Fig. 4-13 Attribute Information Block is arranged to Block0. NDEF file is arranged from Block1 to Block26.

Block Address 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF

0 0x0000 Attribute Information Block

1 0x0010

2 0x0020

3 0x0030

4 0x0040

5 0x0050

6 0x0060

7 0x0070

8 0x0080

9 0x0090

10 0x00A0

11 0x00B0

12 0x00C0

13 0x00D0

14 0x00E0

15 0x00F0

16 0x0100

17 0x0110

18 0x0120

19 0x0130

20 0x0140

21 0x0150

22 0x0160

23 0x0170

24 0x0180

25 0x0190

26 0x01A0

27 0x01B0

28 0x01C0

29 0x01D0 System Area

30 0x01E0

31 0x01F0

SC

    NDEF data area (message area)

Fig 4-13 The memory map at the time of NDEF use.(NFC Forum Type3 Tag)

Page 50: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

50 JISX6319-4 Specification

4.2.7.2 Setup of System Code(SC)

In order to use NDEF of Type3 Tag, it is necessary to set value "0x12FC."on a system code (SC).

4.2.7.3 Setup of Attribute Information Block

Attribute Information Block(AIB) is arranged to Block0. Explanation and the example of a setting of Attribute Information Block (AIB) are shown in Table 4-10.

Table 4-10 The example of a setting of Attribute Information Block (AIB)

Physical address

Size Value Contents Supplement

0x0000 1Byte 0x10 Mapping Version Please set up according to the NDEF standard version to apply.

0x0001 1Byte 0x0D Nbr (The number of the maximum block of one read command)

Please set up 0x0F in this RFID.

0x0002 1Byte 0x0B Nbw (The number of the maximum block of one write command)

Please set up 0x0B in this RFID.

0x0003

~0x0004

2Byte 0x001A Nmaxb (The number of maximum block of NDEF data which can handle this RFID)

0x0005

~0x0008

4Byte 0x00000000 Intact area Please set 4 bytes of 0x00 to all.

0x0009 1Byte 0x00 WriteF

0x00:Write-in completion

0x0F:Under a write-in advance

Please set “0x0F” before the writing of a NDEF message, and Please set “0x00” after all the writing of a NDEF message completed

0x000A 1Byte 0x01 RW-Flag

0x00:AIB is read-only.

0x01:Read and write are possible for AIB.

0x000B

~0x000D

3Byte 0x000003 Ln (NDEF message length) 0x000003 = 3Byte

(he value to a setting example of a setting of Talbe 4-11)

0x000E

~0x000F

2Byte 0x0046 CheckSum The sum of data level to address 0x0000 - 0x000D

Page 51: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

JISX6319-4 Specification 51

4.2.7.4 NDEF FILE

An empty NDEF file is shown in Table 4-11 as an example of a setting of a NDEF file.

Table 4-11 The example of a setting of a NDEF file (An empty NDEF file)

Physical address

Size Value Contents Supplement

0x0010

~0x0012

3Byte 0xD00000 NDEF Message A mentioned value is a value which shows an empty message.

Page 52: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

52 ISO/IEC14443 TypeB Specification

4.3 ISO/IEC14443 TypeB Specification This section descrives the ISO/IEC14443 TypeB specification.

4.3.1 Communication Specification

Table 4-12 provides the communication specifications of this RFID based on ISO/IEC14443 TypeB. Table 4-12 ISO/IEC14443 TypeB Communication Specification

Carrier frequency 13.56 MHz

Moduration mode, Bit coding

R/W→RFID ASK10%, NRZ coding RFID→R/W Load modulation, BPSK coding (848 kHz subcarrier)

Data rate 106 kbps / 212 kbps

Character transmission

LSB-first Data (8 bits) Start bit (1 bit) Stop bit (1 bit)

4.3.2 Frame Format

Figure 4-14 illustrates the ISO/IEC14443 TypeB frame format. SOF(Start Of Frame) and EOF(End Of Frame) are added to a data field. The maximum size of data field is 256 bytes in this RFID.

Figure 4-14 ISO/IEC14443 TypeB Frame Format

Additionally, the ISO/IEC14443-4 block format shown in Figure 4-15 is applied to the data field shown in Figure 4-14. This RFID does not support CID and NAD of the first field, so adding them is prohibited.

Figure 4-15 ISO/IEC14443-4 Block Format

EOFData field (maximum 256 bytes)SOF EOFData field (maximum 256 bytes)SOF

1 byte

[CID]*

1 byte

[NAD]*

2 bytes (CRC) 0 to 253 bytes (when CID and NAD are omitted)

1 byte

ECD

Last field

INF

Information field

PCB

First field

Error-detecting signal

Frame size

・CID and NAD: Not supported by this RFID (Adding CID and NAD is prohibited.)

Page 53: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 53

Table 4-13 ISO/IEC14443-4 Field Definition

Field name Byte length Definition PCB 1 Protocol Control Byte. See 4.3.3 Protocol Control.

CID 1 Card Identifier (optional) Used to identify RFID. (Not supported by this RFID; not added.)

NAD 1 Node Address (optional). Used to establish a logical channel. (Not supported by this RFID; not added.)

INF n Command message or response message ECD 2 See CRC_B ISO/IEC14443-3.

4.3.3 Protocol Control

PCB (Protocol Control Byte) shown in Figure 4-15 and Table 4-13 is provided for ISO/IEC1443-4 protocol control, and used to send information necessary for data transmission control. This protocol has 3 block types. Table 4-14 lists the definition of block type. This RFID's protocol control specification is given in Table 4-15. Figure 4-16, Figure 4-17, and Figure 4-18 illustrate I-block, R-block, and S-block codings, respectively.

Table 4-14 Block Type

Block name Definition I-block Used to send the information of application layer.

R-block Used to send ACK (Acknowledge) or NAK (NegativeAcknowlege). R-block does not include INF field. An R-block corresponding to the last reception block will be sent.

S-block Used to send a control information. The following 2 types are provided: 1. Wait time extension request (WTX) 2. DESELECT command

Table 4-15 Protocol Control Specification

Item Desctiption By this RFID CID (Card IDentifier)

First field parameter of ISO/IEC14443-4 frame (optional). Used to identify RFID. Not supported

NAD (Node Address)

First field parameter of ISO/IEC14443-4 frame (optional). Used to establish a logical channel. Not supported

Chaining Used to transmit/receive divided data Supported (however, the size of divisible frame size is 64 bytes or more.)

ACK/NCK response

Used to send ACK (Acknowledge) or NAK (NegativeAcknowlege). Supported

WTX Used to extend the wait time for response from RFID Not supported

DESELECT command Used to deselect the RFID. Supported

Page 54: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

54 ISO/IEC14443 TypeB Specification

Figure 4-16 I-block Coding

Figure 4-17 R-block Coding

Figure 4-18 S-block Coding

4.3.4 Block Control

The block number rule for ISO/IEC1443-4 I-block is given in Table 4-16. The block control rule and whether to be supported by this RFID are shown in Table 4-17.

Table 4-16 Block Number Rule

Applied to No. Rule

Reader/ Writer

RuleA Set the initial value of reader/writer block number to 0 whenever activating RFID.

RuleB When I-block or R(ACK) block whose block number is equal to the current one is received, toggle the current block number before sending the block number to RFID.

RFID

RuleC Set the initial value of RFID block number to 1 whenever activating RFID.

RuleD When I-block is received, toggle the current block number before sending the block.

RuleE When R(ACK) block whose block number is not equal to the current one is received, RFID toggles the current block number before sending the block. When R(NAK) is received, do not toggle the block number.

b8 b7 b6 b5 b4 b3 b2 b10 0 0 0 0 1

b8 b7 b6 b5 b4 b3 b2 b10 0 0 0 0 1

Block numberSet to 1. (0: No response)NAD enable/disable. Set to 0 (NAD disable). (1: No response)CID enable/disable. Set to 0 (CID disable). (1: No response)Setting to 1 enables chaining.Set to 0. (1: No response)I-block

b8 b7 b6 b5 b4 b3 b2 b11 0 1 0 0 1

b8 b7 b6 b5 b4 b3 b2 b11 0 1 0 0 1

Block numberSet to 1. (0: No response)Set to 0. (1: No response)CID enable/disable. Set to 0 (CID disable).0: ACK; 1: NACKSet to 1. (0: No response)R-Block

b8 b7 b6 b5 b4 b3 b2 b11 1 0 0 1 0

b8 b7 b6 b5 b4 b3 b2 b11 1 0 0 1 0

Set to 0. (1: No response)Set to 1. (0: No response)Set to 0. (1: No response)CID enable/disable. Set to 0 (CID disable).(00)b, DESELECT(No response, except (00)b)S-Block

Page 55: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 55

Table 4-17 Block Control Rule

Applied to No. Rule By this RFID

Reader/ Writer and

RFID

Rule1 Send the first block from reader/writer. Supported

Rule2 When I-block indicating chaining is received, send an affirmative response to the block, with R(ACK) block. Supported

Rule3 S-block is used only for pair. Send a response to S(...)block whenever S(...)block is requested.

Only DESELECT supported

Reader/ Writer

Rule4 When an illegal block is received or FWT timeout occurs, send R(NAK) block (except while RFID is in chaining or when S(DESELECT) is executed).

-

Rule5 When an illegal block is received or FWT timeout occurs while RFID is in chaining, send R(ACK) block. -

Rule6 When R(ACK) block is received and its block number is not equal to the block number of reader/writer, re-send the last I-block. -

Rule7 When R(ACK) block is received and its block number is equal to the block number of reader/writer, continue chaining. -

Rule8 When a response to S(DESELECT) is not sent with no error, re-send S(DESELECT) or ignore the RFID. -

RFID

Rule9 RFID can send S(WTX) block, instead of I-block or R(ACK) block. Not supported

Rule10 When I-block not indicating chaining is not received, send an affirmative response. Supported

Rule11 When R(ACK) or R(NAK) block is received and its block number is equal to the block number of RFID, re-send the last I-block. Supported

Rule12 When R(NAK) block is received and its block number is not equal to the block number of RFID, send R(ACK). Supported

Rule13 When R(ACK) block is received and its block number is not equal to the block number of RFID and RFID is in chaining, continue chaining.

Supported

4.3.5 Upper Command Format

The upper commands (SELECT, READ, WRITE) are compliant with the APDU (Application Protocol Data Unit) format of ISO/IEC7816-4. Figure 4-19 shows the command APDU format. Table 4-18 shows the command APDU field definition. Figure 4-20 gives the response APDU format. Table 4-19 gives the response APDU field definition. The command APDU format shown in Figure 4-19 and the response APDU format shown in Figure 4-20 are configured in the information field INF of the ISO/IEC14443-4 block format shown in Figure 4-15.

Figure 4-19 Command APDU Format

Lefield

Le

Data byte(Lc bytes)

Data

Parambyte

P2

Parambyte

P1

Instruction byte

INS

Lc fieldClass byte

LcCLA

Lefield

Le

Data byte(Lc bytes)

Data

Parambyte

P2

Parambyte

P1

Instruction byte

INS

Lc fieldClass byte

LcCLA

Page 56: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

56 ISO/IEC14443 TypeB Specification

Table 4-18 Command APDU Field Definition

Field name Byte length Definition Class byte 1 Fixed to 0x00 Instruction byte 1 Instruction code Param byte 1 1 Command parameter Param byte 2 1 Command parameter

Lc field 1 If a data byte exists in the command APDU, set the byte length of n; if not, omit the data byte.

Data byte n Data block (can be omitted)

Le field 1 If a data byte exists in the response APDU, set the byte length; if not, omit the data byte.

Figure 4-20 Response APDU Format

Table 4-19 Response APDU Field Definition

Field name Byte length Definition

Data byte n Data block (can be omitted) Status word 1 1 Status information Status word 2 1 Status information

Status word 2

SW2

Status word 1

SW1

Data byte

Response Body

Status word 2

SW2

Status word 1

SW1

Data byte

Response Body

Page 57: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 57

4.3.6 State Transition Diagram

Figure 4-21 provides the state transition diagram for this RFID's operation based on ISO/IEC14443 TypeB.

POWER_OFF

IDLE

READY

HALTPROTOCOL

Magnet field ON/ No response

REQB(AFI)/ ATQBWUPB(AFI)/ ATQB

REQB(nAFI)/ No responseWUPB(nAFI)/ No responseHLTB(PUPI)/ No responseHLTB(nPUPI)/ No responseATTRIB(PUPI)/ No responseATTRIB(nPUPI)/ No responseOther commands/ No responseCRC error/ No response

REQB(nAFI)/ No responseWUPB(nAFI)/ No response

Notes• Even in any of IDLE, READY, PROTOCOL, or HALT

state, turning RF off causes the RFID to transition to POWER_OFF state.

• AFI: AFI matched、nAFI: AFI unmatched• PUPI: PUPI matched、nPUPI: PUPI unmatched

ATTRIB(PUPI)/ Response HALT(PUPI)/ Response

DESELECT/Response

WUPB(AFI)/ATQBSELECT/ ResponseREAD/ ResponseWRITE/ Response

WUPB(nAFI)/ No response

CLA error/ Response with an errorINS error/ Response with an errorP1, P2 error/ Response with an errorLc, Le error/ Response with an errorSelf-diagnosis error/ Response with an error

REQB(AFI)/ATQBWUPB(AFI)/ATQB

HLTB(nPUPI)/ No responseATTRIB(nPUPI)/ No responseOther commands/ No responseCRC error/ No response

REQB(AFI)/ No responseREQB(nAFI)/ No responseWUPB(AFI)/ No responseWUPB(nAFI)/ No responseHLTB(PUPI)/ No responseHLTB(nPUPI)/ No responseATTRIB(PUPI)/ No responseATTRIB(nPUPI)/ No responseCRC error/ No responsePCB setting error/ No response

REQB(AFI)/ No responseREQB(nAFI)/ No responseHLTB(PUPI)/ No responseHLTB(nPUPI)/ No responseATTRIB(PUPI)/ No responseATTRIB(nPUPI)/ No responseOther commands/ No responseCRC error/ No response

Magnet field OFF

Figure 4-21 State Transtion Diagram for Operation Based on ISO/IEC14443 TypeB

Page 58: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

58 ISO/IEC14443 TypeB Specification

4.3.7 Flow Chart

Figure 4-22 illustrates the flow chart for this RFID's command processing based on ISO/IEC14443 TypeB.

PUPI identified?

Respond to ATTRIB. Respond to HLTB.

Yes

ATTRIBHLTB

Magnet field ON

Respond to ATQB

REQB/WUPB

Other

YesYes

No

PUPI identified?No

YesNo

PROTOCOL state

Respond to command.

SELECTREADWRITE

DESELECT

Respond to DESELECT.

HALT state

READY state

IDLE state

WUPB Other

Any of the following conditions identified?・AFI is 0x00.・AFI is 0xY0 and Y of upper 4 bits are matched.・AFI is 0x0Y and Y of lower 4 bits are matched.・AFI1 byte is matched.

REQB/WUPBOther

Figure 4-22 Flow Chart of Command Processing Based on ISO/IEC14443 TypeB

Page 59: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 59

4.3.8 Various Settings

This section describes the parameter settings and operation specifications based on ISO/IEC14443 TypeB for this RFID.

4.3.8.1 AFI (Application Family Identifier)

Figure 4-23 shows the format of AFI (Application Family Identifier). The value of AFI is set in the system area AFI. AFI is a parameter specified by the REQB command. The response operation to REQB command in this RFID is shown in Table 4-20. For information about the setting values for AFI, see ISO/IEC14443-3.

AFI

D0

AFI

D0

AFI

Figure 4-23 AFI Format

Table 4-20 REQB Command Response Operation

REQB command AFI setting value

RFID's response to REQB command

0x00 Responds regardless of the system area AFI setting. 0xY0 Responds when the value Y of the upper 4 bits of the

REQB command's AFI is matched. 0x0Y Responds when the value Y of the lower 4 bits of the

REQB command's AFI is matched. Other Responds only when the setting value of the REQB

command's AFI matches the value specified in the system area AFI.

4.3.8.2 PUPI (Pseudo-Unique PICC Identifier)

Figure 4-24 shows the format of PUPI (Pseudo-Unique PICC Identifier). PUPI is an identifier of PICC (Proximity IC Card). The value of PUPI is set in the lower 4 bytes of the system area IDM.

Figure 4-24 PUPI Format

4.3.8.3 FWI (Frame Waiting Time Integer)

Figure 4-25 shows the format of FWI (Frame Waiting time Integer). FWI is used to specify the maximum wait time until the PICC sends a response after receiving a command.

Lower 4 bytes of IDM

D3D2D1D0

Lower 4 bytes of IDM

D3D2D1D0

PUPI

Page 60: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

60 ISO/IEC14443 TypeB Specification

Figure 4-25 FWI Format The maximum wait time is calculated by the following formula: Maximum wait time = T × 2FWI

T: 256 × 16/fc (fc = 13.56 MHz, approx. 0.302 ms) FWI: 0 to 14 (integer) The maximum wait time ranges from approximately 0.302 ms (min.; FWI = 0) to approximately 4949 ms (max; FWI = 14).

4.3.8.4 File System

This RFID is compliant with the command specification of ISO/IEC7816-4 standards, but does not implement the file system functionality of the standards. However, in order to ensure the compatibility with communication to reader/writer, the SELECT command to select files is set to "Normal response" when specifying the given parameters. For information about how to set the parameters of the SELECT command, see 4.3.9.4 SELECT.

4.3.8.5 Address

In ISO/IEC14443 TypeB (command is compliant with ISO/IEC7816-4), the addresses of READ and WRITE commands are specified by bytes P1 and P2 of the command APDU. (See 4.3.5 Upper Command Format.) Figure 4-26 shows the address specification format. Set bit 7 of byte P1 to 0; setting to 1 causes an error.

Figure 4-26 Address Specification This RFID uses address to specify encrypted communication in tunnel mode. Table 4-21 shows mode settings including encrypted communication in tunnel mode with bits 6 to 4 of byte P1.

Start address designationMode setting

Start address

0This RFID’ssetting value

-Definition

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Start address designationMode setting

Start address

0This RFID’ssetting value

-Definition

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

msb lsb msb lsb

P1 P2

Page 61: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 61

Table 4-21 Mode Settings

Byte P1 Meaning Bit 6 Bit 5 Bit 4 Communication mode

0 0 0 RF communication mode 0 1 0

Reserved (Setting this field causes an error.) 0 1 1 0 0 1 1 0 0 Tunnel mode 1 1 0

Reserved (Setting this field causes an error.) 1 1 1

1 0 1

In addition, Table 4-22 shows the setting unit for address. Table 4-22 Setting Unit for Address

Setting unit for address (n: integer) 1×n bytes

4.3.8.6 Data

The structure of data block for READ and WRITE commands is shown in Figure 4-27. All block data are treated as actual data.

Figure 4-27 Data Block Structure

4.3.8.7 Status Word

Table 4-23 lists the meaning of statuses. Table 4-23 Status Word

SW1 SW2 Meaning Description 0x90 0x00 Normal end Terminated normally. 0x50 0x00 Tunnel mode error No response from the host 0x51 0x00 Tunnel mode error The host responded with an error. 0x67 0x00 Lc/Le specification error

(*) Lc and Le were out of the specification.

0x6A 0x86 P1-P2 specification error Bit 7 of P1 was not 0.

1 x n bytes (n: integer)

DATA

1 x n bytes (n: integer)

DATA

Actual data

Size specified by the Lc or Le field

Page 62: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

62 ISO/IEC14443 TypeB Specification

Illegal mode setting (RFU setting) Specified outside FeRAM

0x6D 0x00 INS specification error Illegal INS setting (Specified an unimplemented command)

0x6E 0x00 CLA specification error Illegal CLA setting (except 0x00) 0x6F 0x00 Self-diagnosis error

(*) Write access to FeRAM-Read-Only area (RORF

setting) (*) For more information about these errors, see the Administrator's Manual.

Page 63: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 63

4.3.9 Command

The commands based on ISO/IEC14443 TypeB supported by this RFID fall into two types: Commands defined in ISO/IEC14443-3, and APDU commands defined in ISO/IEC7816-4 to be sent in the ISO/IEC14443-4 format. These commands are shown in Table 4-24 and Table 4-25. For information about the command format, see Section 4.3.2 Frame Format and Section 4.3.5 Upper Command Format. Additionally, protocol control such as chaining, ACK/NAK response (R-Block), and DESELECT (S-Block) are also supported. For its detail, see Section 4.3.3 Protocol Control. Subsequent sections describe each command in detail.

Table 4-24 ISO/IEC14443-3 TypeB Command List

Name Code Description REQB/WUPB 0x05 Identifies the RFID. Used by reader/writer.

ATTRIB 0x1D Exchanges protocol signal information between reader/writer and RFID, and causes the RFID to transition to the state in which command processing is enabled.

HLTB 0x50 Transitions the RFID to a HALT state. Used by reader/writer.

Table 4-25 APDU Command List

Name INS Description SELECT 0xA4 Selects the file. (No processing is performed in this RFID.)

READ 0xB0 Reads the data of RFID from reader/writer. While in tunnel mode, reads the data of the host from reader/writer.

WRITE 0xD6 Writes a data to RFID from reader/writer. While in tunnel mode, writes a data to the host.

Page 64: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

64 ISO/IEC14443 TypeB Specification

4.3.9.1 REQB/WUPB

Purpose Identifies the RFID. Used by reader/writer REQB is used when the RFID is in IDLE state. WUPB is used when the RFID is in HALT state. (It can be also used in IDLE state.) Command message Format

Command code AFI PARAM CRC_B 1 byte 1 byte 1 byte 2 bytes

Data field

Field Setting Remarks Command code 0x05 AFI 0x00: Identifies all RFIDs.

0xY0: RFID whose upper 4 bits are identified responds. 0x0Y: RFID whose lower 4 bits are identified responds. Other than 0x00: RFID corresponding to the specified system code responds.

See 4.3.8.1 AFI (Application Family Identifier).

PARAM 0x00: REQB 0x08: WUPB

This RFID always operates as follows: Ignores the setting of bits

7-5. Recognizes the number N of

Slots is 1 (always responds with ATQB) even when bits 2-0 are set to any of the values (including PFU).

Bits 7-5 RFU (Set to 000b.) Bit 4 0: Extension ATQB not supported

1: Extension ATQB supported Bit 3 0: REQB

1: WUPB Bit 2-0 000b: Slot count N = 1

001b: Slot count N = 2 010b: Slot count N = 4 011b: Slot count N = 8 100b: Slot count N = 16 101b: RFU 110b: RFU

CRC_B See CRC_B ISO/IEC14443-3.

Page 65: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 65

Response message Format

Response code PUPI Application data Protocol info CRC_B 1 byte 4 bytes 4 bytes 3 bytes 2 bytes

Data field

Field Output value Remarks response code 0x50 (ATQB) PUPI See 4.2.5.2 PICC (Proximity IC Card) Identifier. Application Data 0x00000000 Reserved (treated as

proprietary data.) Protocol Info 1st byte: 0x91 For more information about

parameters, see ISO/IEC14443-3.

Bits 7-0 Data rate setting: 0x91 R/W→RFID: 106K, 212K bps RFID→R/W: 106K, 212K bps R/W→RFID, RFID→R/W (same data

rate) 2nd byte: 0x81 Bits 7-4 Maximum frame size of RFID

1000b: 256 bytes Bits 3-0 Protocol type: 0001b

RFID is ISO/IEC14443-4 compliant Minimum reader/writer command

wait time (TR2) after RFID responds: 10etu + 32/fs (fs = 848 kHz)

3rd byte: 0xX0 (X is a value of FWI.) Bits 7-4 FWI (Frame Wating time Integer)

See 4.3.8.3 FWI (Frame Waiting Time Integer).

Bits 3-2 ADC (Application Data Coding) 00b: Proprietary Application Data

Bits 1-0 FO (Frame Option) 00b: NAD, CID not supported

CRC_B See CRC_B ISO/IEC14443-3.

Page 66: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

66 ISO/IEC14443 TypeB Specification

4.3.9.2 ATTRIB

Purpose Exchanges protocol signal information between reader/writer and RFID, and causes the RFID to transition to the state in which command processing is enabled. Command message Format

Command code Identifier Param1 Param2 Param3 Param4 CRC_B

1 byte 4 bytes 1 byte 1 byte 1 byte 1 byte 2 bytes

Data field

Field Setting Remarks Command code 0x1D Identifier Sets PUPI for ATQB response. Param1 0x00 This RFID operates with:

bits 1-0 ignored bits 7-6 set to 00b (when

these bits are set to 11b) bits 5-4 set to 00b (when

these bits are set to 11b) This RFID operates with: Minimum TR0: 64/fs Minimum TR1: 80/fs EOF not omitted SOF not omitted

Bits 7-6 Minimum value of RFID response time to reader/writer command (TR0): (fs = 848 kHz) 00b: 64/fs (106 Kbps), 64/fs (212 Kbps) 01b: 48/fs (106 Kbps), 32/fs (212 Kbps) 10b: 16/fs (106 Kbps), 8/fs (212 Kbps) 11b: RFU

Bits 5-4 Minimum value of the time (TR1) until RFID starts data transmission after subcarrier is generated: (fs = 848 kHz) 00b: 80/fs (106 Kbps), 80/fs (212 Kbps) 01b: 64/fs (106 Kbps), 32/fs (212 Kbps) 10b: 16/fs (106 Kbps), 8/fs (212K bps) 11b: RFU

Bit 3 0: Do not omit EOF. 1: Omit EOF.

Bit 2 0: Do not omit SOF. 1: Omit SOF.

Bits 1-0 RFU (Set to 00b.) Param2 0xXX (For XX, see the settings below.) If parameters other than

those on the left (communication settings or reader/writer frame size which the RFID does not support) are set, the RFID will generate no response. If the data rate setting differs

between RFID→PCD and

Bits 7-6 RFID→PCD data rate 00b: 106 Kbps 01b: 212 Kbps

Bits 5-4 PCD→PICC data rate 00b: 106 Kbps 01b: 212 Kbps

Bits 3-0 Maximum receptible frame size of

Page 67: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 67

reader/writer 1000b: 256 bytes 0111b: 128 bytes 0110b: 96 bytes 0101b: 64 bytes

PCD→RFID, the RFID will generate no response.

Param3 0x01 If parameters other than those on the left are set, the RFID will generate no response.

Bits 7-4 RFU (Set to 0000b.) Bits 3-0 Set to the same value as that for the

protocol type (4 bits) of the ATQB parameter's second byte.

Param4 0x00 The RFID operates with: bits 7-4 ignored no response generated

except when bits 3-0 are set to 0000b

Bits 7-4 RFU (Set to 0000b.) Bits 3-0 0000b: RFID does not support CID.

CRC_B See CRC_B ISO/IEC14443-3. Response message Format

Response code CRC_B 1 byte 2 bytes

Data field

Field Output value Remarks response code 1st byte: 0x10 For more information about

parameters, see ISO/IEC14443-3.

Bits 7-4 MBLI (Maxmum Buffer Length Integer) 0001b: 1x of RFID frame size (256 bytes)

Bits 3-0 0000b: RFID does not support CID. CRC_B See CRC_B ISO/IEC14443-3.

Page 68: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

68 ISO/IEC14443 TypeB Specification

4.3.9.3 HLTB

Purpose Causes the RFID to transition to a HALT state. Used by reader/writer. Command message Format

Command code Identifier CRC_B 1 byte 4 bytes 2 bytes

Data field

Field Setting Remarks Command code 0x50 Identifier Sets the PUPI of the RFID to be set to a HALT

state.

CRC_B See CRC_B ISO/IEC14443-3. Response message Format

Response code CRC_B 1 byte 2 bytes

Data field

Field Output value Remarks Response code 0x00 CRC_B See CRC_B ISO/IEC14443-3.

Page 69: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 69

4.3.9.4 SELECT

Purpose Selects the file. This RFID responds normally when receiving this command, however, it performs no internal processing. Command message Format

CLA INS P1 P2 Lc Data 1 byte 1 byte 1 byte 1 byte 1 byte 2 bytes

Data field

Field Setting Remarks CLA 0x00 Responds with an error,

except 0x00. INS 0xA4 P1 0x02: Selects EF file. Responds with an error,

except 0x02. P2 0x0C: FCI generates no response. Responds with an error,

except 0x0C. Lc Sets the byte length of the Data block.

setting range: 0x02(2) Responds with an error, except the setting range on the left column.

Data Don't care (This field is set by EF-ID.) The RFID does not reference to this parameter.

Response message Format

SW1 SW2 1 byte 1 byte

Data field

Field Output value Remarks SW1 See 4.3.8.7 Status Word. SW2 See 4.3.8.7 Status Word.

Page 70: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

70 ISO/IEC14443 TypeB Specification

4.3.9.5 READ

Purpose Reads the data of RFID from reader/writer. While in tunnel mode, reads the data of the host from reader/writer. Command message Format

CLA INS P1 P2 Le 1 byte 1 byte 1 byte 1 byte 1 byte

Data field

Field Setting Remarks CLA 0x00 Responds with an error,

except 0x00. INS 0xB0 P1 Sets the start address to be read.

See 4.3.8.5 Address.

P2 Sets the start address to be read. See 4.3.8.5 Address.

Le Sets the byte length of data to be read. Setting range: 0x01(1) to 0xFB(251)

Response message Format

Data SW1 SW2 1 to 251 bytes 1 byte 1 byte

Data field

Field Output value Remarks Data Sets the data to be read.

See 4.3.8.6 Data. Omitted except when status word ends normally.

SW1 See 4.3.8.7 Status Word. SW2 See 4.3.8.7 Status Word.

Page 71: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 4 RF Communication Mode

ISO/IEC14443 TypeB Specification 71

4.3.9.6 WRITE

Purpose Writes a data to RFID from reader/writer. While in tunnel mode, writes a data to the host. Command message Format

CLA INS P1 P2 Lc Data 1 byte 1 byte 1 byte 1 byte 1 byte 1 to 248 bytes

Data field

Field Setting Remarks CLA 0x00 Responds with an error,

except 0x00. INS 0xD6 P1 Sets the start address of data to be written.

4.3.8.5 Address.

P2 Sets the start address of data to be written. 4.3.8.5 Address.

Lc Sets th byte length of the Data block. Setting range: 0x01(1) to 0xF8(248)

Data Sets the data to be written. 4.3.8.6 Data.

Response message Format

SW1 SW2 1 byte 1 byte

Data field

Field Output value Remarks SW1 See 4.3.8.7 Status Word. SW2 See 4.3.8.7 Status Word.

Page 72: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands
Page 73: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

5

Page 74: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

74 Serial Communication Mode Sequence

5.1 Serial Communication Mode Sequence Figure 5-1 illustrates the sequence in serial communication mode. Each sequence is described below. SNo.1: The host sends a serial commuinication mode command to the RFID. SNo.2: Once the RFID receives the serial communication mode command described in SNo.1, it processes

the command and then sends the result to the host as the response to the command.

Figure 5-1 Serial Communication Mode Sequence

R/W HostRFID

Serial communication mode commandSNo.1

Response to serial communication mode commandSNo.2

Page 75: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

UART 75

5.2 UART This section describes the UART specification.

5.2.1 Communication Specifications

Table 5-1 shows the UART specification of this RFID. Table 5-1 UART Communication Specification

Data transfer method Asynchronous, half-duplex (Only IRQ notification allows full-duplex)

Data rate 1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bps

Character transmission

LSB-first Data (8 bits) Start bit (1bit) Parity bit (1bit, even) Stop bit (1bit)

Other No flow control signal (RTS/CTS)

5.2.2 Frame Format

Figure 5-2 illustrates the UART frame format, Table 5-2 defines the fields, and Table 5-3 lists the frame end conditions.

Figure 5-2 Frame Format

Table 5-2 Field Definition

Field name Byte length Definition Synchronous code 1 0x66 Data field n Command message or Response message Error-detecting code 1 2's complement of the sum of data field's data

Table 5-3 Frame End Conditions

Data rate Frame end conditions

9600 bps or less Frame reception terminates by receiving a checksum (Note) or by receiving no data for 10 ms or more.

More than 9600 bps Frame reception terminates by receiving checksum (Note) or by receiving no data for 3-character length or more.

(Note) When the frame size can be calculated from the values of command code, data length, and status, receiving a chechsum terminates frame reception. When the received command code is not defined or the frame size cannot be calculated (such as ANSWER command in IDLE mode), receiving no data for a given period terminates frame reception.

0 to 255 bytes

Data field

1 byte

Synchronous code

1 byte (checksum)

Error-detecting code

0 to 255 bytes

Data field

1 byte

Synchronous code

1 byte (checksum)

Error-detecting code

Error-detecting signal

Page 76: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

76 UART

Note: The IRQ notification code in tunnel mode does not contain synchronous code and error-detecting signal (checksum). (See Section 6.3.1.2 IRQ Notification.)

Note: This RFID makes a timing correction for data rate using the synchronous code (0x66) input from the host. Specifically, it measures and corrects the period between the first falling of start bit and the third falling (starting of 8th bit of data).

5.2.3 Specifying Data Rate

The system area HW of FeRAM is used to specify data rate of UART. For more information, see HW (2 bytes) in Section 3.3 System Area.

5.2.4 Specifying Response Wait Time

This RFID provides a functionality to specify the response wait time until a response is sent after a command from the host is received to a given time or more. The functionality is specified in the system area HW of FeRAM. For more information, see HW (2 bytes) in Section 3.3 System Area.

5.2.5 Status

Table 5-4 lists the meaning of the response status of the RFID. Table 5-4 RFID Response Status

Value Meaning Description 0x05 Normal end Terminated normally 0x06 Checksum error Checksum, parity, stop bit error

0x16 Unimplemented command error The command was unimplemented one.

0x26 Command parameter error (*)

Address was specified outside FeRAM. Data length was out of the specification.

0x36 Tunnel mode error QUERY and ANSWER commands were issued in IDLE state.

0x46 Self-diagnosis error Write access to FeRAM-Read-Only area (ROSI setting)

0x07 BUSY RFID command processing in progress (*) For more information about these errors, see the Administrator's Manual.

Page 77: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

UART 77

5.2.6 Command

Table 5-5 lists the serial communication mode commands supported by this RFID. Subsequent sections describe each command in detail.

Table 5-5 Command List in Serial Communication Mode

Name Code Description READ 0x08 Reads an RFID data from the host. WRITE 0x18 Writes a data to RFID from the host.

Page 78: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

78 UART

5.2.6.1 READ

Purpose Reads an RFID data from the host. Command message Format

Command code Start address Data length n 1 byte 2 bytes 1 byte

Data field

Field Setting Remarks Command code 0x08 Start address Address at which to start reads Byte units

Big endian format Data length n Size of data to be read

Setting range: 0x01(1) to 0xFE(254) Byte units

Response message Format

Status Data 1 byte 1 to 254 bytes

Data field

Field Output value Remarks Status See 5.2.5 Status. Data Data to be read See Note below.

Note: If the status of a response message from RFID is not normal (error or busy), data will be omitted.

Page 79: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

UART 79

5.2.6.2 WRITE

Purpose Writes a data to RFID from the host. Command message Format

Command code Start address Data length n Data 1 byte 2 bytes 1 byte 1 to 251 bytes

Data field

Field Setting Remarks Command code 0x18 Start address Address at which to start writes Byte units

Big endian format Data length n Size of data to be written

Setting range: 0x01(1) to 0xFB(251) Byte units

Data Data to be written Response message Format

Status 1 byte

Data field

Field Output value Remarks Status See 5.2.5 Status.

Page 80: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

80 Clock Synchronous Serial Communication

5.3 Clock Synchronous Serial Communication This section describes the specification of clock synchronous serial communication.

5.3.1 Communication Specification

Table 5-6 shows this RFID's clock synchronous serial communication specification. Table 5-6 Clock Synchronous Serial Communication Specification

Data transfer method Clock synchronous, half-duplex Data rate Up to 1 Mbps

I/O timing Data input at the rising edge of clock Data output at the falling edge of clock

Character transmission

MSB-first Data (8 bits) No start bit No parity bit No stop bit

5.3.2 Frame Format

Figure 5-3 illustrates the frame format for clock synchronous serial communication. Table 5-7 shows the field definition.

Figure 5-3 Frame Format

Table 5-7 Field Definition

Name Byte length Definition

Data field n Command message or Response message Error-detecting code 1 2's complement of the sum of data field's data

Table 5-8 Frame End Condition

Receive command Frame end condition Frame size calculation enable Frame reception ends when checksum is received. Frame size calculation disable (See Note.) Frame reception ends when 256-byte data is received.

(Note) Frame size calculation is disabled in the following cases: (1) Command code is not defined. (2) An ANSWER command is issued in IDLE or TUNNEL_MODE1 state (see Figure 7-4).

1 byte (checksum)

Error-detecting code

0 to 255 bytes

Data field

1 byte (checksum)

Error-detecting code

0 to 255 bytes

Data field

Error-detecting signal

Page 81: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 5 Serial Communication Mode

Clock Synchronous Serial Communication 81

Note: When the receive command in Table 5-8 is set to "Frame size calculation disable," in order to meet the frame end condition, dummy data must be added (input) to the existing data so that the sum of those data is just 256 bytes.

Note: This LSI starts serial communication processing, when clock is input to the SCK pin. In the case that the number of clock inputs to the SCK pin is less than 1 Byte within 12ms±25% since the start of serial communication processing, timeout occurs and the communication status is initialized.

5.3.3 Time Chart

Figure 5-4 shows the time chart when clock synchronous serial is used. t0: The host inputs a clock to the SCK pin and a command data to I/O pins. Pull the IRQ pin up to high. t1: The host stops the clock input to the SCK pin after inputting command data. The RFID executes command processing internally. t2: Once the internal command processing is completed, the RFID outputs low to the IRQ pin to send a response. t3: The host detects the low output of the IRQ pin and inputs a clock to the SCK pin. The RFID outputs a response data in sync with the clock input. The RFID stops low output to the IRQ pin once the clock input starts. The host stops the clock after the response data reception is completed.

Figure 5-4 Time Chart

5.3.4 Status

The specification of status is the same as that of UART. See Section 5.2.5 Status.

5.3.5 Command

The specification of command is the same as UART. See Section 5.2.6 Command.

Command

IRQ

SCK

IO Response

IRQ generated by RFID(Command processing terminated)

t0 t1 t2 t3

Page 82: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands
Page 83: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

6

Page 84: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

84 Tunnel Mode Sequence

6.1 Tunnel Mode Sequence This section describes the sequence of tunnel mode, which is shown in Figure 6-1. SNo.1: Reader/writer sends a tunnel mode command to RFID. SNo.2: RFID receives the tunnel mode command and issues an interrupt request (IRQ) to the host. SNo.3: If VDD2 is not applied, the host applies VDD2. SNo.4: The host sends a QUERY command (inquiry) to RFID. SNo.5: RFID sends a response to the QUERY command to the host. The response includes data of the tunnel mode command in step SNo.1. SNo.6: The host sends an ANSWER command (notification of the result) to RFID. The command includes data to be sent to reader/writer. SNo.7: RFID receives the ANSWER command and sends a response (processing result; Normal end or Error) to the command to the host. SNo.8: After sending the response to the ANSWER command in step SNo.7, RFID sends the data of the ANSWER command to reader/writer as a tunnel mode response.

For more information about tunnel mode operation, see Section 7.2 State Transition Diagram in Operation Mode, Section 7.3 Flow Chart in Tunnel Mode, or other related section.Flow Chart in

Figure 6-1 Tunnel Mode Sequence

R/W HostRFID

Tunnel mode commandSNo.1

IRQ notification

QUERY command

Response to QUERY command

ANSWER command

Response to ANSWER commandResponse to tunnel mode command

SNo.2

SNo.4

SNo.5

SNo.6

SNo.7SNo.8

VDD2 appliedSNo.3

Page 85: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Communication between Reader/Writer and RFID 85

6.2 Communication between Reader/Writer and RFID This section describes the communication between Reader/Writer and RFID in tunnel mode, based on JISX6319-4 and ISO/IEC14443 TypeB.

6.2.1 Using JISX6319-4

READ and WRITE commands, same as those of RF communication mode, are used. Use the given bits corresponding to the block number to set the tunnel mode commands. For more information, see Section 4.2.5.6 Block. For information on how to set block list and block data, see Section 4.2.5.7 Block List.

6.2.2 Using ISO/IEC14443

READ and WRITE commands, same as those of RF communication mode, are used. Use the given bits of address (P1, P2) to set the tunnel mode commands. For more information, see Section 4.3.8.5 Address. For information on how to set data, see Section 4.3.8.6 Data.

Page 86: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

86 Communication between Host and RFID

6.3 Communication between Host and RFID This section describes the UART communication between the host and RFID in tunnel mode.

6.3.1 .Using UART

The specification when using UART is described below.

6.3.1.1 Communication Specification

The specification for UART communication is the same as that for serial communication mode. See Section 5.2 UART. QUERY and ANSWER commands are provided only for tunnel mode. For more information about commands, see Section 6.4 Command.

6.3.1.2 IRQ Notification

Once this RFID receives a tunnel mode command from reader/writer, it send an IRQ to the host. When UART is used, IRQ is output from the IRQ pin. It is also possible to output it from the TX pin by setting the system area HW parameter IRQSEL. For more information about IRQSEL, see HW (2 bytes) in Section 3.3 System Area. Figure 6-2 shows the IRQ waveform when IRQ is not sent from the TX pin (IRQSEL = 0). IRQ signal is a pulse of 1.28 ms ±25%. When the host receives an IRQ and detects that the supply voltage VDD2 is not applied, it applies VDD2 and sends a QUERY command to the RFID. The RFID can receive RX of UART at the falling edge of IRQ.

Figure 6-2 UART Signal Waveform When Sending IRQ (IRQSEL = 0) Next, for IRQ notification from the TX pin (IRQSEL = 1), Figure 6-3 shows IRQ waveform and Table 6-1 shows IRQ code. The RFID' s TX pin outputs the notification code 0xFE and IRQ pin outputs a low pulse of 1.28 ms ±25% from the timing of bit 2 of TX. The IRQ code of TX does not contain checksum. When the host receives an IRQ and detects that the supply voltage VDD2 is not applied, it applies VDD2 and sends a QUERY command to the RFID. At this time, the RFID can receive RX (full-duplex communication enabled) immediately after TX and IRQ transition to low. Full-duplex communication is enabled only for IRQ notification. In addition, if the RFID does not receive a QUERY command from the host even when the maximum wait time for QUERY command specified in the system area QWT elapses after the IRQ pin outputs low, it detects a timeout. For more information, see Section 7.3 Flow Chart in Tunnel Mode.Flow Chart in

TX

IRQ

RX receivable period of RFID

High

1.28 ms ±25%

Page 87: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Communication between Host and RFID 87

Figure 6-3 UART Signal Waveform When sending IRQ (IRQSEL = 1)

Table 6-1 IRQ Notification Code

Size 1 byte

Output value 0xFE

Startbit Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Parity

bitTX

IRQ

RX receivable period of RFID

Stopbit

1.28 ms ±25%

No checksum...

Page 88: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

88 Communication between Host and RFID

6.3.2 Using Clock Synchronous Serial

The specification when using clock synchronous serial is described below.

6.3.2.1 Communication Specification

The specification for clock synchronous serial communication is the same as that for serial communication mode. See Section 5.3 Clock Synchronous Serial Communication. QUERY and ANSWER commands are provided only for tunnel mode. For more information about commands, see Section 6.4 Command.

6.3.2.2 IRQ Notification

Once this RFID receives a tunnel mode command from reader/writer, it send an IRQ to the host. When clock synchronous serial interface is used, IRQ is output only from the IRQ pin. Figure 6-4 shows the IRQ waveform for clock synchronous serial. The RFID outputs low to the IRQ pin. When the host detects IRQ = L and detects that the supply voltage VDD2 is not applied, it applies VDD2 and then inputs a clock to the SCK pin and at the same time sends a QUERY command to the RFID. Once the RFID detects that a clock is input to the SCK pin, it stops low output to the IRQ pin. In addition, if the RFID does not receive a QUERY command from the host even when the maximum wait time for QUERY command specified in the system area QWT elapses after the IRQ pin outputs low, it detects a timeout. For clock synchronous, retry of sending IRQ is not performed. For more information, see Section 7.3 Flow Chart in Tunnel Mode.

Figure 6-4 Clock Synchronous Serial IRQ Waveform

6.3.2.3 Configuring System Area (UARTSP Setting)

For IRQ notification in tunnel mode command reception, in order to support the case that VDD2 is not applied (SEL pin is disabled), set bits 7, 6, and 5 of the system area HW (2 bytes) parameter UARTSP to 111 when using clock synchronous.

Table 6-2 QUERY Response Mode

VDD2 state Serial interface selection (UART or Clock synchronous) Applied Use the SEL pin.

Not applied Use the UARTSP setting.

QUERY command

IRQ

SCK

IO

IRQ is stopped after a clock input is detected.

Page 89: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Communication between Host and RFID 89

6.3.3 Response to QUERY Command

When a response to QUERY command in tunnel mode is sent, the RFID reports the content of the command from reader/writer to the host. The address setting for response to QUERY is shown in Figure 6-5. Bit 7 of upper byte is fixed to 0. Bits 6 and 4 indicate mode. Table 6-3 shows the meaning of mode of upper byte bits 5 and 4. This bit indicates whether the communication in tunnel mode is plaintext (unencryoted) or encrypted (private or family key).

Figure 6-5 Address Setting for Response to QUERY Command

Table 6-3 QUERY Response Mode

Upper byte Meaning

Bit 6 Bit 5 Bit 4 1 0 0 Tunnel mode

Others Reserved

6.3.4 Timeout

In tunnel mode command processing for communication between host and RFID, a timeout processing is applied if the host sends no response to QUERY and ANSWER commands. Figure 6-6 shows the wait time for commands in tunnel mode. Subsequent section describes the wait time for QUERY and ANSWER commands.

Figure 6-6 Wait Time for Commands

Tunnel mode commandRF-I/F

RX

IRQ

TX

UA

RT

(RFI

D s

ide)

QUERYcommand

Response to QUERY

ANSWERcommand

Response toANSWER

Response to tunnel mode

Wait time for QUERY command Wait time for ANSWER command

IRQSEL=0

Mode Start address designation0Output

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Mode Start address designation0Output

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0

msb lsb msb lsb

Start address (2 bytes)

Upper byte Lower byte

Page 90: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

90 Communication between Host and RFID

Note: In timeout measurement processing for UART, the start of command is detected at the start of data field, not the start of synchronous code.

6.3.4.1 Wait Time for QUERY Command

The time sequence (QRTRY = 1) for timeout of waiting QUERY command (no response from the host) is shown in Figure 6-7. The measurement of timeout starts when the state of IRQ pin changes to low from high. When UART is used, a timeout time is the longer of QWT setting time or UARTWT setting time.

Figure 6-7 Timeout of Waiting for QUERY Command (No Response from the Host) Next, the time sequence when the RFID receives a command other than QUERY from the host while it waits a QUERY command is shown in Figure 6-8. In this case, the retry counter increases by receiving a command other than QUERY. For more information, see Section 7.3 Flow Chart in Tunnel Mode.Flow Chart in

Figure 6-8 Timeout of Waiting for QUERY Command (Command Other Than QUERY)

6.3.4.2 Wait Time for ANSWER Command

The time sequence when the RFID receives no response from the host while it waits an ANSWER command is shown in Figure 6-9. The measurement of timeout starts immediately after the first response (to normal

Tunnel mode commandRF-I/F

RX

IRQ

TX

UA

RT

(RFI

D s

ide)

Response to tunnel mode

No response from the host (QRTRY = 1)

Response with an error(No response from the host)

Retry counter UP Retry counter UP &Error processing

IRQSEL=1 QWT setting time (Note 1)

Retry period (Note 2)

QWT setting time (Note 1)

(Note 3)

(Note 1) Timeout time (only for UART): the longer of QWT setting time or UARTWT setting time.(Note 2)Retry period: 11 bits of UART(Note 3)Period between IRQ falling of TX pin IRQ falling of IRQ pin: 3 bits of UART (See Figure 6-3.)

Tunnel mode commandRF-I/F

RX

IRQ

TX

UA

RT

(RFI

D s

ide)

Command other than QUERY (QRTRY = 1)

Command other than QUERY

Response with BUSY

Command other than QUERY

Response with BUSY

Response to tunnel mode

Response with an error(No response from the host)

Less than QWT setting time Less than QWT setting time

Retry counter UP Retry counter UP &Error processing

IRQSEL=0

Page 91: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Communication between Host and RFID 91

QUERY command) is sent.

Figure 6-9 Timeout of Waiting for ANSWER Command (No Response from the Host) Next, the time sequence when the RFID receives a command other than ANSWER from the host while it waits an ANSWER command is shown in Figure 6-10. Note that the timeout measurement time does not include the time from serial communication command issue to the response to the command.

Figure 6-10 Timeout of Waiting for ANSWER Command (Command Othe than ANSWER)

Tunnel mode commandRF-I/F

RX

IRQ

TX

UA

RT

(RFI

D s

ide)

No response from the host

AWT setting time

QUERYcommand

Response to QUERY

Tunnel mode command

Response with an error(No response from the host)

IRQSEL = 0

Tunnel mode commandRF-I/F

RX

IRQ

TX

UA

RT

(RFI

D s

ide)

Command other than ANSWER

QUERYcommand

Response to QUERY

Command other than ANSWER

Response with BUSY (*2) (*2) When a QUERY command is sent,

a response to QUERY is re-sent.

Tunnel mode command

Response with an error(No response from the host)

t0 t1 t2

Note (*1):The timeout measurement time does not include the time from serial communication command issue to the response to the command.

(t0 + t2) > AWT setting time (*1)

IRQSEL = 0

Page 92: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

92 Command

6.4 Command The tunnel mode commands supported by this RFID fall into two types: RF-interface-side commands between reader/writer and RFID and serial-interface-side commands between the host and RFID. These commands are shown in Table 6-4 and Table 6-5. Subsequent sections describe each command in detail.

Table 6-4 RF Interface Command List in Tunnel Mode

Name Code

Description JISX6319-4 ISO/IEC

14443TypeB READ 0x06 0xB0 Reads data of the host from reader/writer.

(Command code is the same as that for RF communication mode)

WRITE 0x08 0xD6 Writes data to the host from reader/writer. (Command code is the same as that for RF communication mode)

Table 6-5 Serial-Communication-Side Commands List in Tunnel Mode

Name Code Descripion QUERY 0x28 The host inquires about the content of tunnel mode

command to RFID. ANSWER (normal

end) 0xF8 The host reports the processing result (normal end) of

tunnel mode command to RFID. ANSWER (error) 0xE8 The host reports the processing result (error) of tunnel

mode command to RFID.

Page 93: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

Command 93

6.4.1 Read in Tunnel Mode

Purpose Reads data of the host from reader/writer via RFID. 1. Read Command in Tunnel Mode (Reader/Writer to RFID) JIX6319-4 Format

Command code PICC identifier

No. of service file identifiers (k)

List of service file identifiers

No. of blocks (m) Block list

1 byte 8 bytes 1 byte 2×k byte 1 byte 2×m or 3×m bytes

Data field

Field Setting Remarks Command code 0x06 PICC identifier PICC identifier acquired by REQ command

described in Section 4.2.6.1 REQ.

No. of service file identifiers (k)

Number of service files Setting range: 0x01(1) to 0x0F(15)

When the range other than the range on the left column is set, the RFID responds with an error.

List of service file identifiers

Don't care (Setting example: 0x0900) When specifying multiple services, the RFID responds with an error if all service files are not set to the same value.

No. of blocks (m) Number of blocks specified in block list Setting range: RF communication mode: 0x01(1) to 0x0D(13) Other communication: 0x01(1) to 0x0F(15)

When the range other than the range on the left column is set, the RFID responds with an error.

Block list Block list of data to be read For information about how to set, see the following: See 4.2.5.6 Block. See 4.2.5.7 Block List.

ISO/IEC14443 TypeB Format

CLA INS P1 P2 Le 1 byte 1 byte 1 byte 1 byte 1 byte

Data field

Field Setting Remarks CLA 0x00 Responds with an error,

except 0x00. INS 0xB0

Page 94: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

94 Command

P1 Start address of data to be read See 4.3.8.5 Address.

P2 Start address of data to be read See 4.3.8.5 Address.

Le Byte length of data to be read Setting range: 0x01(1) to 0xFB(251)

2. QUERY Command (Host to RFID) Format

Command code 1 byte

Data field

Field Setting Remarks Command code 0x28

3. QUERY Response (RFID to Host) Format

Response code Start address Data length n 1 byte 2 bytes 1 byte

Data field

Field Setting Remarks Response code 0x08 Start address Address at which to start reads Byte units

Big endian format Data length n Size of data to be read Byte units

4. ANSWER Command (Host to RFID) Format

Command code Data 1 byte n bytes

Data field

Field Output value Remarks Command code 0xF8: Normal end

0xE8: Error

Data Data of the range specified by the response to the QUERY command

See Note below.

Note: If the status of the ANSWER command is "error", omit the data.

5. ANSWER Response (RFID to Host) Format

Page 95: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

Command 95

Status 1 byte

Data field

Field Output value Remarks Status See 5.2.5 Status.

6. Read Response in Tunnel Mode (RFID to R/W) JIX6319-4 Format

Response code PICC identifier Status flag 1 Status flag 2 No. of blocks (m) Block data

1 byte 8 bytes 1 byte 1 byte 1 byte 16×m bytes Data field

Field Ourput value Remarks Response code 0x07 PICC identifier See 4.2.5.2 PICC (Proximity IC Card) Identifier. Status flag 1 See 4.2.5.8 Status Flag. Status flag 2 See 4.2.5.8 Status Flag. No. of blocks (m) Number of blocks specified by the tunnel mode

read command Omitted when the status is not "Normal end"

Block data Data specified by the ANSWER command See 4.2.5.7 Block List.

Omitted when the status is not "Normal end"

ISO/IEC14443 TypeB Format

Data SW1 SW2

1 to 251 bytes 1 byte 1 byte Data field

Field Output value Remarks Data Read data

See 4.3.8.6 Data. Omitted when the status word is not "Normal end"

SW1 See 4.3.8.7 Status Word. SW2 See 4.3.8.7 Status Word.

Page 96: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

96 Command

6.4.2 Write in Tunnel Mode

Purpose Writes a data to the host from reader/writer, via RFID. 1. Write Command in Tunnel Mode (R/W to RFID) JIX6319-4 Format

Command code

PICC identifier

No. of service file identifiers (k)

List of service file identifier

No. of blocks

(m) Block list Block data

1 byte 8 bytes 1 byte 2×k bytes 1 byte 2×m or 3×m bytes 16×m bytes

Data field

Field Setting Remarks Command code 0x08 PICC identifier PICC identifier acquired by REQ command

described in Section 4.2.6.1 REQ.

No. of service file identifiers (k)

Number of service files Setting range: 0x01(1) to 0x0B(11)

When the range other than the range on the left column is set, the RFID responds with an error.

List of service file identifier

Don't care (Setting example: 0x0900) When specifying multiple services, the RFID responds with an error if all service files are not set to the same value.

No. of blocks (m) Number of blocks specified by block list Setting range: 1 to 8 service files: 0x01(1) to 0x0C(12) 9 to 11 service files: 0x01(1) to 0x0B(11)

When the range other than the range on the left column is set, the RFID responds with an error.

Block list Block list of data to be written For information about how to set, see the following: See 4.2.5.6 Block. See 4.2.5.7 Block List.

Block data See 4.2.5.7 Block List. ISO/IEC14443 TypeB Format

CLA INS P1 P2 Lc Data 1 byte 1 byte 1 byte 1 byte 1 byte 1 to 248 bytes

Data field

Field Setting Remarks CLA 0x00 Responds with an error,

except 0x00

Page 97: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

Command 97

INS 0xD6 P1 Start address of data to be written

See 4.3.8.5 Address.

P2 Start address of data to be written See 4.3.8.5 Address.

Lc Byte length of Data block Setting range: 0x01(1) to 0xF8(248)

Data Write data See 4.3.8.6 Data.

2. QUERY Command (Host to RFID) Format

Command code 1 byte

Data field

Field Setting Remarks Command code 0x28

3. QUERY Response (RFID to Host) Format

Response code Start address Data length n Data 1 byte 2 bytes 1 byte n bytes

Data field

Field Setting Remarks Response code 0x18 Start address Address at which writes start Byte units

Big endian format Data length n Size of data to be written Byte units Data Data to be written to the host

4. ANSWER Command (Host to RFID) Format

Command code 1 byte

Data field

Field Output value Remarks Command code 0xF8: Normal end

0xE8: Error

5. ANSWER Response (RFID to Host) Format

Page 98: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 6 Tunnel Mode

98 Command

Status 1 byte

Data field

Field Output value Remarks Status See 5.2.5 Status.

6. Write Response in Tunnel Mode (RFID to R/W) JIX6319-4 Format

Response code PICC identifier Status flag 1 Status flag 2 1 byte 8 bytes 1 byte 1 byte

Data field

Field Output value Remarks Response code 0x09 PICC identifier See 4.2.5.2 PICC (Proximity IC Card) Identifier. Status flag 1 See 4.2.5.8 Status Flag. Status flag 2 See 4.2.5.8 Status Flag.

ISO/IEC14443 TypeB Format

SW1 SW2 1 byte 1 byte

Data field

Field Output value Remarks SW1 See 4.3.8.7 Status Word. SW2 See 4.3.8.7 Status Word.

Page 99: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

7

Page 100: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

100 Exclusive Control

7.1 Exclusive Control While in operation mode, this RFID performs an exclusive control not to receive other commands. Figure 7-1 shows the exclusive control period. The period is from the start of an operation mode command to the end of the response to the command. In tunnel mode, the period is from the start of the tunnel mode command from reader/writer (see SNo.1 in Figure 6-1Tunnel Mode Sequence) to the end of the response to the command from RFID to reader/writer (see SNo.8 in Figure 6-1Tunnel Mode Sequence).

Figure 7-1 Exclusive Control Period Table 7-1 shows the operations in exclusive control period for each operation mode. Illegular cases that are not generated normally are indicated with parenthesis. If a command from the host is parity or checksum error, the RFID responds with an error (error code: 0x06), not with BUSY. It responds with BUSY for unimplemented command. In tunnel mode, the RFID operation differs between before and after IRQ output following the reception of a tunnel mode command from reader/writer.

Table 7-1 Operation during Exclusive Control (Irregular Case in Parenthesis)

Current operation mode

Receive command Operation to a receive command

Operation mode From

RF communication mode

(RF communication mode) (R/W) (No response)

Serial communication mode Host Responds with

BUSY Responds with 0x06 for Parity or Checksum error

(Tunnel mode) (R/W) (No response)

Tunnel mode (Host) (Responds with BUSY)

Responds with 0x06 for Parity or Checksum error

serial communication mode

RF communication mode R/W No response

(Serial communication mode) (Host) (No response)

Tunnel mode R/W No response (Tunnel mode) (Host) (No response)

Tunnel mode

(RF communication mode) (R/W) (No response)

Serial communication mode Host Responds with

BUSY (See Note.) Responds with 0x06 for Parity or Checksum error

(Tunnel mode) (R/W) (No response) Tunnel mode Host See 6.1 Tunnel Mode Sequence.

(Note) In tunnel mode, this RFID sends no response to the serial communication command for the period between QUERY command reception and response to the command or the period between ANSWER command reception and response to the command. (This operation is the same as the exclusive control operation in serial communication mode.)

Command Response

TimeExclusive control period

Page 101: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

Exclusive Control 101

Figure 7-2 shows the detail of exclusive control in tunnel mode when UART serial interface is used. When the RFID receives a command from the host during tunnel mode command reception and before IRQ output, it sends a response with BUSY and then outputs IRQ after the wait time specified by the UARTWT setting elapses. When the RFID receives a command (other than QUERY) from the host after IRQ output, it responds with BUSY to the command.

Figure 7-2 Exclusive Control in Tunnel Mode (UART)

Command

Exclusive control period

ResponseRF I/F

IRQ

TX

RX

Response with BUSY

Command

Exclusive control period

ResponseRF I/F

IRQ

TX

RX

Response with BUSY

Command other than QUERY

Command

IRQ generated(*)

Wait time specified by the UARTWT setting

IRQ generated (*)

UA

RT

(RFI

D s

ide)

Issuing a serial interface command before generating IRQ

Issuing a serial interface command after generating IRQ

(*) When IRQSEL = 1 (IRQ sent through TX), generating IRQ causes IRQ code (0xFE) output to start.

UA

RT

(RFI

D s

ide)

UART

Page 102: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

102 Exclusive Control

Figure 7-3 shows the detail of exclusive control in tunnel mode when clock synchronous serial interface is used. When the RFID receives a command from the host during tunnel mode command reception and before IRQ output, it sends a response with BUSY and then outputs IRQ again approximately 1 μs after the response is terminated. When the RFID receives a command (other than QUERY) from the host after IRQ output that reports a tunnel mode command is received, it responds with BUSY to the command.

Figure 7-3 Exclusive Control in Tunnel Mode (Clock Synchronous)

Command

Exclusive control period

ResponseRF I/F

IRQ

IO

SCK

Response with BUSY

Command

Exclusive control period

ResponseRF I/F

IRQ

IO

SCK

Response with BUSY

Command other than QUERY

IRQ generated to report a tunnel mod command is receivedClo

ck s

ynch

rono

us (R

FID

sid

e)

Issuing a serial interface command before generating IRQ that reports a tunnel mode command is received

Issuing a serial interface command after generating IRQ that reports a tunnel mode command is received

Clock synchronous

Clo

ck s

ynch

rono

us (R

FID

sid

e)

QUERY command

Command other than QUERY

IRQ generated to report a tunnel mod command is received

Page 103: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

State Transition Diagram in Operation Mode 103

7.2 State Transition Diagram in Operation Mode Figure 7-4 shows the state transition diagram of this RFID in operation mode.

Figure 7-4 State Transition Diagram in Operation Mode

IDLE

TUNNEL_MODE1(*1)

TUNNEL_MODE2(*1)

Tunnel mode command/IRQ transmission

QUERY command/Response to QUERY

ANSWER command/Response to ANSWER &Response to tunnel mode

No wait time [QWT] host command/QRTRY count up & IRQ transmission (*3)

QUERY command/Response to QUERY

IRQ retry count ≧ [QRTRY]Tunnel mode response (error)

No wait time [AWT] host command/Response to tunnel mode (error)

Command from the host except QUERY/Response with BUSY & QRTRY

Count up (*2)

Command from reader/writer/No response

RF communication mode command

Serial communication mode command

Processing end/Response

Command from the host except QUERY and ANSWER/

Response with BUSY (*2)

Command from reader/writer/No response

Command from the host/No response

Command from reader/writer/No response

Command from the host/Response with BUSY

Command from reader/writer/No response

QUERY or ANSWER command/Response with an error(*2)

Serial interface unimplemented command/Response with an error(*2)

SERIAL_COM_MODE(*1)

RF_COM_MODE

Processing end/Response

(*1):VDD2 must be applied when using serial interface (Unnecessary when sending IRQ by RFID).(*2) Host command is unimplemented for clock synchronous. When frame size cannot be calculated

(such as ANSWER command, etc.), data of 256 bytes in total must be input to complete command reception.(See Table 5-8 Frame End Condition.)

(*3) For clock synchronous, no IRQ is sent if no wait time [QWT] host command exists (QRTRY count up only)

Page 104: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

104 Flow Chart in Tunnel Mode

7.3 Flow Chart in Tunnel Mode Figure 7-5 illustrates a flow chart for tunnel mode. When no command is sent from the host in the TUNNEL_MODE1 state, the RFID re-sends an IRQ for UART but does not re-send for clock synchronous.

Tunnel mode command reception

Initialize & start the timer.

Set Retry Counter to 0.

Retry Counter= QRTRY?

Yes

No

Response with Busy

Generate IRQ.

Response to QUERY

TUNNEL_MODE1QUERY command No command fro the host

Response to ANSWER

ANSWER command QUERY command Command from the host, except QUERY and ANSWER

Timer ≧ AWT setting

No command from the host

Response to tunnel mode Response with an error to tunnel modeCarrier OFF

Regardless of the state after tunnel mode reception, a Carrier OFF causes the RFID to transition to IDLE state.

Count up Retry Counter.

Command from the host, except QUERY

Timer ≧ QWT setting

Retry Counter= QRTRY?

Count up Retry Counter.

Yes

No

No

Yes

Initialize & start the timer.

Stop the timer (holding the timer value).

Command from the host received

Response to QUERY Response to Busy

Re-start the timer.Timer

TUNNEL_MODE2

Yes

No

IDLE state

UART

Clock synchronous

Page 105: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

Flow Chart in Tunnel Mode 105

Figure 7-5 Flow Chart in Tunnel Mode

Figure 7-6 illustrates the sequence of receiving commands other than QUERY in TUNNEL_MODE1. For unimplemented commands, a wait time of the frame end condition is further added. This specification is applied to UART only.

Figure 7-6 Sequence during Command Reception except TUNNEL_MODE1 QUERY (UART only)

Command other than QUERY(implemented command)

RX

TX

Wait time specified by the UARTWT setting.

Command other than QUERY(unimplemented command)

RX

TX Response with BUSY

Wait time specified by the UARTWT setting

Frame end conditions:・10 ms or more (9600 bps or less)・3 characters or more(19.2 kbps or more)

Response with BUSY

QWT timer stopped Retry counter upQWT timer initialized & re-start

QWT timer stopped Retry counter upQWT timer initialized & re-start

Command other than QUERY (implemented command)

Command other than QUERY (unimplemented command)

UA

RT

(RFI

D s

ide)

UA

RT

(RFI

D s

ide)

Page 106: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 7 Annex

106 Maximum Command Processing Time (UART)

7.4 Maximum Command Processing Time (UART) When specifying the timing to re-send a command of the serial interface (UART), the maximum command processing time must be set to prevent the command from overlapping previous command's transmit/receive periods. illustrates the definition of command processing time. Additionally, the formula used to calculate the maximum processing time of each command of the serial interface is shown in . tUARTWT has an error of ±25%, so is set to 1.25 times.

Figure 7-7 Command Processing Time

Table 7-2 Maximum Command Processing Formula (UART)

tCMD tUARTWT tRSP

READ Baudrate

bytes )11(6 a+× UARTWT setting ×1.25 Baudrate

bytes 11257 ×

WRITE Baudrate

bytes )11(257 a+× UARTWT setting ×1.25 Baudratebytes 113 ×

QUERY Baudrate

bytes )11(3 a+× UARTWT setting ×1.25 Baudrate

bytes 11257 ×

ANSWER Baudrate

bytes )11(257 a+× UARTWT setting ×1.25 Baudratebytes 113 ×

a refers to the period between characters (from stop bit to start bit of next character)

CommandRX

TX

UA

RT

(RFI

D s

ide)

Response

tCMD tUARTWT tRSP

Page 107: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

107

Chapter 8 Electrical characteristics

8

Page 108: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

108

Attention

The technical information described in this document is intended only to show the main characteristics and application circuit examples of the product. No license is granted in and to any intellectual property right or other right owned by Panasonic Corporation or any other company. Therefore, no responsibility is assumed by our company as to the infringement upon any such right owned by any other company which may arise as a result of the use of technical information described in this document. Use caution regarding the orientation of the LSI during use. Mounting of the LSI in an incorrect orientation

may cause smoke or fire.

Page 109: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

109

Type CMOS integrated circuit with built-in FeRAM

Application Various systems

Function Dual interface RFID

A. Absolute Maximum Ratings Note 1) VSS = 0 V

Parameter Symbol Rating Unit

A1

Supply voltage Note 2)

VDD2 -0.3 to +4.6 V

A2 VDD1 -0.3 to +4.6 V

A3 VDD -0.3 to +2.5 V

A4 Voltage antenna terminals swing (VB Peak to peak) Note3) VCBA ±30 V

A5 Input pin voltage (TEST, NCLP) VI2 -0.3 to +4.6 V

A6 Input pin voltage (SEL, RX) VI3 -0.3 to +6.0 V

A7 Input/output pin voltage (TX3V) VIO1 -0.3 to +4.6 V

A8 Input/output pin voltage (TX5V) VIO2 -0.3 to +6.0 V

A9 Output pin voltage (IRQ3V) VO1 -0.3 to +4.6 V

A10 Output pin voltage (IRQ5V) VO2 -0.3 to +6.0 V

A11 Output current IO +12 mA

A12 Storage temperature Note 3) Tstg -40 to 85 °C

A13 Operating ambient temperature Topr -20 to 85 °C Note 1) The absolute maximum ratings are the limit values beyond which the IC may be damaged.

Operation is not guaranteed under these conditions. Note 2) VDD1 and VDD are not external-power supply input pins.

Note 3) Voltage antenna terminals swing (VCBA) is shown as follows.

VCBA

( VB Peak to Peak )

VB

VCBA

( VB Peak to Peak )

VB

Page 110: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

110

Usage Notes 1.Decoupling capacitor should be connected between VDD2 and VSS, at as a short distance as possible.

2.Decoupling capacitor should be connected between VDD1 and VSS, and Between VDD and VSS, respectively at as a short distance as possible. Between VDD and VSS : 0.1μF

Between VDD1 and VSS : 0.1μF

Between VDD1 and VSS : 0.1μF

Page 111: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

111

B. Operating Conditions Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

B1 Supply voltage VDD2 VDD2 See Conditions 1) and 2). 1.8 3.3 3.6 V

B2 Pullup voltage for 5V tolerant I/O (TX5V, IRQ5V)

VPU5

4.5 - 5.5 V

Reference Value Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

B3 Output voltage VDD1 VDD1 See Conditions 1) and 2), or D9 (RF = High) on page 10. 1.75 1.9 3.6 V

B4 Output voltage VDD VDD See Conditions 1) and 2), or D9 (RF = High) on page 10. 1.7 1.85 2.0 V

Condition 1)

Fig. 1

Condition 2)

Fig. 2

⋅ When the external supply voltage VEXT = 4.5 V to 5.5 V, connect a 5.1-kΩ resistor RS between VEXT and VDD2 as shown in Fig. 1.

⋅ The tolerance of resistor RS must be within ±5%. ⋅ Set NCLP to low to turn on the internal clamp circuit.

VDD2

RS

VEXT

VSS

0.1 µF

VEXT = 4.5 V to 5.5 V

VDD2

VEXT

VSS

VEXT = 1.8 V to 3.6 V

0.1 µF

⋅ When the external supply voltage VEXT = 1.8 V to 3.6 V, connect VDD2 to VEXT directly as shown in Fig. 2.

⋅ Set NCLP to high to turn off the internal clamp circuit.

Page 112: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

112

C. Electrical Characteristics D.C. Characteristics Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

C1 Operating supply current of VDD2 IDD2A See condition 1) (VEXT =

5.5 V) on page 4. - 430 500 µA

C2 Operating supply current of VDD2 IDD2B See condition 2) (VEXT =

3.6 V) on page 4. - 310 500 µA

Reference Value Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

C3 Operating supply current of VDD1 IDD1

VDD1 = 2.0 V, with 13.56-MHz clock input between VA and VB pins for RF communication.

- 220 400 µA

Note 5) The value specified in C3 is for reference only and is inspected in the IC manufacturing process

based on the RF communication standards.

Page 113: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

113

I/O Pin Characteristics Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

Input Pin: TEST

C4 Input voltage (Low) VIL1 0 - 0.3×VDD2 V

C5 Input leakage current ILK1 Fixed to low -10 0.02 +10 µA

Input Pin: NCLP

C6 Input voltage (High) VIH2 0.7×VDD2 - VDD2 V

C7 Input voltage (Low) VIL2 0 - 0.3×VDD2 V

C8 Input leakage current ILK2 -10 0.02 +10 µA

Input Pin: RX, SEL (5 V Tolerant)

C9 Input voltage (High) VIH3 0.6×VDD2 - 5.5 V

C10 Input voltage (Low) VIL3 0 - 0.2×VDD2 V

C11 Input leakage current ILK3 -20 0.04 +20 µA

Input/Output Pin: TX3V

C12 Input voltage (High) VIH4 0.7×VDD2 - VDD2 V

C13 Input voltage (Low) VIL4 0 - 0.3×VDD2 V

C14 Output leakage current ILK4

-10 0.02 +10 µA

C15 Output voltage (Low) VOL4 VDD2 = 3.3 V, IOL = 4.0 mA - - 0.4 V

Input/Output Pin: TX5V (5 V Tolerant)

C16 Input voltage (High) VIH5 0.6×VDD2 - 5.5 V

C17 Input voltage (Low) VIL5 0 - 0.2×VDD2 V

C18 Output leakage current ILK5

-20 0.04 +20 µA

C19 Output voltage (Low) VOL5 VDD2 = 3.3 V, IOL = 4.0 mA - - 0.4 V

Output Pin: IRQ3V

C20 Output leakage current ILK6

-10 0.02 +10 µA

C21 Output voltage (Low) VOL6 VDD2 = 3.3 V, IOL = 4.0 mA - - 0.4 V

Output Pin: IRQ5V (5 V Tolerant)

C22 Output leakage current ILK7

-20 0.04 +20 µA

C23 Output voltage (Low) VOL7 VDD2 = 3.3 V, IOL = 4.0 mA - - 0.4 V

Reference Information In our evaluation, 3.3-kΩ (reference value) pullup resistors are connected to the open-drain pins TX3V,

TX5V, IRQ3V and IRQ5V. Determine the value of pullup resistors based on data rate, load capacitance, and other factors.

Page 114: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

114

Input Capacitance VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

C24

Input capacitance between antenna coil connection pins (VA and VB)

CI

Ta = 25°C 13.56 MHz, amplitude (RMS) 1 V, bias 2 V

15.5 17.5 19.5 pF

Load Switch Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

C25 Load switch resistance RLD

Between VA and VB pins 90 150 210 Ω

Clamp Circuit Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

C26 Clamp voltage for VDD2 VCLP

See condition 1) on page 4. - - 3.6 V

Page 115: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

115

D. AC Characteristics Serial Interface (UART) Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

D1 RX rise time tRRX - - tDRX×0.025 s

D2 RX fall time tFRX - - tDRX×0.025 s

D3 TX 1-bit data period tDTX tDTX×0.975 - tDRX×1.025 s

Fig. 3

0.6 × VDD2

tFRX

RX

tDRX:1-bit data period

0.2 × VDD2

0.6 × VDD2

tRRX

0.2 × VDD2

0.6 × VDD2

TX0.2 × VDD2

0.6 × VDD2

0.2 × VDD2

tDRX

tDTX: 1-bit data period

tDTX

Page 116: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

116

Serial Interface (Clock Synchronous) Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

D4 Clock frequency fSCK 0.01 - 1 MHz

D5 Receive data setup time tRXDS 100 - - ns

D6 Receive data hold time tRXDH 100 - - ns

D7 Transmit data setup time tTXDS 100 - - ns

D8 Transmit data hold time tTXDH 100 - - ns

Fig. 4

tRXDS tRXDH

SCK (RX pin)

IO (TX pin)

Data Reception

tTXDS tTXDH

SCK (RX pin)

IO (TX pin)

Data Transmission

Page 117: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

117

RF Interface Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

D9 VB pin voltage

(Peak to peak, RF = High, VDD2: Not applied)

VRFH1 The frequency of the antenna coil connection pins: 13.56 MHz 4.5 - 21 V

D10 VB pin voltage

(Peak to peak, RF = High, VDD2: Applied)

VRFH2 The frequency of the antenna coil connection pins: 13.56 MHz 3.5 - 21 V

D11 Modulation factor for command reception

m

JISX6319-4 standards:

Data rate of 212 kbps Output waveform with independent reader/writer

4.0 - 14 %

.

Fig. 5

ba

RFWaveform

babam

+−

=ModulationFactor

The RF waveform is measured with a calibration coil specified in ISO/IEC 10373-6.

RF=High RF=Low RF=High

ba

RFWaveform

babam

+−

=ModulationFactor

The RF waveform is measured with a calibration coil specified in ISO/IEC 10373-6.

RF=High RF=Low RF=High

a

VRFH*

Page 118: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Chapter 8 Electrical characteristics

118

E. Power Supply Startup Ta = -20°C to 85°C, VSS = 0 V

Parameter Symbol Conditions Limits

Unit Min Typ Max

E1 Startup time for VEXT power supply tBOOT1

VEXT = 4.5 V to 5.5 V See note 6)

- - 5 ms

E2 Startup time for VEXT power supply tBOOT2

VEXT = 1.8 V to 3.6 V See not 7)

- - 3 ms

E3 Pulse width for VEXT power supply tPLW1

VEXT = 4.5 V to 5.5 V See note 6)

5 - - ms

E4 Pulse width for VEXT power supply tPLW2

VEXT = 1.8 V to 3.6 V See note 7)

3 - - ms

E5 Rise time for VEXT power supply tSLW1

VEXT = 4.5 V to 5.5 V See not 6)

0.1 - - ms

E6 Rise time for VEXT power supply tSLW2

VEXT = 1.8 V to 3.6 See noteV 7)

0.1 - - ms

Note 7) Smooth capacitor between VDD2 and VSS: 0.1 µF, Smooth capacitor between VDD and VSS: 0.1 µF

Resistor between VEXT and VDD2: 5.1 kΩ

Note 8) Smooth capacitor between VDD2 and VSS: 0.1 µF, Smooth capacitor between VDD and VSS: 0.1 µF

Fig. 6

VEXT

Command reception is enabled

tBOOT

VEXT

tPLW

VEXT

tSLW

VEXT

Command reception is enabled

tBOOT

VEXT

tPLW

VEXT

tSLW

Page 119: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

119

Revision History

Revised on Jun14, 2013

Purpose Version 1.0 Version xx

Page Section Comments Page Section Comments

Initial edition

Revised on Oct 08, 2013

Purpose Version 1.0 Version 1.1

Page Section Comments Page Section Comments

Modify P50 Table4-10

Physical adr 0x0001 Value : 0x0F Physical adr 0x0003 to 0x0004 Value : 0x0018

P50 Table4-10

Physical adr 0x0001 Value : 0x0D Physical adr 0x0003 to 0x0004 Value : 0x001A

Revised on Feb 24, 2015

Purpose Version 1.1 Version 1.2

Page Section Comments Page Section Comments

Add --- --- --- P107 --- Chapter 8 Electrical characteristics

Page 120: DATA SHEET - Panasonic · 2018-06-11 · This mode is used for communication between reader/writer and host via RFID. Reader/writer is the master and host is the slave. Key commands

Request for your special attention and precautionsin using the technical information and semiconductors described in this book

(1) If any of the products or technical information described in this book is to be exported or provided to non-residents, thelaws and regulations of the exporting country, especially, those with regard to security export control, must be observed.

(2) The technical information described in this book is intended only to show the main characteristics and application circuitexamples of the products. No license is granted in and to any intellectual property right or other right owned byPanasonic Corporation or any other company. Therefore, no responsibility is assumed by our company as to theinfringement upon any such right owned by any other company which may arise as a result of the use of technicalinformation de-scribed in this book.

(3) The products described in this book are intended to be used for general applications (such as office equipment,communications equipment, measuring instruments and household appliances), or for specific applications as expresslystated in this book.Please consult with our sales staff in advance for information on the following applications, moreover please exchangedocuments separately on terms of use etc.: Special applications (such as for in-vehicle equipment, airplanes, aerospace,automotive equipment, traffic signaling equipment, combustion equipment, medical equipment and safety devices) inwhich exceptional quality and reliability are required, or if the failure or malfunction of the products may directlyjeopardize life or harm the human body.Unless exchanging documents on terms of use etc. in advance, it is to be understood that our company shall not be heldresponsible for any damage incurred as a result of or in connection with your using the products described in this bookfor any special application.

(4) The products and product specifications described in this book are subject to change without notice for modificationand/or improvement. At the final stage of your design, purchasing, or use of the products, therefore, ask for the most up-to-date Product Standards in advance to make sure that the latest specifications satisfy your requirements.

(5) When designing your equipment, comply with the range of absolute maximum rating and the guaranteed operatingconditions (operating power supply voltage and operating environment etc.). Especially, please be careful not to exceedthe range of absolute maximum rating on the transient state, such as power-on, power-off and mode-switching. Other-wise, we will not be liable for any defect which may arise later in your equipment.Even when the products are used within the guaranteed values, take into the consideration of incidence of break downand failure mode, possible to occur to semiconductor products. Measures on the systems such as redundant design,arresting the spread of fire or preventing glitch are recommended in order to prevent physical injury, fire, social damages,for example, by using the products.

(6) Comply with the instructions for use in order to prevent breakdown and characteristics change due to external factors(ESD, EOS, thermal stress and mechanical stress) at the time of handling, mounting or at customer's process. We donot guarantee quality for disassembled products or the product re-mounted after removing from the mounting board.When using products for which damp-proof packing is required, satisfy the conditions, such as shelf life and the elapsedtime since first opening the packages.

(7) When reselling products described in this book to other companies without our permission and receiving any claim ofrequest from the resale destination, please understand that customers will bear the burden.

(8) This book may be not reprinted or reproduced whether wholly or partially, without the prior written permission of ourcompany.

No.010618