
AT88RF1354 SPI User Guide For CryptoRF
3.13.2 Example
String Decode > O0005 Host sends five bytes thru microcontroller to AT88RF1354 serial port.
>
03
AT88RF1354 TX Data command.
>
01
Data bytes sent to PICC. In this example 1 byte is sent to the PICC.
>
01
PARAM. Bits[2:0] select AT88RF1354 Communication Protocol Register 1 (CPR1).
>
00
Timeout. A $00 selects the Frame Waiting Interval defined during CPR initialization.
>
1B
To PICC: Idle Command. Upper nibble is CID assigned in ATTRIB command. Lower nibble is $B.
The AT88RF1354 automatically appends RF communication CRC bytes to the transmitted data stream.
Wait for AT88RF1354 ISTAT pin state.
ISTAT goes High.
The AT88RF1354 buffer has data ready. Data must be read before the next command can be issued.
>
I0006 Host gets six bytes from AT88RF1354 buffer.
>
00
AT88RF1354 Response: $00 (No RF communication error bits set in the EREG register).
>
03
AT88RF1354 Response: PICC response byte count.
>
01
AT88RF1354 Response: PARAM. Echo PARAM byte used in prior TX Data command.
>
1B
PICC Response: Upper nibble is CID assigned in ATTRIB command. Lower nibble is $B.
>
00
PICC Response: PICC ACK/NACK. ACK is $00, the command executed correctly.
>
00
PICC Response: PICC status code. Status message $00 is no errors.
The AT88RF1354 automatically strips the RF communication CRC bytes.
ISTAT stays Low.
The AT88RF1354 buffer is empty. The AT88RF1354 will now accept a new command.
3.13.3 Operation
Sending the IDLE command (with a matching CID) to a PICC in the Active State resets the PICC
and places it in the Idle State. The User Zone, password, and authentication registers are
cleared before the PICC enters the Idle State. The PICC responds only to successful IDLE
commands. Only PICCs in the Active State are permitted to answer this command.
3-25
8586A—RFID—5/09