LRI64 Memory TAG IC, 64-bit Unique ID with WORM User Area 13.56MHz, ISO 15693 Standard Compliant FEATURES SUMMARY ISO15693 Compliant 13.56MHz 7kHz Carrier Frequency Supported data transfer to the LRI64: 10% ASK modulation using "1-out-of-4" pulse position coding (26 kbit/s) Supported data transfer from the LRI64: Load modulation using Manchester coding with 423kHz single sub-carrier in fast data rate (26 kbit/s) Internal Tuning Capacitor 7 x 8 bits WORM User Area 64-bit Unique Identifier (UID) Read Block and Write Block Commands (8-bit blocks) 7ms Programming Time (typical) More than 40-Year Data Retention Electrical Article Surveillance capable (software controlled) Figure 1. Delivery Forms Antenna (A1) Antenna (A6) Antenna (A7) Wafer September 2004 1/38 LRI64 TABLE OF CONTENTS FEATURES SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Figure 1. Delivery Forms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 SUMMARY DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Figure 2. Logic Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Table 1. Signal Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Memory Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Figure 3. LRI64 Memory Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 SIGNAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 AC1, AC0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 COMMANDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Stay Quiet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Read Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Write Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Get_System_Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Initial Dialogue for Vicinity Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 POWER TRANSFER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Operating Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 COMMUNICATION SIGNAL FROM VCD TO LRI64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Table 2. 10% Modulation Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Figure 4. 10% Modulation Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Figure 5. "1-out-of-4" Coding Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 DATA RATE AND DATA CODING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Figure 6. "1-out-of-4" Coding Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 VCD TO LRI64 FRAMES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 7. Request SOF, using the "1-out-of-4" Data Coding Mode . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 8. Request EOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 COMMUNICATIONS SIGNAL FROM LRI64 TO VCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Load Modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Subcarrier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Data Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Bit Representation and Coding using One Subcarrier, at the High Data Rate . . . . . . . . . . . . 11 Logic 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 9. Logic 0, High Data Rate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2/38 LRI64 Logic 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 10.Logic 1, High Data Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 LRI64 TO VCD FRAMES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 LRI64 SOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 LRI64 EOF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Figure 11.Response SOF, using High Data Rate and One Subcarrier . . . . . . . . . . . . . . . . . . . . . . 12 Figure 12.Response EOF, using High Data Rate and One Subcarrier . . . . . . . . . . . . . . . . . . . . . . 12 SPECIAL FIELDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Unique Identifier (UID). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Figure 13.UID Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Figure 14.Decision Tree for AFI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Application Family Identifier (AFI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Data Storage Format Identifier (DSFID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Cyclic Redundancy Code (CRC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Figure 15.CRC Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 LRI64 PROTOCOL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Figure 16.VCD Request Frame Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Figure 17.LRI64 Response Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Figure 18.LRI64 Protocol Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 LRI64 STATES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Power-off State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Ready State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Quiet State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 MODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Addressed Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Non-Addressed Mode (General Request) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Figure 19.LRI64 State Transition Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 FLAGS AND ERROR CODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Request Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 3. Request Flags 1 to 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 4. Request Flags 5 to 8 (when Bit 3 = 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 5. Request Flags 5 to 8 (when Bit 3 = 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Response Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 6. Response Flags 1 to 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Response Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 7. Response Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 ANTI-COLLISION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Request Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3/38 LRI64 Mask Length and Mask Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Inventory Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Figure 20.Comparison between the Mask, Slot Number and UID. . . . . . . . . . . . . . . . . . . . . . . . . . 17 REQUEST PROCESSING BY THE LRI64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Explanation of the Possible Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Figure 21.Description of a Possible Anti-collision Sequence between LRI64 Devices . . . . . . . . . . 19 TIMING DEFINITIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Table 8. Timing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 LRI64 Response Delay, t1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 VCD New Request Delay, t2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 VCD New Request Delay when there is No LRI64 Response, t3 . . . . . . . . . . . . . . . . . . . . . . . . 20 COMMANDS CODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 9. Command Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 22.Inventory, Request Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 23.Inventory, Response Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Stay Quiet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Figure 24.Stay Quiet, Request Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Figure 25.Stay Quiet Frame Exchange between VCD and LRI64 . . . . . . . . . . . . . . . . . . . . . . . . . 22 Read Single Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Table 10. Block Lock Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Figure 26.Read Single Block, Request Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Figure 27.Read Single Block, Response Frame Format, when Error_Flag is not Set. . . . . . . . . . . 23 Figure 28.Read Single Block, Response Frame Format, when Error_Flag is Set. . . . . . . . . . . . . . 23 Figure 29.READ Single Block Frame Exchange between VCD and LRI64 . . . . . . . . . . . . . . . . . . 23 Write Single Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Figure 30.Write Single Block, Request Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Figure 31.Write Single Block, Response Frame Format, when Error_Flag is not Set. . . . . . . . . . . 24 Figure 32.Write Single Block, Response Frame Format, when Error_Flag is Set. . . . . . . . . . . . . . 24 Figure 33.Write Single Block Frame Exchange between VCD and LRI64 . . . . . . . . . . . . . . . . . . . 24 Get System Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Figure 34.Get System Info, Request Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Figure 35.Get System Info, Response Frame Format, when Error_Flag is not Set . . . . . . . . . . . . 25 Figure 36.Get System Info, Response Frame Format, when Error_Flag is Set . . . . . . . . . . . . . . . 25 Figure 37.Get System Info Frame Exchange between VCD and LRI64 . . . . . . . . . . . . . . . . . . . . . 25 MAXIMUM RATING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Table 11. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 DC AND AC PARAMETERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Table 12. Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Figure 38.LRI64 Synchronous Timing, Transmit and Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4/38 LRI64 Table 13. DC Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Table 14. AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 PACKAGE MECHANICAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Figure 39.A1 Antenna on Tape Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Table 15. A1 Antenna on Tape Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Figure 40.A6 Antenna on Tape Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Table 16. A6 Antenna on Tape Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Figure 41.A7 Antenna on Tape Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 17. A7 Antenna on Tape Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 PART NUMBERING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 18. Ordering Information Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 APPENDIX A.ALGORITHM FOR PULSED SLOTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 APPENDIX B.C-EXAMPLE TO CALCULATE OR CHECK THE CRC16 ACCORDING TO ISO/IEC 13239 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 19. CRC Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 CRC Calculation Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 APPENDIX C.APPLICATION FAMILY IDENTIFIER (AFI) CODING . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 20. AFI Coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 REVISION HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 21. Document Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 5/38 LRI64 SUMMARY DESCRIPTION The LRI64 is a contactless memory, powered by an externally transmitted radio wave. It contains a 120-bit non-volatile memory. The memory is organized as 15 blocks of 8 bits, of which 7 blocks are accessible as Write-Once Read-Many (WORM) memory. Figure 3. LRI64 Memory Mapping 0 1 2 3 4 5 6 7 Figure 2. Logic Diagram LRI64 Power Supply Regulator 120-bit WORM Memory AC1 ASK Demodulator Manchester Load Modulator Block Addr AC0 AI08590 The LRI64 is accessed using a 13.56MHz carrier wave. Incoming data are demodulated from the received Amplitude Shift Keying (ASK) signal, 10% modulated. The data are transferred from the reader to the LRI64 at 26Kbit/s, using the "1-outof-4" pulse encoding mode. Outgoing data are sent by the LRI64, generated by load variation on the carrier wave, using Manchester coding with a single sub-carrier frequency of 423kHz. The data are transferred from the LRI64 to the reader at 26Kbit/s, in the high data rate mode. The LRI64 supports the high data rate communication protocols of the ISO15693 recommendation. All other data rates and modulations are not supported by the LRI64. Table 1. Signal Names AC1 Antenna Coil AC0 Antenna Coil Memory Mapping The LRI64 is organized as 15 blocks of 8 bits as shown in Figure 3. Each block is automatically write-protected after the first valid write access. 0 UID 0 1 UID 1 2 UID 2 3 UID 3 4 UID 4 5 UID 5 = IC_ID 6 UID 6 = 02h 7 UID 7 = E0h 8 AFI (WORM Area) 9 DSFID (WORM Area) 10 WORM Area 11 WORM Area 12 WORM Area 13 WORM Area 14 WORM Area AI09741 The LRI64 uses the first 8 blocks (blocks 0 to 7) to store the 64-bit Unique Identifier (UID). The UID is used during the anti-collision sequence (Inventory). It is written, by ST, at time of manufacture, but part of it can be customer-accessible and customer-writable, on special request. The LRI64 has an AFI register, in which to store the Application Family Identifier value, which is also used during the anti-collision sequence. The LRI64 has a DSFID register, in which to store the Data Storage Format Identifier value, which is used for the LRI64 Inventory answer. The five following blocks (blocks 10 to 14) are Write-Once Read-Many (WORM) memory. It is possible to write to each of them once. After the first valid write access, the block is automatically locked, and only read commands are possible. SIGNAL DESCRIPTION AC1, AC0. The pads for the Antenna Coil. AC1 and AC0 must be directly bonded to the antenna. 6/38 LRI64 COMMANDS The LRI64 supports the following commands: Inventory. Used to perform the anti-collision sequence. The LRI64 answers to the Inventory command when all of the 64 bits of the UID have been correctly written. Stay Quiet. Used to put the LRI64 in Quiet mode. In this mode, the LRI64 only responds to commands in Addressed mode. Read Block. Used to output the 8 bits of the selected block. Write Block. Used to write a new 8-bit value in the selected block, provided that the block is not locked. This command can be issued only once to each block. Get_System_Info. Used to allow the application system to identify the product. It gives the LRI64 memory size, and IC reference (IC_ID). Initial Dialogue for Vicinity Cards The dialogue between the Vicinity Coupling Device (VCD) and the LRI64 is conducted according to a technique called Reader Talk First (RTF). This involves the following sequence of operations: 1. activation of the LRI64 by the RF operating field of the VCD 2. transmission of a command by the VCD 3. transmission of a response by the LRI64 POWER TRANSFER Power transfer to the LRI64 is accomplished by inductive coupling of the 13.56MHz radio signal between the antennas of the LRI64 and VCD. The RF field transmitted by the VCD induces an AC voltage on the LRI64 antenna, which is then rectified, smoothed and voltage-regulated. Any amplitude modulation present on the signal is demodulated by the Amplitude Shift Keying (ASK) demodulator. Frequency The ISO15693 standard defines the carrier frequency (fC) of the operating field to be 13.56MHz7kHz. Operating Field The LRI64 operates continuously between H min and Hmax. - The minimum operating field is Hmin and has a value of 150mA/m (rms). - The maximum operating field is Hmax and has a value of 5A/m (rms). A VCD generates a field of at least Hmin and not exceeding H max in the operating volume. 7/38 LRI64 COMMUNICATION SIGNAL FROM VCD TO LRI64 Communications between the VCD and the LRI64 involves a type of Amplitude Modulation called Amplitude Shift Keying (ASK). The LRI64 only supports the 10% modulation mode specified in the ISO15693 standard. Any request that the VCD might send using the 100% modulation mode, is ignored, and the LRI64 remains in its current state. However, the LRI64 is, in fact, operational for any degree of modulation index from between 10% and 30%. The modulation index is defined as (a-b)/(a+b) where a and b are the peak and minimum signal amplitude, respectively, of the carrier frequency, as shown in Figure 4. Table 2. 10% Modulation Parameters Parameter Min Max hr - 0.1 x (a-b) hf - 0.1 x (a-b) Figure 4. 10% Modulation Waveform hf hr tRFF a tRFSFL tRFR b t AI06655B Figure 5. "1-out-of-4" Coding Example 10 00 01 11 75.52 s 75.52 s 75.52 s 75.52 s AI06659B 8/38 LRI64 DATA RATE AND DATA CODING The data coding method involves pulse position modulation. The LRI64 supports the "1-out-of-4" pulse coding mode. Any request that the VCD might send in the "1-out-of-256" pulse coded mode, is ignored, and the LRI64 remains in its current state. Two bit values are encoded at a time, by the positioning of a pause of the carrier frequency in one of four possible 18.88s (256/fc) time slots, as shown in Figure 6. Four successive pairs of bits form a byte. The transmission of one byte takes 302.08 s and, consequently, the data rate is 26.48 kbits/s (fc/ 512). The encoding for the least significant pair of bits is transmitted first. For example Figure 5. shows the transmission of E1h (225d, 1110 0001b) by the VCD. Figure 6. "1-out-of-4" Coding Mode Pulse position for "00" 9.44 s 9.44 s 75.52 s Pulse position for "01" (1=LSB) 28.32 s 9.44 s 75.52 s Pulse position for "10" (0=LSB) 47.20s Pulse position for "11" 9.44 s 75.52 s 66.08 s 9.44 s 75.52 s AI06658 9/38 LRI64 VCD TO LRI64 FRAMES ing field. After this delay, the LRI64 is ready to receive a command frame from the VCD. In the ISO15693 standard, the SOF is used to define the data coding mode that the VCD is going to use in the following command frame. The SOF that is shown in Figure 7. selects the "1out-of-4" data coding mode. (The LRI64 does not support the SOF for the "1-out-of-256" data coding mode.) The corresponding EOF sequence is shown in Figure 8. Request Frames are delimited by a Start of Frame (SOF) and an End of Frame (EOF) and are implemented using a code violation mechanism. Unused options are reserved for future use. The LRI64 is ready to receive a new command frame from the VCD after a delay of t2 (see Table 14.) after having sent a response frame to the VCD. The LRI64 generates a Power On delay of t POR (see Table 14.) after being activated by the power- Figure 7. Request SOF, using the "1-out-of-4" Data Coding Mode 9.44 s 9.44 s 9.44 s 37.76 s 37.76 s AI06660 Figure 8. Request EOF 9.44 s 9.44 s 37.76 s AI06662 10/38 LRI64 COMMUNICATIONS SIGNAL FROM LRI64 TO VCD The ISO15693 standard defines several modes, for some parameters, to cater for use in different application requirements and noise environments. The LRI64 does not support all of these modes, but supports the single subcarrier mode at the fast data rate. Load Modulation The LRI64 is capable of communication to the VCD via the inductive coupling between the two antennas. The carrier is loaded, with a subcarrier with frequency fS, generated by switching a load in the LRI64. The amplitude of the variation to the signal, as received on the VCD antenna, is at least 10mV, when measured as described in the test methods defined in International Standard ISO10373-7. Subcarrier The LRI64 supports the one subcarrier modulation response format. This format is selected by the VCD using the first bit in the protocol header. The frequency, fS, of the subcarrier load modulation is 423.75kHz (=fC/32). Data Rate The LRI64 response uses the high data rate format (26.48 kbits/s). The selection of the data rate is made by the VCD using the second bit in the protocol header. Bit Representation and Coding using One Subcarrier, at the High Data Rate Data bits are encoded using Manchester coding, as described in Figure 9. and Figure 10. Logic 0. A logic 0 starts with 8 pulses of 423.75kHz (fC/32) followed by an unmodulated period of 18.88s as shown in Figure 9. Figure 9. Logic 0, High Data Rate 37.76 s AI06663 Logic 1. A logic 1 starts with an unmodulated period of 18.88s followed by 8 pulses of 423.75kHz (fC/32) as shown in Figure 10. Figure 10. Logic 1, High Data Rate 37.76 s AI06664 11/38 LRI64 LRI64 TO VCD FRAMES Response Frames are delimited by a Start of Frame (SOF) and an End of Frame (EOF) and are implemented using a code violation mechanism. The LRI64 supports these in the one subcarrier mode, at the fast data rate, only. The VCD is ready to receive a response frame from the LRI64 before 320.9s (t1) after having sent a command frame. LRI64 SOF SOF comprises three parts: (see Figure 11.) - an unmodulated period of 56.64s, - 24 pulses of 423.75kHz (fc/32), - a logic 1 which starts with an unmodulated period of 18.88s followed by 8 pulses of 423.75kHz. LRI64 EOF EOF comprises three parts: (see Figure 12.) - a logic 0 which starts with 8 pulses of 423.75kHz followed by an unmodulated period of 18.88s. - 24 pulses of 423.75kHz (fC/32), - an unmodulated time of 56.64s. Figure 11. Response SOF, using High Data Rate and One Subcarrier 113.28 s 37.76 s AI06671B Figure 12. Response EOF, using High Data Rate and One Subcarrier 37.76 s 113.28 s AI06675B 12/38 LRI64 SPECIAL FIELDS Unique Identifier (UID) Members of the LRI64 family are uniquely identified by a 64-bit Unique Identifier (UID). This is used for addressing each LRI64 device uniquely and individually, during the anti-collision loop and for one-to-one exchange between a VCD and an LRI64. The UID complies with ISO/IEC 15963 and ISO/ IEC 7816-6. It is a read-only code, and comprises (as summarized in Figure 13.): - 8-bit prefix, the most significant bits, set at E0h - 8-bit IC Manufacturer code (ISO/IEC 7816-6/ AM1), set at 02h (for STMicroelectronics) - 48-bit Unique Serial Number Figure 13. UID Format Most significant bits 63 55 47 E0h Least significant bits 0 02h Unique Serial Number AI09725 Figure 14. Decision Tree for AFI Inventory Request Received No AFI Flag Set ? Yes AFI value =0? No Application Family Identifier (AFI) The Application Family Identifier (AFI) indicates the type of application targeted by the VCD, and is used to select only those LRI64 devices meeting the required application criteria (as summarized in Figure 14.). The value is programmed by the LRI64 issuer in the AFI register. Once programmed, it cannot be modified. The most significant nibble of the AFI is used to indicate one specific application, or all families. The least significant nibble of the AFI is used to code one specific sub-families, or all sub-families. Subfamily codes, other than 0, are proprietary (as described in the ISO 15693-3 documentation). Data Storage Format Identifier (DSFID) The Data Storage Format Identifier (DSFID) indicates how the data is structured in the LRI64 memory. It is coded on one byte. It allows for quick and brief knowledge on the logical organization of the data. It is programmed by the LRI64 issuer in the DSFID register. Once programmed, it cannot be modified. Cyclic Redundancy Code (CRC) The Cyclic Redundancy Code (CRC) is calculated as defined in ISO/IEC 13239, starting from an initial register content of all ones: FFFFh. The 2-byte CRC is appended to each Request and each Response, within each frame, before the EOF. The CRC is calculated on all the bytes after the SOF, up to the CRC field. Upon reception of a Request from the VCD, the LRI64 verifies that the CRC value is valid. If it is invalid, it discards the frame, and does not answer the VCD. Upon reception of a Response from the LRI64, it is recommended that the VCD verify that the CRC value is valid. If it is invalid, the actions that need to be performed are up to the VCD designer. The CRC is transmitted Least Significant Byte first. Each byte is transmitted Least Significant Bit first, as shown in Figure 15.). Yes AFI value = Internal value ? No Figure 15. CRC Format Yes Answer given by the VICC to the Inventory Request No Answer AI06679B Least Significant Byte Most Significant Byte l.s.bit m.s.bit l.s.bit m.s.bit AI09726 13/38 LRI64 LRI64 PROTOCOL DESCRIPTION The Transmission protocol defines the mechanism to exchange instructions and data between the VCD and the LRI64, in each direction. Based on "VCD talks first", the LRI64 does not start transmitting unless it has received and properly decoded an instruction sent by the VCD. The protocol is based on an exchange of: - a Request from the VCD to the LRI64 - a Response from the LRI64 to the VCD Each Request and each Response are contained in a Frame. The frame delimiters (SOF, EOF) are described in the previous paragraphs. Each Request (Figure 16.) consists of: - Request SOF (Figure 7.) - Request Flags (Table 3. to Table 5.) - Command Code - Parameters (depending on the Command) - Application Data - 2-byte CRC (Figure 15.) - Request EOF (Figure 8.) Each Response (Figure 17.) consists of: - Response SOF (Figure 11.) - Response Flags (Table 6.) - Parameters (depending on the Command) - Application Data - 2-byte CRC (Figure 15.) - Response EOF (Figure 12.) The number of bits transmitted in a frame is a multiple of eight, and thus always an integer number of bytes. Single-byte fields are transmitted Least Significant Bit first. Multiple-byte fields are transmitted Least Significant Byte first, with each byte transmitted Least Significant Bit first. The setting of the flags indicates the presence of any optional fields. When the flag is set, 1, the field is present. When the flag is reset, 0, the field is absent. Figure 16. VCD Request Frame Format Request SOF Request Command Flags Code Parameters 2-Byte CRC Data Request EOF AI09727 Figure 17. LRI64 Response Frame Format Response Response SOF Flags Parameters Data 2-Byte CRC Response EOF AI09728 Figure 18. LRI64 Protocol Timing VCD Request Frame Request Frame Response Frame VICC Timing t1 Response Frame t2 t1 t2 AI06830B 14/38 LRI64 LRI64 STATES A LRI64 can be in any one of three states: - Power-off - Ready - Quiet Transitions between these states are as specified in Figure 19. Power-off State The LRI64 is in the Power-off state when it receives insufficient energy from the VCD. Ready State The LRI64 is in the Ready state when it receives enough energy from the VCD. It answers to any Request in Addressed and Non-addressed modes. Quiet State When in the Quiet State, the LRI64 answers to any Request in Addressed mode. MODES The term mode refers to the mechanism for specifying, in a Request, the set of LRI64 devices that shall answer to the Request. Addressed Mode When the Address_flag is set to 1 (Addressed mode), the Request contains the Unique ID (UID) of the addressed LRI64 device (such as an LRI64 device). Any LRI64 receiving a Request in which the Address_flag is set to 1, compares the received Unique ID to its own UID. If it matches, it execute the Request (if possible) and returns a Response to the VCD, as specified by the command description. If it does not match, the LRI64 device remains silent. Non-Addressed Mode (General Request) When the Address_flag is set to 0 (Non-addressed mode), the Request does not contain a Unique ID field. Any LRI64 device receiving a Request in which the Address_flag is set to 0, executes the Request and returns a Response to the VCD as specified by the command description. Figure 19. LRI64 State Transition Diagram Power Off Out of field Out of field In field Ready Inventory (if UID written) Write, Read, Get_System_Info in addressed and non-addressed modes Stay quiet(UID) Quiet Write, Read, Get_System_Info in addressed mode AI09723 15/38 LRI64 FLAGS AND ERROR CODES Request Flags In a Request, the 8-bit Flags Field specifies the actions to be performed by the LRI64, and whether corresponding fields are present or not. Flag bit 3 (the Inventory_flag) defines the way the four most significant flag bits (5 to 8) are used. When bit 3 is reset (0), bits 5 to 8 define the LRI64 selection criteria. When bit 3 is set (1), bits 5 to 8 define the LRI64 Inventory parameters. Table 5. Request Flags 5 to 8 (when Bit 3 = 1) Bit 5 6 Name Value 1 Description 1 Subcarrier Flag 0 Single sub-carrier frequency mode. (Option 1 is not supported) 2 Data_rate Flag 1 High data rate mode. (Option 0 is not supported) 0 Flags 5 to 8 meaning are according to Table 4. 1 Flags 5 to 8 meaning are according to Table 5. 0 No Protocol format extension. Must be set to 0. (Option 1 is not supported) 3 4 Inventory Flag Protocol Extension Flag Note: 1. If the value of the Request Flag is a non authorized value, the LRI64 does not execute the command, and does not respond to the request. Table 4. Request Flags 5 to 8 (when Bit 3 = 0) Value 1 0 AFI field is not present 1 AFI field is present 0 16 slots 1 1 slot AFI Flag Nb_slots Flag Option Flag 0 No option. Must be set to 0. (Option 1 is not supported) 8 RFU 0 No option. Must be set to 0. (Option 1 is not supported) Note: 1. Bits 7 and 8 must be reset to 0. Response Flags In a Response, the 8-bit Flags Field indicates how actions have been performed by the LRI64, and whether corresponding fields are present or not. Table 6. Response Flags 1 to 8 Bit 1 Name Value No error 1 Error detected. Error code is in the "Error" field. Error Flag 2 RFU 0 3 RFU 0 4 RFU 0 5 RFU 0 No selection mode. Must be set to 0. (Option 1 is not supported) 6 RFU 0 0 7 RFU 0 8 RFU 0 0 Non addressed mode. The UID field is not present in the request. All LRI64 shall answer to the request. 1 Addressed mode. The UID field is present in the request. Only the LRI64 that matches the UID answers the request. 7 Option Flag 1 0 No option. Must be set to 0. (Option 1 is not supported) 8 RFU 1 0 No option. Must be set to 0. (Option 1 is not supported) 5 6 Name Select Flag Value Address Flag 1 Note: 1. Only bit 6 (Address flag) can be configured for the LRI64. All others bits (5, 7 and 8) must be reset to 0. 16/38 Description 0 Description Bit Description 7 Table 3. Request Flags 1 to 4 Bit Name Response Error Code If the Error Flag is set by the LRI64 in the Response, the Error Code Field is present and provides information about the error that occurred. Table 7. shows the one error code that is supported by the LRI64. Table 7. Response Error Code Error Code Meaning 0Fh Error with no specific information given LRI64 ANTI-COLLISION The purpose of the anti-collision sequence is to allow the VCD to compile a list of the LRI64 devices that are present in the VCD field, each one identified by its unique ID (UID). The VCD is the master of the communication with one or multiple LRI64 devices. It initiates the communication by issuing the Inventory Request (Figure 22.). Request Flags The Nb_slots_flag needs to be set appropriately. The AFI Flag needs to be set, if the Optional AFI Field is to be present. Mask Length and Mask Value The Mask Length defines the number of significant bits in the Mask Value. The Mask Value is contained in an integer number of bytes. The least significant bit of each is transmitted first. If the Mask Length is not a multiple of 8 (bits), the most significant end of the Mask Value is padded with the required number of null bits (set to 0) so that the Mask Value is contained in an integer number of bytes, so that the next field (the 2-Byte CRC) starts at the next byte boundary. In the example of Figure 20., the Mask Length is 11 bits. The Mask Value, 10011001111, is padded out at the most significant end with five bits set to 0. The 11 bits Mask plus the current slot number is compared to the UID. Inventory Responses Each LRI64 sends its Response in a given time slot, or else remains silent. The first slot starts immediately after the reception of the Request EOF. To switch to the next slot, the VCD sends another EOF. The following rules and restrictions apply: - if no LRI64 answer is detected, the VCD may switch to the next slot by sending an EOF - if one or more LRI64 answers are detected, the VCD waits until the complete frame has been received before sending an EOF, to switch to the next slot. The pulse shall be generated according to the definition of the EOF in ISO/IEC 15693-2. Figure 20. Comparison between the Mask, Slot Number and UID MSB LSB 0000 0100 1100 1111 b 16 bits Mask value received in the Inventory command MSB LSB 100 1100 1111 b 11 bits The Mask value less the padding 0s is loaded into the Tag comparator MSB LSB xxxx The Slot counter is calculated Nb_slots_flags = 0 (16 slots), Slot Counter is 4 bits MSB LSB xxxx 100 1100 1111 b 15 bits The Slot counter is concatened to the Mask value Nb_slots_flags = 0 The concatenated result is compared with the least significant bits of the Tag UID. 4 bits UID b63 b0 xxxx xxxx ..... xxxx xxxx x xxx xxxx xxxx xxxx b Bits ignored 64 bits Compare AI06682 17/38 LRI64 REQUEST PROCESSING BY THE LRI64 Upon reception of a valid Request, the LRI64 performs the following algorithm, where: - NbS is the total number of slots (1 or 16) - SN is the current slot number (0 to 15) - The function LSB(value,n) returns the n least significant bits of value - The function MSB(value,n) returns the n most significant bits of value - "&" is the concatenation operator - Slot_Frame is either a SOF or an EOF SN = 0 if (Nb_slots_flag) then NbS = 1 SN_length = 0 endif else NbS = 16 SN_length = 4 endif label1: if LSB(UID, SN_length + Mask_length) = LSB(SN,SN_length)&LSB(Mask,Mask_length) then answer to inventory request endif wait (Slot_Frame) if Slot_Frame = SOF then Stop Anticollision decode/process request exit endif if Slot_Frame = EOF if SN < NbS-1 thenSN = SN + 1 goto label1 exit endif endif 18/38 Explanation of the Possible Cases Figure 21. summarizes the main possible cases that can occur during an anti-collision sequence when the number of slots is 16. The different steps are: - The VCD sends an Inventory Request, in a frame, terminated by a EOF. The number of slots is 16. - LRI64 #1 transmits its Response in Slot 0. It is the only one to do so, therefore no collision occurs and its UID is received and registered by the VCD; - The VCD sends an EOF, to switch to the next slot. - In slot 1, two LRI64 devices, #2 and #3, transmit their Responses. This generates a collision. The VCD records it, and remembers that a collision was detected in Slot 1. - The VCD sends an EOF, to switch to the next slot. - In Slot 2, no LRI64 transmits a Response. Therefore the VCD does not detect a LRI64 SOF, and decides to switch to the next slot by sending an EOF. - In slot 3, there is another collision caused by Responses from LRI64 #4 and #5 - The VCD then decides to send a Request (for instance a Read Block) to LRI64 #1, whose UID was already correctly received. - All LRI64 devices detect a SOF and exit the anti-collision sequence. They process this Request and since the Request is addressed to LRI64 #1, only LRI64 #1 transmits its Response. - All LRI64 devices are ready to receive another Request. If it is an Inventory command, the slot numbering sequence restarts from 0. Note: the decision to interrupt the anti-collision sequence is up to the VCD. It could have continued to send EOFs until Slot 15 and then send the Request to LRI64 #1. Time Comment Timing VICCs VCD SOF Inventory EOF Request t1 No collision Response 1 Slot 0 t2 EOF t1 Collision Response 3 Response 2 Slot 1 t2 EOF No Response t3 Slot 2 EOF t1 Collision Response 5 Response 4 Slot 3 t2 SOF Request to EOF LRI512 1 t1 AI06831B Response from LRI512 1 LRI64 Figure 21. Description of a Possible Anti-collision Sequence between LRI64 Devices 19/38 LRI64 TIMING DEFINITIONS Figure 21. shows three specific delay times: t1, t2 and t3. All of them have a minimum value, specified in Table 14.. The t 1 parameter also has a maximum and a typical value specified in Table 14., as summarized in Table 8. Table 8. Timing Values Min. Typ. Max. t1 t1(min) t1(typ) = 4352 / fC t1(max) t2 t2(min) = 4192 / fC -- -- -- -- t3 t1(max) + tSOF (see notes1,2) Note: 1. tSOF is the duration for the LRI64 to transmit an SOF to the VCD. 2. t1(max) does not apply for write alike requests. Timing conditions for write alike requests are defined in the command description. 3. The tolerance of specific timings is 32/fC. LRI64 Response Delay, t 1 Upon detection of the rising edge of the EOF received from the VCD, the LRI64 waits for a time equal to t1(typ) = 4352 / fC before starting to transmit its response to a VCD request, or switching to the next slot when in an inventory process. 20/38 VCD New Request Delay, t 2 t2 is the time after which the VCD may send an EOF to switch to the next slot when one or more LRI64 responses have been received during an inventory command. It starts from the reception of the EOF received from the LRI64 devices. The EOF sent by the VCD is 10% modulated, independent of the modulation index used for transmitting the VCD request to the LRI64. t2 is also the time after which the VCD may send a new request to the LRI64 as described in Figure 18. t2(min) = 4192 / fC VCD New Request Delay when there is No LRI64 Response, t3 t3 is the time after which the VCD may send an EOF to switch to the next slot when no LRI64 response has been received. The EOF sent by the VCD is 10% modulated, independent of the modulation index used for transmitting the VCD request to the LRI64. From the time the VCD has generated the rising edge of an EOF: - The VCD waits for a time at least equal to the sum of t3(min) and the typical response time of an LRI64, which depends on the data rate and subcarrier modulation mode, before sending a subsequent EOF. LRI64 COMMANDS CODES The LRI64 supports the command codes listed in Table 9. Table 9. Command Codes Command Code Function 01h Inventory 02h Stay Quiet 20h Read Single Block 21h Write Single Block 2Bh Get System Info Inventory When receiving the Inventory request, the LRI64 performs the anti-collision sequence. The Inventory_flag is set to 1. The meanings of Flags 5 to 8 is as described in Table 5. The Request Frame (Figure 22.) contains: - Request Flags (Table 3. and Table 5.) - Inventory Command Code (01h, Table 9.) - AFI, if the AFI Flag is set - Mask Length - Mask Value - 2-byte CRC (Figure 15.) In case of errors in the Inventory request frame, the LRI64 does not generate any answer. The Response Frame (Figure 23.) contains: - Response Flags (Table 6.) - DSFID - Unique ID - 2-byte CRC (Figure 15.) Figure 22. Inventory, Request Frame Format Request SOF Request Command Optional Flags Code AFI 8 bits 8 bits 01h 8 bits Mask Length Mask Value 2-Byte CRC 8 bits 0 to 8 bytes 16 bits Request EOF AI09729 Figure 23. Inventory, Response Frame Format Response Response SOF Flags 8 bits DSFID UID 2-Byte CRC 8 bits 64 bits 16 bits Response EOF AI09730 21/38 LRI64 Stay Quiet The Stay Quiet Command is always executed in Addressed Mode (the Address_Flag is set to 1). The Request Frame (Figure 24.) contains: - Request Flags (22h, as described in Table 3. and Table 4.) - Stay Quiet Command Code (02h, Table 9.) - Unique ID - 2-byte CRC (Figure 15.) When receiving the Stay Quiet command, the LRI64 enters the Quiet State and does not send back a Response. There is no response to the Stay Quiet Command. When in the Quiet State: - the LRI64 does not process any Request in which the Inventory_flag is set - the LRI64 responds to commands in the Addressed mode if the UID matches The LRI64 exits the Quiet State when it is taken to the Power Off state (Figure 19.). Figure 24. Stay Quiet, Request Frame Format Request SOF Request Command Flags Code 8 bits 22h 8 bits 02h UID 2-Byte CRC 64 bits 16 bits Request EOF AI09731 Figure 25. Stay Quiet Frame Exchange between VCD and LRI64 VCD SOF Stay Quiet Request EOF AI06842 22/38 LRI64 Read Single Block When receiving the Read Single Block Command, the LRI64 read the requested block and send back its 8 bits value in the Response.The Option_Flag is supported. The Read Single Block can be issued in both addressed and non addressed modes. The Request Frame (Figure 26.) contains: - Request Flags (Table 3. and Table 4.) - Read Single Block Command Code (20h, Table 9.) - Unique ID (Optional) - Block Number - 2-byte CRC (Figure 15.) If there is no error, at the LRI64, the Response Frame (Figure 27.) contains: - Response Flags (Table 6.) - Block Locking Status, if Option_Flag is set - 1 byte of Block Data (Table 10.) - 2-byte CRC (Figure 15.) Otherwise, if there is an error, the Response Frame (Figure 28.) contains: - Response Flags (01h, Table 6.) - Error Code (0Fh, Table 7.) - 2-byte CRC (Figure 15.) Table 10. Block Lock Status Bit 0 1 to 7 Name Value Description Block Locked 0 Current Block not locked 1 Current Block locked RFU 0 Figure 26. Read Single Block, Request Frame Format Request SOF Request Command Flags Code 8 bits UID 8 bits 20h 64 bits Block Number 2-Byte CRC 8 bits 16 bits Request EOF AI09732 Figure 27. Read Single Block, Response Frame Format, when Error_Flag is not Set Response Response BlockLock SOF Flags Status Data 2-Byte CRC 8 bits 8 bits 16 bits 8 bits Response EOF AI09733 Figure 28. Read Single Block, Response Frame Format, when Error_Flag is Set Response Response SOF Flags 8 bits 01h Error Code 2-Byte CRC 8 bits 0Fh 16 bits Response EOF AI09734 Figure 29. READ Single Block Frame Exchange between VCD and LRI64 VCD SOF Read Single Block Request EOF VICC SOF t1 Read Single Block Response EOF AI06832B 23/38 LRI64 Write Single Block When receiving the Write Single Block command, the LRI64 writes the requested block with the data contained in the Request and report the success of the operation in the Response. The Option_Flag is not supported and must be set to 0. The Write Single Block can be issued in both addressed and non addressed modes. During the write cycle tW, no modulation shall occur, otherwise the LRI64 may program the data incorrectly in the memory. The Request Frame (Figure 30.) contains: - Request Flags (Table 3. and Table 4.) - Write Single Block Command Code (21h, Table 9.) - Unique ID (Optional) - Block Number - Data - 2-byte CRC (Figure 15.) If there is no error, at the LRI64, an empty Response Frame (Figure 31.) is sent back after the write cycle, containing no parameters. It just contains: - Response Flags (Table 6.) - 2-byte CRC (Figure 15.) Otherwise, if there is an error, the Response Frame (Figure 32.) contains: - Response Flags (01h, Table 6.) - Error Code (0Fh, Table 7.) - 2-byte CRC (Figure 15.) Figure 30. Write Single Block, Request Frame Format Request SOF Request Command Flags Code 8 bits UID 8 bits 21h 64 bits Block Number Data 2-Byte CRC 8 bits 8 bits 16 bits Request EOF AI09735 Figure 31. Write Single Block, Response Frame Format, when Error_Flag is not Set Response Response SOF Flags 2-Byte CRC 8 bits Response EOF 16 bits AI09736 Figure 32. Write Single Block, Response Frame Format, when Error_Flag is Set Response Response SOF Flags 8 bit 01h Error Code 2-Byte CRC 8 bits 0Fh 16 bits Response EOF AI09737 Figure 33. Write Single Block Frame Exchange between VCD and LRI64 VCD SOF Write Single Block Request EOF SOF VICC t1 Write Single Block Response VICC EOF SOF tw t1 Write sequence when error Write Single Block Response EOF AI06833B 24/38 LRI64 Get System Info When receiving the Get System Info command, the LRI64 send back its information data in the Response.The Option_Flag is supported and must be set to 0. The Get System Info can be issued in both addressed and non addressed modes. The Request Frame (Figure 26.) contains: - Request Flags (Table 3. and Table 4.) - Get System Info Command Code (2Bh, Table 9.) - Unique ID (Optional) - 2-byte CRC (Figure 15.) If there is no error, at the LRI64, the Response Frame (Figure 27.) contains: - Response Flags (Table 6.) - Information Flags set to 0Fh, indicating the four information fields that are present (DSFID, AFI, Memory Size, IC Reference) - Unique ID - DSFID value (as written in block 9) - AFI value (as written in block 8) - Memory size: for the LRI64, there are 15 blocks (0Eh) of 1 byte (00h). - IC Reference: only the 6 most significant bits are used. The product code of the LRI64 is 00 0101b=5d - 2-byte CRC (Figure 15.) Otherwise, if there is an error, the Response Frame (Figure 28.) contains: - Response Flags (01h, Table 6.) - Error Code (0Fh, Table 7.) - 2-byte CRC (Figure 15.) Figure 34. Get System Info, Request Frame Format Request SOF Request Command Flags Code 8 bits 8 bits 2Bh UID 2-Byte CRC 64 bits 16 bits Request EOF AI09738 Figure 35. Get System Info, Response Frame Format, when Error_Flag is not Set Response Response Information SOF Flags Flags UID DSFID AFI Memory Size IC Ref 2-Byte CRC 8 bits 00h 64 bits 8 bits 8 bits 16 bits 000Eh 8 bits 000101xxb 16 bits 8 bits 0Fh Response EOF AI09739 Figure 36. Get System Info, Response Frame Format, when Error_Flag is Set Response Response SOF Flags 8 bits 01h Error Code 2-Byte CRC 8 bits 0Fh 16 bits Response EOF AI09740 Figure 37. Get System Info Frame Exchange between VCD and LRI64 VCD SOF Get System Info Request EOF VICC SOF t1 Get System Info Response EOF AI09724 25/38 LRI64 MAXIMUM RATING Stressing the device above the rating listed in the Absolute Maximum Ratings table may cause permanent damage to the device. These are stress ratings only and operation of the device at these or any other conditions above those indicated in the Operating sections of this specification is not im- plied. Exposure to Absolute Maximum Rating conditions for extended periods may affect device reliability. Refer also to the STMicroelectronics SURE Program and other relevant quality documents. Table 11. Absolute Maximum Ratings Symbol Parameter Min. Max. Unit 15 25 C 23 months Wafer kept in its antistatic bag TSTG, hSTG, tSTG Storage Conditions A1, A6, A7 ICC 25 C 40% 60% RH 2 years Supply Current on AC0 / AC1 -20 20 mA VMAX Input Voltage on AC0 / AC1 -7 7 V VESD Electrostatic Discharge Voltage 1 -7000 7000 V Note: 1. Mil. Std. 883 - Method 3015 2. ESD test: ISO10373-7 specification 26/38 15 A1, A6, A7 LRI64 DC AND AC PARAMETERS This section summarizes the operating and measurement conditions, and the DC and AC characteristics of the device. The parameters in the DC and AC Characteristic tables that follow are derived from tests performed under the Measure- ment Conditions summarized in the relevant tables. Designers should check that the operating conditions in their circuit match the measurement conditions when relying on the quoted parameters. Table 12. Operating Conditions Symbol TA Parameter Ambient Operating Temperature Min. Max. Unit -20 85 C Figure 38. LRI64 Synchronous Timing, Transmit and Receive A B tRFF tRFR fCC tRFSBL tMIN CD AI06680B Figure 38. shows an ASK modulated signal, from the VCD to the LRI64. The test condition for the AC/DC parameters are: - - Close coupling condition with tester antenna (1mm) Gives LRI64 performance on tag antenna Table 13. DC Characteristics Symbol Test Conditions 1 Parameter VCC Regulated Voltage VRET Retromodulated Induced Voltage ICC CTUN Min. Typ. 1.5 ISO10373-7 Max. Unit 3.0 V 10 mV Read VCC = 3.0V 50 A Write VCC = 3.0V 150 A Supply Current f=13.56MHz for W4/1 21 pF f=13.56MHz for W4/2 28.5 pF Internal Tuning Capacitor Note: 1. TA=-20 to 85C 27/38 LRI64 Table 14. AC Characteristics Symbol fC Parameter Min. Typ. Max. Unit 13.553 13.56 13.567 MHz 10 30 % 0 3.0 s 10% Minimum Pulse Width for Bit 7.1 9.44 s Bit Pulse Jitter -2 +2 s 1 ms External RF Signal Frequency MICARRIER 10% Carrier Modulation Index tRFR, tRFF tRFSBL tJIT Test Conditions 1, 2 MI=(A-B)/(A+B) 10% Rise and Fall Time tMINCD Minimum Time from Carrier Generation to First Data From H-field min 0.1 fSH Subcarrier Frequency High fC/32 423.75 t1 Time for LRI64 Response 4352/fC 313 320.9 322 s t2 Time between Commands 4224/fC 309 311.5 314 s tW Programming Time 93297/fC 6.88 ms Note: 1. TA=-20 to 85C 2. All timing measurements were performed on a reference antenna with the following characteristics: External size: 75mm x 48mm Number of turns: 6 Width of conductor: 1mm Space between 2 conductors: 0.4mm Value of the Tuning Capacitor: 28.5pF (LRI64-W4) Value of the coil: 4.3H Tuning Frequency: 14.4MHz. 28/38 kHz LRI64 PACKAGE MECHANICAL Figure 39. A1 Antenna on Tape Outline C1 A1 B1 C2 A2 B2 ai10119 Note: Drawing is not to scale. Table 15. A1 Antenna on Tape Mechanical Data Symbol Parameter Typ Min Max Unit A1 Coil Width 45 44.5 45.5 mm A2 Coil Length 76 75.5 76.5 mm B1 Antenna Cut Width 49 48.8 49.2 mm B2 Antenna Cut Length 82 81.8 82.2 mm C1 Die Position from Antenna 23 22.8 23.2 mm C2 Die Position from Antenna 56 55.8 56.2 mm Silicon Thickness 180 165 195 m Unloaded Q value 35 Q FNOM PA Unloaded free-air resonance H-field Energy for Device Operation 15.1 MHz 0.03 90 A/m dbA/m 29/38 LRI64 Figure 40. A6 Antenna on Tape Outline I A B ai10120 Note: Drawing is not to scale. Table 16. A6 Antenna on Tape Mechanical Data Symbol Typ Min Max Unit A Coil Diameter 35 34.5 35.5 mm B Antenna cut diameter 40 38.8 40.2 mm I Hole Diameter 16 15.8 16.2 mm Overall Thickness of copper antenna coil 80 70 90 m Silicon Thickness 180 165 195 m Unloaded Q value 35 Q FNOM PA 30/38 Parameter Unloaded free-air resonance H-field Energy for Device Operation 15.1 MHz 0.5 114 A/m dbA/m LRI64 Figure 41. A7 Antenna on Tape Outline A1 B1 C1 C2 A2 B2 ai10121 Note: Drawing is not to scale. Table 17. A7 Antenna on Tape Mechanical Data Symbol Parameter Typ Min Max Unit A1 Coil Width 40 39.5 40.5 mm A2 Coil Length 20 19.5 20.5 mm B1 Antenna Cut Width 44 43.8 44.2 mm B2 Antenna Cut Length 24 23.8 24.2 mm C1 Die Position from Antenna 10 9.8 10.2 mm C2 Die Position from Antenna 20 19.8 20.2 mm Overall Thickness of copper antenna coil 160 145 175 m Silicon Thickness 180 165 195 m Unloaded Q value 35 Q FNOM PA Unloaded free-air resonance H-field Energy for Device Operation 15.1 MHz 1 120 A/m dbA/m 31/38 LRI64 PART NUMBERING Table 18. Ordering Information Scheme Example: LRI64 - W4 / XXX Device Type LRI64 Package W4 =180 m 15 m Unsawn Wafer, 18.5 pF tuning capacitor SBN18= 180m 15 m Bumped and Sawn Wafer on 8-inch Frame A1T= 45mm x 76mm Copper Antenna on Continuous Tape A1S= 45mm x 76mm Copper Singulated Adhesive Antenna on Tape A6S2U= 35mm Copper Singulated Adhesive CD Antenna on white PET Tape and no marking A7T= 20mm x 40mm Copper Antenna on Continuous Tape Customer Code XXX = Given by STMicroelectronics For a list of available options (speed, package, etc.) or for further information on any aspect of this device, please contact your nearest ST Sales Office, or send your enquiries to the following e-mail address: memories.contactless@st.com 32/38 LRI64 APPENDIX A. ALGORITHM FOR PULSED SLOTS The following pseudo-code describes how the anti-collision could be implemented on the VCD, using recursive functions. function function function function push (mask, address); pushes on private stack pop (mask, address); pops from private stack pulse_next_pause; generates a power pulse store(LRI64_UID); stores LRI64_UID function poll_loop (sub_address_size as integer) pop (mask, address) mask = address & mask; generates new mask ; send the Request mode = anti-collision send_Request (Request_cmd, mode, mask length, mask value) for sub_address = 0 to (2^sub_address_size - 1) pulse_next_pause if no_collision_is_detected ; LRI64 is inventoried then store (LRI64_UID) else; remember a collision was detected push(mask,address) endif next sub_address if stack_not_empty ; if some collisions have been detected and then ; not yet processed, the function calls itself poll_loop (sub_address_size); recursively to process the last stored collision endif end poll_loop main_cycle: mask = null address = null push (mask, address) poll_loop(sub_address_size) end_main_cycle 33/38 LRI64 APPENDIX B. C-EXAMPLE TO CALCULATE OR CHECK THE CRC16 ACCORDING TO ISO/IEC 13239 The Cyclic Redundancy Check (CRC) is calculated on all data contained in a message, from the start of the Flags through to the end of Data. This CRC is used from VCD to LRI64 and from LRI64 to VCD. To add extra protection against shifting errors, a further transformation on the calculated CRC is made. The One's Complement of the calculated CRC is the value attached to the message for transmission. For checking of received messages the 2 CRC bytes are often also included in the re-calculation, for ease of use. In this case, given the expected value for the generated CRC is the residue of F0B8h Table 19. CRC Definition CRC Definition CRC Type ISO/IEC 13239 Length 16 bits Polynomial 16 X +X 12 5 +X +1 = Ox8408 Direction Preset Residue Backward FFFFh F0B8h CRC Calculation Example This example in C language illustrates one method of calculating the CRC on a given set of bytes comprising a message. #define POLYNOMIAL0x8408// x^16 + x^12 + x^5 + 1 #define PRESET_VALUE0xFFFF #define CHECK_VALUE0xF0B8 #define NUMBER_OF_BYTES4// Example: 4 data bytes #define CALC_CRC1 #define CHECK_CRC0 void main() { unsigned int current_crc_value; unsigned char array_of_databytes[NUMBER_OF_BYTES + 2] = {1, 2, 3, 4, 0x91, 0x39}; int number_of_databytes = NUMBER_OF_BYTES; int calculate_or_check_crc; int i, j; calculate_or_check_crc = CALC_CRC; // calculate_or_check_crc = CHECK_CRC;// This could be an other example if (calculate_or_check_crc == CALC_CRC) { number_of_databytes = NUMBER_OF_BYTES; } else // check CRC { number_of_databytes = NUMBER_OF_BYTES + 2; } current_crc_value = PRESET_VALUE; for (i = 0; i < number_of_databytes; i++) { current_crc_value = current_crc_value ^ ((unsigned int)array_of_databytes[i]); for (j = 0; j < 8; j++) { if (current_crc_value & 0x0001) 34/38 LRI64 { current_crc_value = (current_crc_value >> 1) ^ POLYNOMIAL; } else { current_crc_value = (current_crc_value >> 1); } } } if (calculate_or_check_crc == CALC_CRC) { current_crc_value = ~current_crc_value; printf ("Generated CRC is 0x%04X\n", current_crc_value); // current_crc_value is now ready to be appended to the data stream // (first LSByte, then MSByte) } else // check CRC { if (current_crc_value == CHECK_VALUE) { printf ("Checked CRC is ok (0x%04X)\n", current_crc_value); } else { printf ("Checked CRC is NOT ok (0x%04X)\n", current_crc_value); } } } 35/38 LRI64 APPENDIX C. APPLICATION FAMILY IDENTIFIER (AFI) CODING AFI (Application Family Identifier) represents the type of application targeted by the VCD and is used to extract from all the LRI64 present only the LRI64 meeting the required application criteria. It is programmed by the LRI64 issuer (the purchaser of the LRI64). Once locked, it can not be modified. The most significant nibble of AFI is used to code one specific or all application families, as defined in Table 20. The least significant nibble of AFI is used to code one specific or all application sub-families. Subfamily codes different from 0 are proprietary. Table 20. AFI Coding AFI Most Significant Nibble AFI Least Significant Nibble 0 0 All families and sub-families No applicative preselection x 0 All sub-families of family X Wide applicative preselection x y Only the Yth sub-family of family X 0 y Proprietary sub-family Y only 1 0, y Transport Mass transit, Bus, Airline,... 2 0, y Financial IEP, Banking, Retail,... 3 0, y Identification Access Control,... 4 0, y Telecommunication Public Telephony, GSM,... 5 0, y Medical 6 0, y Multimedia 7 0, y Gaming 8 0, y Data Storage 9 0, y Item Management A 0, y Express Parcels B 0, y Postal Services C 0, y Airline Bags D 0, y RFU E 0, y RFU F 0, y RFU Meaning LRI64 Devices respond from Note: x and y each represent any single-digit hexadecimal value between 1 and F 36/38 Examples / Note Internet services.... Portable Files... LRI64 REVISION HISTORY Table 21. Document Revision History Date Rev. Description of Revision 27-Aug-2003 1.0 First Issue 16-Jul-2004 2.0 First public release of full datasheet 22-Sep-2004 3.0 Values changed for tW, t1 and t2 37/38 LRI64 Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners (c) 2004 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 38/38