ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 53 of 57
Byte Number
0
1
2
3
Page
Authentication
configuration
Authentication
configuration
Authentication
configuration
Authentication
configuration
Authentication
configuration
42
Authentication
configuration
Authentication
configuration
Authentication
configuration
Authentication
configuration
Authentication
configuration
43
Authentication
key
Authentication
key
Authentication
key
Authentication
key
Authentication
key
44
Authentication
key
Authentication
key
Authentication
key
Authentication
key
Authentication
key
45
Authentication
key
Authentication
key
Authentication
key
Authentication
key
Authentication
key
46
Authentication
key
Authentication
key
Authentication
key
Authentication
key
Authentication
key
47
Table 8
: Mifare Ultralight C Memory Map
Total Page Size:
792 bits of 198 Bytes.
6.19. Basic program flow for FeliCa applications
Step 0. Start the application. The first thing is to activate the “SAM Interface”. The ATR of the SAM (if
a SAM is inserted) or a Pseudo-ATR “3B 00” (if no SAM is inserted) will be returned. In other
words, the SAM always exists from the view of the application.
Step 1. The second thing to do is to change the operating parameters of the PN531. Set the Retry
Time to one.
Step 2. Poll a FeliCa Tag by sending “Direct Transmit” and “Get Response” APDUs (Tag Polling).
Step 3. If no tag is found, go back to Step 2 until a FeliCa Tag is found.
Step 4. Access the FeliCa Tag by sending APDUs (Tag Read or Write)
Step 5. If there is no any operation with the FeliCa Tag, then go back to Step 2 to poll the other
FeliCa Tag.
..
Step N. Deactivate the “SAM Interface”. Shut down the application.
Notes:
1. The default Retry Time of the Tag command “InListPassiveTarget” is infinity. Send the APDU “FF
00 00 00 06 D4 32 05 00 00 00” to change the Retry Time to one.
2. It is recommended to turn off the Antenna if there is no contactless access.
APDU for turning on the Antenna Power = APDU “FF 00 00 00 04 D4 32 01 03”
APDU for turning off the Antenna Power = APDU “FF 00 00 00 04 D4 32 01 02”