ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 20 of 57
Results
SW1
SW2
Meaning
Parameter Error
63
7Fh
The TAG Command is wrong.
6.2. Change Communication Speed
This command is used to change the baud rate.
Note:
STX = 32h and ETX = 33h
Baud Rate Control Command Format (9 Bytes)
Command
Class
INS
P1
P2
Lc
Baud Rate Control
FFh
00h
44h
New Baud Rate
00h
Where:
P2
New Baud Rate.
00h = Set the new baud rate to 9600 bps.
01h = Set the new baud rate to 115200 bps.
Data Out
SW1 SW2.
Status Code
Results
SW1
SW2
Meaning
Success
90
Current Baud Rate The operation is completed successfully.
Error
63
00h
The operation is failed.
Where:
SW2
Current Baud Rate.
00h = The current baud rate is 9600 bps.
01h = The current baud rate is 115200 bps.
Note:
After the communication speed is changed successfully, the program has to adjust its
communication speed to continue the rest of the data exchanges.
The initial communication speed is determined by the existence of R12 (0 ohm).
•
With R12 = 115200 bps
•
Without R12 = 9600 bps (default)
Example 1:
To initialize a FeliCa Tag (Tag Polling).
Step 1. Issue a “Direct Transmit” APDU.
The APDU Command should be “FF 00 00 00 09 D4 4A 01 01 00 FF FF 01 00”
In which,
Direct Transmit APDU = “FF 00 00 00”
Length of the Tag Command = “09”