ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 54 of 57
6.20. Basic program flow for NFC Forum Type 1 tag applications
Example: Jewel and Topaz tags
Typical sequence may be:
1. Scanning the tags in the field (Polling)
2. Read/Update the memory of the tag
3. Deselect the tag
Step 1. Polling
for the Jewel or Topaz Tag, 106 kbps.
HOST -> 02 6F 09 00 00 00 00 01 00 00 00 (HOST_to_RDR_XfrBlock Format)
HOST -> FF 00 00 00 04 D4 4A
01 04 [
Checksum] 03
RDR -> 02 00 00 03 (Waiting the Tag)
RDR -> 02 80 0C 00 00 00 00 01 01 00 00
RDR -> D5 4B
01
01
0C 00
B5 3E 21 00
90 00 [Checksum] 03
In which,
Number of Tag found = [01];
Target number = 01
ATQA_RES = 0C 00;
UID = B5 3E 21 00
Operation Finished = 90 00
Step 2. Read the memory address
08
(Block 1: Byte-0).
HOST -> 02 6F 0A 00 00 00 00 01 00 00 00 FF 00 00 00 05 D4 40
01
01
08
[Checksum] 03
RDR -> 02 00 00 03 02 80 06 00 00 00 00 01 01 00 00 D5 41 [00] 18 90 00 [Checksum] 03
In which, Response Data = 18
Note:
To read all the memory content of the tag starting from the memory address
00
.
HOST -> 02 6F 09 00 00 00 00 01 00 00 00 FF 00 00 00 04 D4 40
01
00
[Checksum] 03
RDR -> 02 00 00 03 02 80 7F 00 00 00 00 01 01 00 00 D5 41 00 11 48
RDR -> show all data … 90 00 [Checksum] 03
Step 3. Update the memory address
08
(Block 1: Byte-0) with the data
FF.
HOST -> 2 6F 0B 00 00 00 00 01 00 00 00 FF 00 00 00 06 D4 40
01
53
08
FF
[Checksum] 03
RDR -> 02 00 00 03 02 80 05 00 00 00 00 01 01 00 00 D5 41 [00] FF 90 00 [Checksum] 03
In which, Response Data = FF
Note:
To update more than one memory content of the tag starting form the memory address
08
(Block 1: Byte-0).
HOST -> 02 6F 0D 00 00 00 00 01 00 00 00 FF 00 00 00 08 D4 40
01
58
08
02
AA BB
[Checksum]