AT88SC0808/1616/3216/6416CRF, AT88RF04C
6. Active State Command Definitions
Commands in this section are arranged in order by the hexadecimal code in the command byte. Several of the Active
state commands perform multiple functions; the value of the PARAM byte determines which function is performed.
Table 12. Coding of the Command byte for the CryptoRF Active State Command Set
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Command Name
CID
0
0
0
1 Set User Zone
CID
0
0
1
0 Read User Zone
CID
0
0
1
1 Write User Zone
CID
0
1
0
0 Write System Zone
CID
0
1
1
0 Read System Zone
CID
1
0
0
0 Verify Crypto
CID
1
0
0
1 Send Checksum
CID
1
0
1
0 DESELECT
CID
1
0
1
1 IDLE
CID
1
1
0
0 Check Password
All Other Values Are Not Supported
Hexadecimal
$c1
$c2
$c3
$c4
$c6
$c8
$c9
$cA
$cB
$cC
6.1.
Response Format
The response to each Active State command consists of five bytes or more. The first byte of the response is the
command byte echoed back to the PCD. The second byte is the ACK/NACK byte which reports success or failure of
the command execution. The final two bytes of the response are always the CRC bytes. The CRC bytes are preceded
by a STATUS byte which reports error codes or PICC status codes. Any data bytes returned by the command are
located between the ACK/NACK and STATUS bytes.
Table 13. Coding of the ACK/NACK byte of the PICC response
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Response Decode
0
0
0
0
0
0
0
0 ACK
0
0
0
0
0
0
0
1 NACK, See STATUS byte for PICC information
Password Attempts Count
0
0
0
1 NACK, Check Password Attempt Failure
Auth. Attempts Count
0
0
0
1 NACK, Authentication or Encryption Attempt Failure
The ACK/NACK byte reports success or failure of the command execution. In the event of a Check Password
command failure or Verify Crypto command failure the ACK/NACK byte contains an attempts count coded as shown in
Table 14 and Table 15.
The STATUS byte provides information to the host application indicating the state of the PICC or the reason for failure
of a requested operation. The STATUS byte does not report the success or failure of a command. In the event of
multiple errors, the STATUS byte reports the first error detected.
The PICC ignores commands that do not have a matching CID. Invalid command codes are also ignored.
19
5276C–RFID–3/09