FUJITSU SEMICONDUCTOR DATA SHEET DS04-33101-3E ASSP ISO/IEC15693 Compliant FRAM Embedded High-speed RFID LSI FerVID familyTM MB89R118 ■ DESCRIPTION The MB89R118 is an LSI device that has built-in high-speed, large-capacity FRAM and is used for vicinity-RFID. ■ FEATURES • • • • • • • • • • • • • • • Memory capacity of 2 Kbytes FRAM (including 2,000 bytes of user area) 8-byte/block configuration, 256 blocks High-speed programming at 75.52 µs per block (internal programming time) High-speed data transmission and reception at 26.48 Kbps Fast command supported (data transmission at 52.97 Kbps) (Transponder → Reader/Writer) Carrier frequency at 13.56 MHz Anti-collision function : 30 tags per second Power consumption of 150 µW (Typ) Endurance : 1010 writes to memory Data Retention : 10 years at +55 °C 64-bit UID FRAM memory data protection Anti-theft (EAS) command Compliance with ISO/IEC 15693 (partly not supported*) Compliance with ISO/IEC 18000-3 (Mode 1) (partly not supported*) * : Refer to “■ NOTES ON USING”. FerVID family is a trademark of Fujitsu Limited. MB89R118 ■ BLOCK DIAGRAM Analog RF interface Antenna coil Digital control Rectifier Clock extractor Power supply voltage control Modulator VDD Anti-collision function Clock Demodulator Data output I/O Commands Data input Data output FRAM access 2 FRAM Data input R/W 2 Kbytes MB89R118 ■ MEMORY MAP This section describes the FRAM memory, which is the internal memory of the MB89R118. • FRAM Configuration The FRAM has 2,000 bytes for use as user area and 48 bytes for use as system area. The FRAM memory areas consist of a total of 256 blocks (250 blocks of user area and 6 blocks of system area). Each block can store 64 bits (8 bytes) of data. The block is the unit used for the writing and reading of FRAM data. The memory map of the FRAM is shown below. • FRAM configuration Area Block No. Details Data read Data write User area (2000 bytes) System area (48 bytes) 00H to F9H User area Yes Yes FAH UID (64 bits) Yes No FBH AFI, DSFID, EAS, security status Yes Limited Block security status Yes No FCH to FFH Blocks “00H” to “F9H” are user area. The user area is defined as an area that can be accessed when the corresponding block address is specified. On the other hands, Blocks “FAH” to “FFH” are system area. The system area is defined as an area that can be accessed only with a specific command (request). The system area consists of 6 blocks and contains UID, AFI, DSFID, EAS bit, and security status (can write or cannot write) data for individual block. UID is fixed and cannot be updated. AFI, DSFID, and EAS bit are written at the factory, and can be updated and locked (disable to write) with commands. (Only EAS bit cannot be locked.) As shown in above, “FAH” holds the UID, and “FCH” to “FFH” hold the security status information on individual user areas. As shown in “• Structure of FBH”, “FBH” contains AFI, AFI lock status byte, DSFID, DSFID lock status byte, and EAS bit. As shown in the next following figure system areas, “FCH” to “FFH” contains block security status data. • Structure of “FBH” MSB 64 LSB 57 56 EAS Status 33 RFU* 32 25 24 17 DSFID Lock AFI Lock Status Status 16 DSFID 9 8 1 AFI * : Reserved for future use 3 MB89R118 • Structure of “FCH” to “FFH” Block security status (BSS) of user block 3FH Block security status (BSS) of user block 00H MSB LSB FCH 3F 3E 3D 3C 3B 3A 39 03 02 01 00 FDH 7F 7E 7D 7C 7B 7A 79 43 42 41 40 FEH BF BE BD BC BB BA B9 83 C3 82 C2 81 C1 80 C0 FFH RFU* (6 bits) F9 * : Reserved for future use The security status of the user area for 250 blocks is stored in the block security status bits in 4 system area blocks of “FCH” to “FFH”. A user area is unlocked when the corresponding block security status bit is “0”; it is locked (disable to write state) when the corresponding block security status bit is “1”. It is possible to read/write data of 2 blocks (128 bits) at one time in the user area. (If Read Multiple Blocks Unlimited command is used, up to 256 blocks can be accessed at one time.) EAS bit is a single bit, and it is used for setting EAS status. 4 MB89R118 ■ DATA ELEMENT DEFINITION 1. Unique Identifier (UID) The MB89R118 has a 64-bit unique identifier (UID) that complies with ISO/IEC 15693-3. The UID is used to distinguish a transponder from another transponder in the anti-collision algorithm described later. The UID consists of the 3 items shown in the following. • An 8-bit data whose value is always “E0H” (bit 57 to bit 64) • An 8-bit IC manufacturer’s code whose value is always “08H”, and is defined by ISO/IEC 7816-6/AMI (bit 49 to bit 56) • Unique 48-bit serial number assigned by Fujitsu (bit 1 to bit 48) Among the unique 48-bit serial number assigned by Fujitsu, the 1 byte from bit 41 to bit 48 defines MB89R118 code whose value is “01H”. And the 5 bytes from bit 1 to bit 40 define Chip Information. • Structure of UID MSB LSB 64 57 56 “E0H” 49 48 IC manufacturer code “08H” 41 40 “01H” 1 Chip information Unique serial number assigned by Fujitsu 5 MB89R118 2. Application Family Identifier (AFI) The application family identifier (AFI) identifies the type of application set by the transponder. The AFI can be written with a command. The AFI is 8-bit data and is stored in the system area of memory (FRAM). The factory default setting of the AFI is “00H”. • Types of AFI Application Application Family Sub-Family Application Use Field Example/Note (b8-b5) (b4-b1) “0” “0” All families and sub-families No application preselection X “0” All sub-families of family X X Y Only the Yth sub-families of family X “0” Y All families of Yth sub-families “1” “0”, Y Transport Mass transit, bus, airline “2” “0”, Y Financial IEP, banking, retail “3” “0”, Y Identification “4” “0”, Y Telecommunication “5” “0”, Y Medical “6” “0”, Y Multimedia “7” “0”, Y Gaming “8” “0”, Y Data storage “9” “0”, Y “A” “0”, Y ISO/IEC JTC1/SC31 “B” “0”, Y IATA Managed by ISO/IEC JTC1/SC31 “C” “0”, Y UPU Managed by ISO/IEC JTC1/SC31 “D” “0”, Y RFU* Managed by ISO/IEC JTC1/SC31 “E” “0”, Y RFU* Managed by ISO/IEC JTC1/SC31 “F” “0”, Y RFU* Managed by ISO/IEC JTC1/SC31 Wide applicative preselection Access control Public telephone, GSM Internet services Portable files EAN-UCC system for application identifiers Managed by ISO/IEC JTC1/SC31 Data identifiers as defined in ISO/IEC15418 * : Reserved for future use Note : Both X value and Y value are “1” to “F”. In the status of the AFI_flag setting; • If the AFI is not supported by the transponder, no response to all requests is returned. • If the AFI is supported by the transponder, the response is returned only if the value is in accord with the AFIsent from a reader/writer. 3. Data Storage Format Identifier (DSFID) The data storage format identifier (DSFID) indicates how data is structured in the transponder (LSI memory device). The DSFID can be programmed with a command. The DSFID is 8-bit data and is stored in the system area of memory (FRAM). The factory default setting of the DSFID is “01H”. 6 MB89R118 4. Cyclic Redundancy Check (CRC) When a frame is received, reception of correct data--that is, the characters making up the frame is assumed only when the value of the cyclic redundancy check (CRC) code is valid. For error-checking purposes, a 2-byte CRC code value is inserted between data and the EOF signal. The value of CRC code is required from all the data contained between the SOF and CRC field in each frame. Method of calculation is provided in ISO/IEC 13239. The initial value of the CRC code provided in ISO/IEC 15693-3 is “FFFFH”. The CRC code is transferred, beginning with the lowest-order bit in the lowest-order byte. • CRC bit/byte transition order LSByte LSBit MSByte MSBit CRC 16 (8 Bits) LSBit MSBit CRC 16 (8 Bits) First transmitted bit of the CRC 5. Electronic Article Surveillance (EAS) status EAS status is 1 bit data (LSB side) , which is stored in the system area of memory (FRAM) . The initial value is “1”. EAS bit “1” means goods-monitoring status, and EAS bit “0” means that goods-monitoring status is cleared. EAS status can be written by Write EAS command and can be checked “FBH” block (refer to “■ MEMORY MAP”) by Read commands such as Read Signal Block command. Together with Gate type reader/writer, EAS command can support anti-theft security functions. 7 MB89R118 ■ ABSOLUTE MAXIMUM RATINGS Parameter Ratings Symbol Min Max Unit Maximum antenna input current Imax ⎯ 90 mA0−p ESD voltage immunity VESD ±2 ⎯ kV Storage temperature Tstg − 40 + 85 °C Remarks Human body model WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings. ■ RECOMMENDED OPERATING CONDITIONS Parameter Value Symbol Min Typ Max Unit Minimum antenna input voltage VRF ⎯ 8.7 11.2 Vp−p Antenna input current IRF ⎯ ⎯ 30 mArms ASK modulation index m 10 ⎯ 20 % t1 6.0 ⎯ 9.44 µs t2 4.7 ⎯ t1 µs t3 0 ⎯ 3.0 µs Input frequency Fin 13.553 13.560 13.567 MHz Operating temperature Ta − 20 ⎯ + 85 °C ASK pulse width Remarks WARNING: The recommended operating conditions are required in order to ensure the normal operation of the semiconductor device. All of the device’s electrical characteristics are warranted when the device is operated within these ranges. Always use semiconductor devices within their recommended operating condition ranges. Operation outside these ranges may adversely affect reliability and could result in device failure. No warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. Users considering application outside the listed conditions are advised to contact their FUJITSU representatives beforehand. ■ ELECTRICAL CHARACTERISTICS DC characteristics Parameter Symbol Internal power supply voltage Value Typ Max VDP3 2.7 3.1 3.6 V Load modulation resistance RlSW ⎯ 1.1 ⎯ kΩ Input capacitance* Cant 22.8 24.0 25.2 pF Pd ⎯ 150 ⎯ µW Internal power consumption * : Values are controlled by process monitoring in the wafer. 8 Unit Min Remarks Voltage between antennas = 2 Vrms MB89R118 ■ FUNCTION DESCRIPTION 1. Communication from Reader/Writer to Transponder • Modulation method : Only 10% ASK modulation is supported (100% ASK modulation is not supported) . • Modulation rate (m) should be 10% to 20% for communication with transponder. Modulation rate m is defined as m = (a - b)/(a + b) with reference to the modulated waveform shown below. The values a and b indicate, respectively, the maximum and minimum amplitude of magnetic field transmitted from a reader/writer. • Modulation waveform hr y y a hf t2 t1 t3 b 13.56 MHz Maximum and minimum values of t1, t2 and t3 are shown in the following table. In this table, y is 0.05 (a-b) and the maximum value of hf and hr is 0.1(a-b). • Specification of t1, t2 and t3 Minimum Maximum t1 6.0 µs 9.44 µs t2 4.7 µs t1 t3 0 3.0 µs 9 MB89R118 • Data rate and bit coding : The MB89R118 supports only 1-out-of-4 mode for bit coding. (Not supports 1-out-of-256 mode.) • 1-out-of-4 mode : In 1-out-of-4 mode, 2-bit signals are coded in a period of 75.52 µs as shown in the following. When coding takes place, the data rate is 26.48 Kbps (fc/512). Each signal is transmitted beginning with the lowest bit. • Coding Method in 1-out-of-4 Mode • “00B” pulse position 9.44 µs 9.44 µs 75.52 µs • “01B” pulse position (1 = LSB) 28.32 µs 9.44 µs 75.52 µs • “10B” pulse position (0 = LSB) 47.20 µs 9.44 µs 75.52 µs • “11B” pulse position (0 = LSB) 66.08 µs 9.44 µs 75.52 µs • Data frame : A data frame begins with a start-of-frame (SOF) signal and ends with an end-of-frame (EOF) signal. The MB89R118 is enabled to receive a frame from a reader/writer within 300 µs after the MB89R118 has sent a frame to the reader/writer. The MB89R118 is also enabled to receive a frame from a reader/writer within 1 ms after power has been supplied to the MB89R118. • Waveforms of SOF and EOF signals of a frame sent from a reader/writer SOF 9.44 µs 9.44 µs 37.76 µs EOF 37.76 µs 10 9.44 µs 9.44 µs 9.44 µs 37.76 µs MB89R118 2. Communication from Transponder to Reader/Writer • Minimum load modulation amplitude (Vlm) : 10 mV (based on ISO/IEC 10373-7) • Load modulation subcarrier frequency (fs) : 423.75 kHz(fc/32) The MB89R118 supports only a 1-subcarrier system. (Not supports 2-subcarrier system.) • Data rate : The MB89R118 supports the following 2 data rate modes : • Low data rate • High data rate One of the 2 data rate modes is specified by the Data_rate_flag (described later) sent from the reader/writer. In low data rate mode, the data rate is 6.62 Kbps (fc/2048); in high data rate mode, it is 26.48 Kbps (fc/512). Also the Fast commands (Custom commands) supports the 2 data rate modes specified by the Data_rate_flag. In Low data rate mode, the data rate is 13.24 Kbps (fc/1024) ; in high data rate mode, it is 52.97 Kbps (fc/256) • Bit coding : The Manchester coding is used for the bit coding. The following figure shows the signals modulated in high data rate mode when standard command is used, and the next following figure shows the same signals when fast command is used. In low data rate mode of both standard commands and fast commands, the number of pulses for subcarrier and data transfer time is 4 times as large as the number in high data rate mode. • Signal waveforms by load modulation in high data rate mode (standard commands) • Logic 0 423.75 kHz subcarrier 18.88 µs (modulated) 18.88 µs (not modulated) 37.76 µs • Logic 1 423.75 kHz subcarrier 18.88 µs (not modulated) 18.88 µs (modulated) 37.76 µs • Signal waveforms by load modulation in high data rate response mode (fast commands) • Logic 0 9.44 µs 9.44 µs 18.88 µs • Logic 1 9.44 µs 9.44 µs 18.88 µs 11 MB89R118 • Data frame : A data frame sent from a transponder starts with a start-of -frame (SOF) signal and ends with an end-of-frame (EOF) signal. The following figure shows the SOF and EOF signals sent in high data rate mode when standard command is used, and the next following figure shows the same signals when fast command is used. In low data rate mode of both standard commands and fast commands, the number of pulses and data transfer time is 4 times as large as the number in high data rate mode, which is the same as explained in the figure below. A reader/writer that has sent a frame to a transponder must be enabled to receive a frame from the transponder within 300 µs after the reader/writer has completed sending of the frame. • Waveforms of SOF and EOF signals of a frame sent from a transponder (standard commands) • SOF 423.75 kHz subcarrier 56.64 µs 56.64 µs 37.76 µs • EOF 37.76 µs 56.64 µs 56.64 µs • Waveforms of SOF and EOF signals of a frame sent from a transponder (fast commands) • SOF 423.75 kHz Subcarrier 28.32 µs 28.32 µs 18.88 µs • EOF 423.75 kHz Subcarrier 18.88 µs 12 28.32 µs 28.32 µs MB89R118 3. FRAM Data Protection if Power Lost During Data Writing If the power to FRAM is lost while data is being written to it, data may take on unexpected values, possibly adversely affecting system operation. The MB89R118’s FRAM is accessed (updated) in byte units. The MB89R118 circle confirms that the level of power supply voltage is sufficient before data is written to each byte. However, since write commands access more than one byte at once a power loss in the middle of write commands may result in a mixture of new written data and still remaining old data. As a result, confirm success of a write command with read command after each write command. 4. Requests/Responses A request is sent from the reader/writer to the transponder. In reply to the request, the transponder sends a response to the reader/writer. Each request, and each response, is transmitted in a single frame. • Structure of requests and responses A request consists of the following 5 fields : • Flag • Command code • Parameter (required or optional depending on the command) • Application data • CRC A response consists of the following 4 fields : • Flag • Parameter (required or option depending on the command) • Application data • CRC Each byte is transferred, beginning with the lowest bit. When two or more bytes are transferred, transfer begins with the lowest one. Set the RFU_flag always to “0”. 5. Operating Modes The MB89R118 has the following 3 operating modes : Each mode specifies a different mechanism for how the transponder returns a response in reply to a request from the reader/writer : • Addressed mode The MB89R118 enters addressed mode when the Address_flag is set to “1”. In addressed mode, a request includes a UID (the Address_flag is set to “1” simultaneously), and only the transponder that matches the UID in the request returns a response. If no transponder that matches the UID exists, a response is not returned. 13 MB89R118 • Non-Addressed mode The MB89R118 enters non-addressed mode when the Address_flag is set to “0”. In non-addressed mode, a request does not include a UID. The transponders that receive the request execute processing and return response in accordance with the command in the request. • Select mode The MB89R118 enters select mode when the Select_flag is set to “1”, and the address_flag is set to “0”. In select mode, do not include a UID as a request. Of the transponders that receive the command, only the transponder in the selected state executes processing and returns a response in accordance with the command in the request. 6. Request Format Figure shows a typical example of the request data format, and Table shows the definition of request flag bits. • Structure of the request frame SOF Flag Command code • Setting of Bit 1 to Bit 4 Bit number Flag name Bit 1 Sub-carrier_flag Bit 2 Data_rate_flag Bit 3 Inventory_flag Bit 4 Protocol_Extension_flag Parameter 1/0 Data CRC EOF State/Description 0 One subcarrier selected 1 Two subcarriers selected (not supported) 0 Low data rate (6.62 Kbps) selected 1 High data rate (26.48 Kbps) selected 0 Command other than Inventory command selected 1 Inventory command selected 0 Protocol not extended 1 Protocol extended (RFU*) * : Reserved for future use Note : “Inventory_flag” of bit3 is determined whether “Inventory command” (select “1”) or other command (select “0”) is used. 14 MB89R118 • Setting of Bit 5 to Bit 8 (When Inventory command is selected [Inventory_flag = “1”]) Bit number Flag name 1/0 State/Description Bit 5 AFI_flag Bit 6 Nb_slots_flag Bit 7 Option_flag Bit 8 RFU* 0 AFI not set 1 AFI set (no response when it is not in accord with AFI of the transponder) 0 16-slots (for one or more transponders) 1 1-slot (for one transponder) 0 Command option not supported (for the command not supporting the Option_flag) 1 Command option supported 0 Set to “0” ⎯ 1 * : Reserved for future use • Setting of Bit 5 to Bit 8 (When the command other than Inventory command is selected [Inventory_flag = “0”]) Bit number Flag name 1/0 State/Description Bit 5 Select_flag Bit 6 Address_flag Bit 7 Option_flag Bit 8 RFU* 0 Command flag decided by the setting of bit 6 and later bits. 1 Select mode (the response is sent by only the transponder in selected state) 0 Non addressed mode (UID not included in the command) 1 Addressed mode (UID included in the command) 0 Command option not supported (for the command not supporting the Option_flag) 1 Command option supported 0 Set to “0” ⎯ 1 * : Reserved for future use 7. Response Format Figure shows a typical example of the response data format, and table shows the definition of the response flag bits. If the error flag is set to “1”, an error code field is generated in the response. If the error flag is set to “00H”, this means no error, and If the error flag is set to “01H”, this means any error generation. Error codes and their meaning are showed in Table. • Structure of the response frame SOF Flag Parameter Data CRC EOF 15 MB89R118 • Response flag definitions Bit number Flag name State Description 0 Error not found 1 Error found RFU* 0 Set to “0” Bit 3 RFU* 0 Set to “0” Bit 4 Extension_flag 0 Set to “0” Bit 5 RFU* 0 Set to “0” Bit 6 RFU* 0 Set to “0” Bit 7 RFU* 0 Set to “0” Bit 8 RFU* 0 Set to “0” Bit 1 Error_flag Bit 2 * : Reserved for future use • Error code definitions Error code Meaning “01” The specific command is not supported. “02” Cannot recognize the command. The number of blocks is over the limit. Example: Format error “03” Specific options are not supported. “0F” Other errors “10” The specified block cannot be used (or was not found). “11” The specified block has already been locked and cannot be locked again. “12” The specified block has already been locked, and its contents cannot be changed. “13” The specified block could not be programmed normally (a write verify error occurred). “14” The specified block could not be locked normally (a lock verify error occurred) . Others Unused. 8. Anti-Collision Algorithm The MB89R118 executes an anti-collision sequence loop based on an algorithm that complies with ISO/IEC 15693-3. The anti-collision algorithm is designed to examine the transponders located within reader/writer communication areas on the basis of UID. A transponder itself can recognize the existence of other transponders only by information supplied from the reader/writer. Only the reader/writer can recognize the existence of multiple transponders by itself. It is therefore the reader/writer that plays the primary role of algorithm executor. The reader/writer issues an Inventory request (command) to transponders, and some transponders return responses while other transponders do not according to the algorithm explained in “10. Execution of Inventory Command by a Transponder”. 16 MB89R118 9. REQUEST PARAMETER • Request Parameter Settings Set the reader/writer as follows before issuing the Inventory command. • The Nb_slots_flag (bit6), which is a request flag, is set to the desired value : “0” : 16 slots (for plural transponders) “1” : 1 slot (for single transponder) • A mask length and a mask value are added after the command code. • The mask length is the number of bits in the mask value. • The mask value is integer bytes of data, transmitted beginning with the lowest bit. If the mask data is not a multiple of 8 (bits) in length, 0 is padded on the MSB side of the mask value so that the data is in units of bytes. The following figure shows an example of the mask value with padding. Since the mask length is 12 bits, the mask value is padded with 4 bits on the MSB side so that the mask data is in units of bytes (2 bytes = 16 bits in this case). If the AFI flag in the request flags is set in the format explained in “• Structure of the request frame of 6 Request Format”, an AFI field is added to the format. The command ends with transmission of an EOF signal as described in “1. Communication from Reader/Writer to Transponder”. Thereafter, processing in the first slot starts immediately. To proceed to the next slot, the reader/writer sends an EOF signal. • Format of the Command SOF Flag 8 bits Command code Mask length Mask value CRC 8 bits 8 bits 0 to 64 bits 16 bits EOF • Example of the Mask Value with Padding MSB LSB 0000 0100 1100 1111 Pad Mask value 17 MB89R118 10. Execution of Inventory Command by a Transponder A transponder returns a response to the reader/writer when its UID is equal to the value that consists of the mask value and the number of slots. The mask value is sent in the Inventory command, and the number of slots is determined by the number of times the EOF signal is transmitted. • Algorithm for execution of processing by a transponder The following figure shows the algorithm for the execution of processing by a transponder when an Inventory command is received. The next figure shows the relationship between the UID and the mask value. • Algorithm for Execution of Processing by a Transponder when Inventory Command NbS SN LSB (value, n) & Slot_Frame : Total number of slots (1 or 16) : Current slot number : The “n” least significant bits of value : Concatenation operator : SOF or EOF SN = 0 Nb_slots_flag=1? Yes NbS = 1 SN_length=0 LSB (UID, SN_length + mask length) = LSB (SN, SN_length) & LSB (mask, mask length) ? Yes Response transmission No NbS = 16 SN_length=4 No Wait (Slot_Frame) Slot_Frame=SOF? Yes No Slot_Frame=EOF? No Yes End of processing End of processing SN < NbS-1 No Yes SN = SN + 1 18 End of processing MB89R118 • Comparison of the mask value and the number of slots with the UID [Inventory command (the side of a reader/writer)] Padding Inventory command includes the mask value and mask length. The mask value is padded with “0” into the higher bit side so to make the byte-unit length (a multiple of 8 bits). If Inventory command is received, the slot counter is reset to “0”. 000••• Mask length Slot counter If EOF is received, the increment of the slot counter is started by the transponder. The value is compared with the lowest bit in UID of the transponder. If the value is in accord with the mask value, the response is returned by the transponder. Mask value (specified by the Inventory command) Number of Mask value (no padding) slots Ignored Compared Unique Identifier (UID) [Unique Identifier (the side of a transponder) ] 19 MB89R118 11. Anti-Collision Sequence • Execution of anti-collision sequence A typical anti-collision sequence that is applied when the number of slots is 16 is executed as follows : 1) The reader/writer sends an Inventory command. The Nb_slots_flag of the request flags is set to “0” to specify the number of slots. 2) In slot 0, transponder 1 returns a response. Other transponders do not respond. The reader/writer recognizes the UID of transponder 1. 3) The reader/writer sends an EOF signal to proceed to the next slot. 4) In slot 1, transponders 2 and 3 respond. Because the reader/writer cannot recognize the UIDs of the 2 transponders, it remembers that a collision has occurred in slot 1. 5) The reader/writer sends an EOF signal to proceed to the next slot. 6) In slot 2, the reader/writer does not detect any response from transponders and sends an EOF signal to proceed to the next slot. 7) In slot 3, transponders 4 and 5 respond causing another collision. 8) The reader/writer sends a request (for example, a Read Block command, described later) to transponder 1 whose UID that it has already recognized. 9) When an SOF signal is received, all transponders exit the anti-collision sequence. If transponder 1 is specified using addressed mode, only transponder 1 can return a response to the reader/writer. 10) Every transponder is enabled to receive another request from the reader/writer. If the Inventory command is executed again, the sequence starts at slot 0. 11) The mask value is the data whose size is a number of bytes integer and which is sent in LSB-first mode. If the size of the data to be masked is not a multiple of 8 (bits), the unnecessary bits on the MSB side of the mask value are padded with “0” to make the mask value byte data. 20 MB89R118 • Example of Anti-Collision Sequence Slot 1 Slot 0 Reader/ writer SOF Inventory request EOF Slot 2 EOF EOF Response 2 Response 1 Transponder Response 3 Timing t1_a Status t2_a tnrt t1_a No collision t2_a tnrt Collision t3_a No response Slot 3 Reader/ writer EOF SOF Request EOF Response 4 Response Transponder Response 5 Timing Status t1_a t1_a Collision • Timing definitions • Period during which the transponder waits for the start of response transmission after an EOF signal transmitted from the reader/writer : t1_a After detection of an EOF signal sent from the reader/writer, each transponder must wait for a certain time (t1_a) before sending a response to the reader/writer. t1_a begins at the rising edge of the EOF pulse. The following table lists the defined minimum, nominal, and maximum values of t1_a. Also, ISO/IEC 15693-3 specifies that if the transponder detects a modulated signal from the reader/writer within t1_a, the transponder must reset the t1_a timer and wait for another t1_a period before sending a response to the reader/writer; otherwise, the slot counter must be incremented. On the MB89R118, however, the transponder ignores all modulated signals sent from the reader/writer during the following tmit. 21 MB89R118 • Period during which the transponder ignores modulated signals after an EOF signal transmitted from the reader/writer : tmit After detection of an EOF signal sent from the reader/writer, each transponder must ignore the 10% modulated signals from the reader/writer for a time (tmit). tmit begins at the rising edge of the EOF pulse. The minimum value of tmit is defined as 4384/fc (323.3 µs) + tnrt, as shown in the following table. In the above expression, tnrt stands for the response time of the transponder. • Period during which the reader/writer waits before sending a request : t2_a After a response to a request (except a Inventory command or a Stay Quiet command) from a transponder has been received, the reader/writer must wait for a certain period (t2_a) before sending the next request. The minimum value of t2_a is shown in the following table. If the reader/writer sends a Stay Quiet command to a transponder, the transponder does not return any response. In this case, t2_a begins at the point at which 9.44 µs has passed since the rising edge of the EOF pulse for the Stay Quiet command. If the reader/writer sends an Inventory command to a transponder, the wait time t2_a follows the specifications of t2inv (period during which the reader/writer waits before sending a request during execution of the Inventory command) described below. • Period during which the reader/writer waits before sending a request during execution of the Inventory command : t2inv While an Inventory command is being executed, the reader/writer sends an EOF signal when it shifts to the next slot. In this case, the wait time is defined as follows depending on whether transponders return responses : - Wait time applied when the reader/writer has received one or more responses : t2invwr When the reader/writer has received one or more responses, the reader/writer must wait until responses from the transponders have been completed (that is, the reader/writer receives an EOF signal or tnrt passes). After that, the reader/writer must wait until t2_a passes before sending an EOF signal to switch to the next slot. - Wait time applied when the reader/writer has not received any responses : t3_a When the reader/writer has not received any responses from the transponders, the reader/writer must wait until t3_a passes before sending an EOF signal. In this case, t3_a begins at the rising edge of the EOF pulse that was sent previously. The minimum value of t3_a is defined as 4384/fc (323.3 µs) + tnrt, as shown in the following table. • Timing Specifications 22 Min Typ Max t1_a 4320/fc = 318.6 µs 4352/fc = 320.9 µs 4384/fc = 323.3 µs tmit 4384/fc(323.3 µs)+ tnrt ⎯ ⎯ t2_a 4192/fc = 309.2 µs ⎯ ⎯ t2invwr t2_a + tnrt ⎯ ⎯ t3_a 4384/fc(323.3 µs)+ tnrt ⎯ ⎯ MB89R118 ■ COMMAND LIST All Mandatory and Optional commands defined by ISO/IEC 15693-3 are supported. The following Custom commands are supported : • EAS command designed to monitor and prevent the theft of goods • Write EAS command to write data to the EAS bit • Read Multiple Blocks Unlimited command possible to read FRAM area 2048 bytes in a lump • Fast command to respond at double speed compared to standard commands • Command list Command code Command name Command Type Details “01H” Inventory Mandatory Execute the anti-collision sequence and get UID. “02H” Stay Quiet Mandatory Enter the Quiet state “20H” Read Single Block Optional Read the requested 1 block data in the user area “21H” Write Single Block Optional Write the requested 1 block data in the user area “22H” Lock Block Optional Lock (disable to write) the requested 1 block in the user area “23H” Read Multiple Blocks Optional Read the requested 1 or 2 blocks data in the user area “24H” Write Multiple Blocks Optional Write the requested 1 or 2 blocks data in the user area “25H” Select Optional Enter the select (communication selected) state “26H” Reset to Ready Optional Enter the ready (communication enabled) state “27H” Write AFI Optional Write AFI (Application Family Identifier) data into FRAM. “28H” Lock AFI Optional Lock AFI data (disable to write) “29H” Write DSFID Optional Write DSFID (Data Storage Format Identifier) data into FRAM “2AH” Lock DSFID Optional Lock DSFID (Data Storage Format Identifier) data (disable to write) “2BH” Get System Information Optional Read the system information value (UID, DSFID, AFI, number of bytes per block, number of blocks in user area, and IC information) “2CH” Get Multiple Block Security Status Optional Read the block security status stored in system area. Read the information whether the block requested by command is the lock (disable to write) . “A0H” EAS Custom When EAS bit is “1”, reply response code 6 times. “A1H” Write EAS Custom Write EAS data (1 bit). Data “1” validates anti-theft/article surveillance, and data “0” invalidates them. “A5H” Read Multiple Blocks Unlimited Custom Read the requested multiple blocks in the user area (can read up to 256 blocks by one command) “B1H” Fast Inventory Custom Fast response Inventory command “C0H” Fast Read Single Block Custom Fast response Read Single Block command “C1H” Fast Write Single Block Custom Fast response Write Single Block command “C3H” Fast Read Multiple Blocks Custom Fast response Read Multiple Blocks command “C4H” Fast Write Multiple Blocks Custom Fast response Write Multiple Blocks command “D1H” Fast Write EAS Custom Fast response Write EAS command “D5H” Fast Read Multiple Blocks Unlimited Custom Fast response Read Multiple Blocks Unlimited command 23 MB89R118 ■ COMMAND DESCRIPTION 1. Description of Mandatory Command 1-1. Inventory command • Description of command The Inventory command executes the anti-collision sequence. Even though an error is detected during execution of this command, a response indicating the error is not returned. The Inventory_flag (bit 3) must be set to “1”. When the AFI_flag (bit 5) in the Inventory command frame is set as “1”, the response is returned in the following cases. • The AFI value of the transponder is in accord with the optional AFI value. • The optional AFI value is “00H”. • Command [Request from the reader/writer to the transponder] Command SOF Flag Optional AFI (Inventory) 8 bits 8 bits (“01H”) 8 bits Mask length Mask value CRC 8 bits 0 to 64 bits 16 bits EOF • Response [Response from the transponder to the reader/writer] SOF Flag DSFID 8 bits (“00H”) 8 bits UID CRC 64 bits 16 bits EOF 1-2. Stay Quiet command • Description of command On receiving the Stay Quiet command, the transponder enters the quiet state. The transponder does not return any responses, including an error indication. In the quiet state, the transponder does not execute any request for which the Inventory_flag (bit 3) is set and executes only a command for which the Address_flag (bit 6) is set. The transponder exits the quiet state only in the following cases: • The transponder enters the power-off state. • The transponder receives the Select command and enters the selected state. • The transponder receives the Reset to Ready command and enters the ready state. • Command [Request from the reader/writer to the transponder] Command SOF Flag (Stay Quiet) 8 bits 8 bits (“02H”) • Response [Response from the transponder to the reader/writer] No response 24 UID (necessary) CRC 64 bits 16 bits EOF MB89R118 2. Description of Optional Command 2-1. Read Single Block command • Description of command On receiving the Read Single Block command, the transponder returns the data stored in the specified singleblock to the reader/writer as a response. If the Option_flag (bit 7) is “1”, the transponder adds block security status information in the response. If the Option_flag (bit 7) is “0”, the transponder returns only the data in the specified block to the reader/writer. • Command [Request from the reader/writer to the transponder] Command UID SOF Flag (Read Single Block) (Addressed mode) 8 bits 8 bits (“20H”) Number of blocks CRC 8 bits 16 bits 64 bits EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag EOF Block security status (option) Data CRC 8 bits 64 bits 16 bits 8 bits (“00H”) EOF 2-2. Write Single Block command • Description of command On receiving the Write Single Block command, the transponder writes the single-block data included in the request to the specified block. The transponder performs verification after writing and returns an error code if the writing has failed. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of ± 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) Note : t1nom = 320.9 µs (typical) • Command [Request from the reader/writer to the transponder] Command UID SOF Flag (Write Single Block) (Addressed mode) 8 bits 8 bits (“21H”) 64 bits Number of blocks Data CRC 8 bits 64 bits 16 bits EOF 25 MB89R118 • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 2-3. Lock Block command • Description of command On receiving the Lock Block command, the transponder locks the data stored in one specified single-block. The transponder performs verification after writing and returns an error code if the writing has failed. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the lock operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of ± 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) Once the Lock Block command has been received, data in the locked block cannot be changed by the Write Single(Multiple) Block command. • Command [Request from the reader/writer to the transponder] Command UID SOF Flag (Lock Block) (Addressed mode) 8 bits 8 bits (“22H”) 64 bits Number of blocks CRC 8 bits 16 bits EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF (2) When Error_flag not set SOF 26 Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits Flag CRC 8 bits (“00H”) 16 bits EOF EOF MB89R118 2-4. Read Multiple Blocks Command • Description of command On receiving the Read Multiple Blocks command, the transponder returns the data stored in the specified successive blocks to the reader/writer as a response. Up to 2 blocks of data can be read for one request. If the Option_flag (bit 7) is “1”, the transponder adds block security status information in the response. If the Option_flag (bit 7) is “0”, the transponder returns only the data in the specified blocks to the reader/writer. The value of the “number of blocks” field specified in the request is the expected number of blocks minus 1. Setting the number of blocks to “01H” makes a request to read 2 blocks. Setting the number of blocks to “00H” makes a request to read 1 block (the request having the same effect as the Read Single Block command). Note : For execution in the addressed mode, the Read Multiple Blocks command must be run without shutting off the RF power supply after obtaining the UID, for example, using the Inventory command. No response may be expected when RF power supply is not stable. • Command [Request from the reader/writer to the transponder] Command UID SOF Flag (Read Multiple Blocks) (Addressed mode) 8 bits 8 bits (“23H”) First block number Number of blocks CRC 8 bits 8 bits 16 bits 64 bits EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag EOF Block security status (option) Data CRC 8 bits 64 bits 16 bits 8 bits (“00H”) EOF Repeated as required 2-5. Write Multiple Blocks Command • Description of command On receiving the Write Multiple Blocks command, the transponder writes the successive multiple-block data included in the request to the specified blocks. Up to 2 blocks of data can be written for one request. The transponder performs verification after writing and returns an error code if the writing has failed. Up to 2 blocks of data can be written for one request. The number of blocks specified in the Write Multiple Blocks command is similar to the number of blocks specified in the Read Multiple Blocks command. The value of the number of blocks field specified in the Write Multiple Blocks command is obtained by subtracting 1 from the number of the expected blocks to be written. Setting the number of blocks to “01H” makes a request to write 2 blocks. Setting the number of blocks to “00H” makes a request to write 1 block (the request having the same effect as the Write Single Block command). If at least one of the blocks specified for data writing is locked, the transponder does not write any data and, instead, returns an error code. 27 MB89R118 If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of ± 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) • Command [Request from the reader/writer to the transponder] SOF Flag Command (Write Multiple Blocks) 8 bits 8 bits (“24H”) UID First block Number (Addressed mode) number of blocks 64 bits 8 bits 8 bits Data CRC EOF Block length 16 bits (repeated as required) • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 2-6. Select command • Description of command Of the transponders that received the Select command, only the transponder whose UID matches the UID included in the request enters the selected state and returns a response. The other transponders, whose UIDs do not match the UID in the request, enter the ready states without returning any response. The Select command is used only in addressed mode. • Command [Request from the reader/writer to the transponder] SOF Flag Command (Select) UID (necessary) 8 bits 8 bits (“25H”) 64 bits CRC EOF 16 bits • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF (2) When Error_flag not set SOF 28 Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits Flag CRC 8 bits (“00H”) 16 bits EOF EOF MB89R118 2-7. Reset to Ready command • Description of command On receiving the Reset to Ready command, the transponder enters the ready state. • Command [Request from the reader/writer to the transponder] SOF Flag Command (Reset to Ready) 8 bits UID (Addressed mode) CRC 64 bits 16 bits 8 bits (“26H”) EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 2-8. Write AFI command • Description of command On receiving the Write AFI command, the transponder writes the specified AFI to FRAM. The transponder performs verification after writing and returns an error code if the writing has failed. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of ± 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) • Command [Request from the reader/writer to the transponder] SOF Flag Command (Write AFI) UID (Addressed mode) 8 bits 8 bits (“27H”) 64 bits AFI CRC 8 bits 16 bits EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF (2) When Error_flag not set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits Flag CRC 8 bits (“00H”) 16 bits EOF EOF 29 MB89R118 2-9. Lock AFI command • Description of command On receiving the Lock AFI command, the transponder locks (write disable) the stored AFI. The transponder performs verification after writing and returns an error code if the writing has failed. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the lock operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of -32/fc to +32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) Once the Lock AFI command has been received, the AFI cannot be changed by the Write AFI command. • Command [Request from the reader/writer to the transponder] SOF Flag Command (Lock AFI) UID (Addressed mode) 8 bits 8 bits (“28H”) CRC 64 bits EOF 16 bits • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 2-10. Write DSFID command • Description of command On receiving the Write DSFID command, the transponder writes the specified DSFID to FRAM. The transponder performs verification after writing and returns an error code if the writing has failed. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of ± 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) • Command [Request from the reader/writer to the transponder] SOF Flag Command (Write DSFID) UID (Addressed mode) 8 bits 30 8 bits (“29H”) 64 bits DSFID CRC 8 bits 16 bits EOF MB89R118 • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 2-11. Lock DSFID command • Description of command On receiving the Lock DSFID command, the transponder locks (write disable) the stored DSFID. The transponder performs verification after writing and returns an error code if the writing has failed. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the lock operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of ± 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) Once the Lock DSFID command has been received, the DSFID cannot be changed by the Write DSFID command. • Command [Request from the reader/writer to the transponder] SOF Flag Command (Lock DSFID) 8 bits UID (Addressed mode) CRC 64 bits 16 bits 8 bits (“2AH”) EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 2-12. Get System Information command • Description of command On receiving the Get System Information command, the transponder returns the chip information of UID, AFI, DSFID, and so on to the reader/writer as a response. 31 MB89R118 • Command [Request from the reader/writer to the transponder] SOF Flag Command (Get System Info) UID (Addressed mode) 8 bits 8 bits (“2BH”) CRC 64 bits EOF 16 bits • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag Information flag 8 bits (“00H”) 8 bits UID DSFID AFI 64 bits 8 bits 8 bits Memory size IC reference 16 bits 8 bits EOF CRC EOF 16 bits The following table shows the definitions of the Information flag. The following figure shows the memory size information included in the response of the System Information. The block size shown in the figure indicates the value that is 1 byte less than the actual block size. Similarly, the number of blocks shown in the figure indicates the value that is 1 block less than the actual number of blocks. • Definition of information flag Bit No. Flag name State Description 0 DSFID is not supported or does not exist. 1 DSFID is supported or exists. 0 AFI is not supported or does not exist. 1 AFI is supported or exists. 0 Memory size information is not supported or does not exist. 1 Memory size information is supported or exists. 0 IC reference information is not supported or does not exist. 1 IC reference information is supported or exists. Bit 1 DSFID Bit 2 AFI Bit 3 Memory size Bit 4 IC reference Bit 5 RFU* ⎯ Bit 6 RFU* ⎯ Bit 7 RFU* ⎯ Bit 8 RFU* ⎯ Set to “0” * : Reserved for future use Note : Set “1” for Bit 1 to Bit 4 and set “0” for Bit 5 to Bit 8. 32 MB89R118 • Memory size information about a transponder MSB LSB 16 14 13 RFU* 9 8 1 Size of blocks (Number of bytes in 1 block) Number of blocks * : Reserved for future use Note : The memory size of the MB89R118 which is consisted of 250 blocks (8 bytes per block) in the user area is hexadecimal “07F9H”. 2-13. Get Multiple Block Security Status Command • Description of command On receiving the Get Multiple Block Security Status command, the transponder returns the block security status stored in a system area to the reader/writer as a response. A security status of up to 64 blocks can be obtained by one Get Multiple Block Security Status request. The number of blocks specified in this request must be the value that is 1 block less than the actual number of the blocks whose security status is to be obtained. The first block number specified in this request must be a multiple of 8. • Command [Request from the reader/writer to the transponder] Command UID SOF Flag (Get Multiple Block (Addressed mode) Security Status) 8 bits 8 bits (“2CH”) First block number Number of blocks CRC 8 bits 8 bits 16 bits 64 bits EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag 8 bits (“00H”) Block security status CRC 8 bits (repeated as required) 16 bits EOF EOF 33 MB89R118 3. Custom Command The IC manufacturing code is required to use a Custom command. The IC manufacturing code for the MB89R118 is “08H”. 3-1. EAS command • Description of command On EAS command reception, the transponder returns the response code repeated 6 times after the specified flag (“00H”) if the EAS bit is “1” or returns no response if the EAS bit is “0”. The EAS command can be executed only when the transponder is in the ready or selected state. For the response code values, please inquire separately. • Command [Request from the reader/writer to the transponder] SOF Flag Command (EAS) IC manufacturer code (necessary) CRC 8 bits 8 bits (“A0H”) 8 bits (“08H”) 16 bits EOF • Response [Response from the transponder to the reader/writer] SOF Flag Response code 8 bits (“00H”) CRC 48 bits (6 times repeat of 8 bits data) EOF 16 bits 3-2. Write EAS command • Description of command On write EAS command reception, the transponder writes the EAS bit to FRAM. The transponder performs verification after writing and returns an error code if the writing has failed. The EAS bit must be set to “00H” to cancel anti-theft or goods-monitoring mode. The bit must be set to “01H” to set up the goods-monitoring mode. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of -32/fc to +32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out error occurs and the transponder can receive another command.) • Command [Request from the reader/writer to the transponder] Command IC manufacturer UID SOF Flag (Write EAS) code (necessary) (Addressed mode) 8 bits Data CRC 64 bits 8 bits (“00H” or “01H”) 16 bits Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits 8 bits (“A1H”) 8 bits (“08H”) • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF 34 EOF EOF MB89R118 (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF 3-3. Read Multiple Blocks Unlimited Command • Description of command On receiving the Read Multiple Blocks Unlimited command, the transponder returns the data stored in the specified successive blocks to the reader/writer as a response. Up to 256 blocks of data can be read for one request. If the Option_flag (bit 7) is “1”, the transponder adds block security status information in the response. If the Option_flag (bit 7) is “0”, the transponder returns only the data in the specified blocks to the reader/writer. The value of the “number of blocks” field specified in the request is the expected number of blocks minus 1. Setting the number of blocks to “06H” makes a request to read 7 blocks. Up to “FFH” blocks can be set. (Note that the maximum number of blocks is changed by setting the leading block number.) • Command [Request from the reader/writer to the transponder] UID Command First block Number IC manufacturer (Addressed SOF Flag (Read Multiple number of blocks code (necessary) mode) Blocks Unlimited) 8 bits 8 bits (“A5H”) 8 bits (“08H”) 64 bits 8 bits 8 bits CRC EOF 16 bits • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag 8 bits (“00H”) EOF Block security status(option) Data CRC 8 bits 64 bits 16 bits EOF Repeated as required 3-4. Fast Inventory Command • Description of command The Fast Inventory command is the same as the Inventory Command that executes the anti-collision sequence. The datarate in the response is twice as defined in ISO/IEC 15693. Even though an error is detected during execution of this command, a response indicating the error is not returned. The Inventory_flag (bit 3) must be set to “1”. When the AFI_flag (bit 5) in the Inventory command frame is set as “1”, the response is returned in the following cases. • The AFI value of the transponder is in accord with the optional AFI value. • The optional AFI value is “00H”. 35 MB89R118 • Command [Request from the reader/writer to the transponder] Command IC manufacturer SOF Flag (Fast Inventory) code (necessary) 8 bits 8 bits (“B1H”) 8 bits (“08H”) Optional AFI Mask length Mask value CRC 8 bits 8 bits 0 to 64 bits 16 bits EOF • Response [Response from the transponder to the reader/writer] SOF Flag DSFID UID CRC 8 bits (“00H”) 8 bits 64 bits 16 bits EOF 3-5. Fast Read Single Block Command • Description of command The Fast Read Single Block command is the same as the Read Single Block command that reads the specific single-block. The datarate in the response is twice as defined in ISO/IEC 15693. If the Option_flag (bit 7) is “1”, the transponder adds block security status information in the response. If the Option_flag (bit 7) is “0”, the transponder returns only the data in the specified block to the reader/writer. • Command [Request from the reader/writer to the transponder] Command IC manufacturer UID Number SOF Flag (Fast Read Single Block) code (necessary) (Addressed mode) of blocks 8 bits 8 bits (“C0H”) 8 bits (“08H”) 64 bits 8 bits CRC EOF 16 bits • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag EOF Block security status(option) Data CRC 8 bits 64 bits 16 bits 8 bits (“00H”) EOF 3-6. Fast Write Single Block Command • Description of command The Fast Write Single Block command is the same as the Write Single Block command that writes the singleblock data included in the request. The datarate in the response is twice as defined in ISO/IEC 15693. The transponder performs verification after writing and returns an error code if the writing has failed. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of − 32/fc to + 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. <tlnom : typical 320.9 µs> (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) 36 MB89R118 • Command [Request from the reader/writer to the transponder] Command (Fast IC manufacturer UID (Addressed Number SOF Flag Write Single Block) code (necessary) mode) of blocks 8 bits 8 bits (“C1H”) 8 bits (“08H”) 64 bits 8 bits Data CRC 64 bits 16 bits EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 3-7. Fast Read Multiple Blocks Command • Description of command The Fast Read Multiple Blocks command is the same as the Read Multiple Blocks command that reads the data of the specified successive blocks. The datarate in the response is twice as defined in ISO/IEC 15693. Up to 2 blocks of data can be read for one request. If the Option_flag (bit 7) is “1”, the transponder adds block security status information in the response. If the Option_flag (bit 7) is “0”, the transponder returns only the data in the specified blocks to the reader/writer. The value of the “number of blocks” field specified in the request is the expected number of blocks minus 1. Setting the number of blocks to “01H” makes a request to read 2 blocks. Setting the number of blocks to “00H” makes a request to read 1 block (the request having the same effect as the Fast Read Single Block command). Note : For execution in the addressed mode, the Fast Read Multiple Blocks command must be run without shutting off the RF power supply after obtaining the UID, for example, using the Inventory command. No response may be expected when RF power supply is not stable. • Command [Request from the reader/writer to the transponder] UID Command IC manufacturer (Addressed SOF Flag (Fast Read code (necessary) mode) Multiple Blocks) 8 bits 8 bits (“C3H”) 8 bits (“08H”) 64 bits First block number Number of blocks CRC 8 bits 8 bits 16 bits EOF • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits EOF 37 MB89R118 (2) When Error_flag not set SOF Flag Block security status(option) Data CRC 8 bits 64 bits 16 bits 8 bits (“00H”) EOF Repeated as required 3-8. Fast Write Multiple Blocks Command • Description of command The Fast Write Multiple Blocks command is the same as the Write Multiple Blocks command that writes the successive multiple-block data included in the request. The datarate in the response is twice as defined in ISO/ IEC 15693. Up to 2 blocks of data can be written for one request. The transponder performs verification after writing and returns an error code if the writing has failed. Up to 2 blocks of data can be written for one request. The number of blocks specified in the Fast Write Multiple Blocks command is similar to the number of blocks specified in the Read Multiple Blocks command. The value of the number of blocks field specified in the Fast Write Multiple Blocks command is obtained by subtracting 1 from the number of the expected blocks to be written. Setting the number of blocks to “01H” makes a request to write 2 blocks. Setting the number of blocks to “00H” makes a request to write 1 block (the request having the same effect as the Fast Write Single Block command). If at least one of the blocks specified for data writing is locked, the transponder does not write any data and, instead, returns an error code. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of − 32/fc to + 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still returns its response. (However, if an EOF is not sent within 38 ms, the time-out occurs and the transponder can receive another command.) • Command [Request from the reader/writer to the transponder] UID First Command Number IC manufacturer (Addressed block SOF Flag (Fast Write of blocks code mode) number Multiple Blocks) 8 bits 8 bits (“C4H”) 8 bits (“08H”) 64 bits 8 bits 8 bits Data CRC EOF Block length (repeated as 16 bits required) • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF (2) When Error_flag not set SOF 38 Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits Flag CRC 8 bits (“00H”) 16 bits EOF EOF MB89R118 3-9. Fast Write EAS Command • Description of command The Fast Write EAS command is the same as Write EAS command that writes the EAS bit to FRAM. The datarate in the response is twice as defined in ISO/IEC 15693. The transponder performs verification after writing and returns an error code if the writing has failed. The EAS bit must be set to “00H” to cancel anti-theft or goods-monitoring mode. The bit must be set to “01H” to set up the goods-monitoring mode. If the Option_flag (bit 7) is “0”, the transponder shall return its response when it has completed the write operation starting after <t1nom + a multiple of 4096/fc (302.1 µs)> with total tolerance of − 32/fc to + 32/fc (2.4 µs) and latest within 20 ms. If it is “1”, transponder shall wait for the reception of an EOF from the reader/writer and upon such reception still return its response. (However, if an EOF is not sent within 38 ms, the time-out error occurs and the transponder can receive another command.) • Command [Request from the reader/writer to the transponder] Command IC manufacturer UID SOF Flag (Fast Write EAS) code (necessary) (Addressed mode) 8 bits 8 bits (“D1H”) 8 bits (“08H”) 64 bits Data CRC EOF 8 bits (“00H” or “01H”) 16 bits • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits (2) When Error_flag not set SOF Flag CRC 8 bits (“00H”) 16 bits EOF EOF 3-10. Fast Read Multiple Blocks Unlimited Command • Description of command The Fast Read Multiple Blocks Unlimited command is the same as the Read Multiple Blocks Unlimited command that reads the data of the specified successive blocks. The datarate in the response is twice as defined in ISO/ IEC 15693. Up to 256 blocks of data can be read for one request. If the Option_flag (bit 7) is “1”, the transponder adds block security status information in the response. If the Option_flag (bit 7) is “0”, the transponder returns only the data in the specified blocks to the reader/writer. The value of the “number of blocks” field specified in the request is the expected number of blocks minus 1. Setting the number of blocks to “06H” makes a request to read 7 blocks. Up to “FFH” blocks can be set. (Note that the maximum number of blocks is changed by setting the leading block number.) • Command [Request from the reader/writer to the transponder] UID Command First block Number IC manufacturer (Addressed SOF Flag (Fast Read Multiple number of blocks code (necessary) mode) Blocks Unlimited) 8 bits 8 bits (“D5H”) 8 bits (“08H”) 64 bits 8 bits 8 bits CRC EOF 16 bits 39 MB89R118 • Response [Response from the transponder to the reader/writer] (1) When Error_flag set SOF (2) When Error_flag not set SOF Flag Flag Error code CRC 8 bits (“01H”) 8 bits 16 bits EOF Block security status (option) Data CRC 8 bits 64 bits 16 bits 8 bits (“00H”) EOF Repeated as required 4. Command Execution Time 4-1. Write Multiple Blocks Command Execution Time The minimum time (processing in the address mode) required to complete data writing to all user areas (2000 bytes) of the FRAM and verification with the Write Multiple Blocks command is estimated to be 1.4 seconds. 4-2. Read Multiple Blocks Command Execution Time The minimum time (processing in the address mode) required to complete data reading for all user areas (2000 bytes) of the FRAM with the Read Multiple Blocks command is estimated to be 1.5 seconds. In addition, with the Fast Read Multiple Blocks command is estimated to be 1.1 seconds, and with the Fast Read Multiple Blocks Unlimited command is estimated to be 0.35 seconds. 40 MB89R118 ■ STATE TRANSITION DIAGRAM • Definition of states Each state of MB89R118 is defined as follows. • Power-Off the state : IF the power-off state, a transponder can not fulfill the function so that the voltage from a reader/writer is underpowered. • Ready state : In the ready state, the MB89R118 can execute all commands from a reader/writer if the Select_flag is not set. • Quiet state : In the quiet state, the MB89R118 can execute the command from a reader/writer for which the Inventory_flag is not set and the Address_flag is set. • Selected state : In the selected state, the MB89R118 can execute the command from a reader/writer for which the Select_flag is set. As shown in figure below, the MB89R118 moves from one state to another according to the status of power and by a command. • State transition diagram Out of field Power-off state Out of field Out of field In field Any other command where Select_flag is not set. Ready state Reset to Ready command Reset to Ready command where Select_flag is set or Select (different UID) . Select command (UID) Stay Quiet (UID) command Select command (UID) Selected state Quiet state Stay Quiet (UID) command Any other command where Address_flag is set and where Inventory_flag is not set. Any other command 41 MB89R118 ■ NOTES ON USING • Notes on the radio interface - It is the user’s responsibility to reduce the effects of the electromagnetic waves produced by the reader/writer. - The user must optimize the shapes of the antenna coils for transponder and reader/writer so that they match the transmission distance and installation space required for the user’s application. - If the user intends to access multiple transponders from a reader/writer, the interference between transponders or between the reader/writer and a transponder may degrade communication performance (transmission distance and communication time) . Therefore, a user who intends to design a system using multiple transponders should consider this point. • FRAM reliability Up to 1010 writes to the FRAM memory and 10 years of data retention at + 55 °C are guaranteed. For the data retention characteristics at + 150 °C or higher, see “■ SHIPPING METHOD AND RECOMMENDED ASSEMBLY CONDITIONS”. • Difference between rating of ISO/IEC 15693 and MB89R118 implementation. The table comparing rating of ISO/IEC 15693 to method of MB89R118 is shown in following. Note that the MB89R118 implementation does not support following ratings. • 100% amplitude shift keying (ASK) modulation method • 1-out-of-256 mode data coding • 2-subcarrier • Supports more than 3 blocks for Read/Write Multiple Blocks command (If “Read/Write Multiple Blocks Unlimited command” of Custom commands is used, enables to support more than 3 blocks.) 42 MB89R118 • Comparison between ratings of ISO/IEC15693 and specification of MB89R118 Parameter Details ISO/IEC15693 method MB89R118 method 10% ASK modulation method Correspondence Correspondence 100% ASK modulation method Correspondence Not correspondence (At using of 10% ASK) 10% to 30% 10% to 20% 1 out of 256 Correspondence Not correspondence 1 out of 4 Correspondence Correspondence 1-subcarrier Correspondence Correspondence 2-subcarrier Correspondence Not correspondence Inventory command Correspondence Correspondence Stay Quiet command Correspondence Correspondence Read Single Block command Correspondence Correspondence Write Single Block command Correspondence Correspondence Lock Block command Correspondence Correspondence Read Multiple Blocks command Correspondence Correspondence uppermost 2 blocks Write Multiple Blocks command Correspondence Correspondence uppermost 2 blocks Select command Correspondence Correspondence Reset to ready command Correspondence Correspondence Write AFI command Correspondence Correspondence Lock AFI command Correspondence Correspondence Write DSFID command Correspondence Correspondence Lock DSFID command Correspondence Correspondence Get System Information command Correspondence Correspondence Get Multiple block security status command Correspondence Correspondence Communication method Range of modulation rate Data coding Subcarrier Mandatory command Optional command 43 MB89R118 ■ SHIPPING METHOD AND RECOMMENDED ASSEMBLY CONDITIONS • Shipping Method for the MB89R118 : Please inquire separately for the method used to ship the MB89R118. • The MB89R118 is recommended to be mounted in the following condition to maintain the data retention characteristics of the FRAM memory when the chip is mounted. Temperature [ °C] +175 +25 120 Time [min] 44 MB89R118 FUJITSU LIMITED All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. The information, such as descriptions of function and application circuit examples, in this document are presented solely for the purpose of reference to show examples of operations and uses of Fujitsu semiconductor device; Fujitsu does not warrant proper operation of the device with respect to use based on such information. When you develop equipment incorporating the device based on such information, you must assume any responsibility arising out of such use of the information. Fujitsu assumes no liability for any damages whatsoever arising out of the use of the information. Any information in this document, including descriptions of function and schematic diagrams, shall not be construed as license of the use or exercise of any intellectual property right, such as patent right or copyright, or any other right of Fujitsu or any third party or does Fujitsu warrant non-infringement of any third-party’s intellectual property right or other right by using such information. Fujitsu assumes no liability for any infringement of the intellectual property rights or other rights of third parties which would result from the use of information contained herein. The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible repeater and artificial satellite). Please note that Fujitsu will not be liable against you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese government will be required for export of those products from Japan. F0506 © 2005 FUJITSU LIMITED Printed in Japan