background image

AT88RF1354 SPI User Guide For CryptoRF 

 

 

2.3.2 

Example 

String Decode  >  O0003 Host sends three bytes thru microcontroller to AT88RF1354 serial port.

  > 

02

AT88RF1354 POLL CONTINUOUS command.    Poll for Type B PICC's until a response is received.

  > 

00

To PICC:  AFI.  A $00 activiates all Type B PICC's.

  > 

00

To PICC:  PARAM.  Specify a REQB when bit [3] is 0b, and 2

N

 anti-collision slots where N is bits [2:0].

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.

String Decode  >  I000D Host gets thirteen bytes from AT88RF1354 buffer.

  > 

00

AT88RF1354 Response:  $00 (No RF communication error bits set in the EREG register).

  > 

50

PICC Response:  $50 (Success).

  > 

FF

PICC Response:  PUPI 0 -- CryptoRF System Zone Byte $00

  > 

FF

PICC Response:  PUPI 1 -- CryptoRF System Zone Byte $01

  > 

FF

PICC Response:  PUPI 2 -- CryptoRF System Zone Byte $02

  > 

FF

PICC Response:  PUPI 3 -- CryptoRF System Zone Byte $03

  > 

FF

PICC Response:  APP 0  -- CryptoRF System Zone Byte $04

  > 

FF

PICC Response:  APP 1  -- CryptoRF System Zone Byte $05

  > 

FF

PICC Response:  APP 2  -- CryptoRF System Zone Byte $06

  > 

22

PICC Response:  APP 3 --  CryptoRF System Zone Byte $07  (22 = AT88SC0404CRF density)

  > 

00

PICC Response:  Protocol 1 -- $00

  > 

10

PICC Response:  Protocol 2 -- CryptoRF System Zone byte $08

  > 

51

PICC Response:  Protocol 3 -- $51

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.

 

2.3.3 

Operation 

The functionality of the Poll Continuous command is identical to the Poll Single command, except 
that after the final Slot-MARKER is sent, if no card response is received, the reader chip repeats 
the polling procedure. The Poll Continuous command is like an infinite loop of Poll Single 
commands that is broken when a card response (good or bad) is received.  

This command performs multiple polling sequences with “N” slots using the ISO/IEC14443-3 
Type B commands REQB, WUPB, and Slot-MARKER. The CPR0 default Communication 
Protocol settings are used by this command. 

A polling sequence consists of either an REQB or WUPB command, followed by the number of 
Slot-MARKER commands indicated by “N”. When a response is received, then the polling 
sequence is stopped and the response is returned to the host.  When a communication error is 
detected, then the polling sequence is stopped and an error code is returned to the host. 

 

Subsequent commands will require the PUPI data read from the PICC.  A user should expect 
each PICC will contain a unique PUPI. 

A system should also utilize the density code stored in APP byte 3.  The density code information 
can easily be used to identify different CryptoRF user memory sizes.  Refer to the 

CryptoRF 

Specification

 for a complete list of CryptoRF density codes. 

 

 2-5 

 

 8586A—RFID—5/09 

Summary of Contents for AT88RF1354

Page 1: ...AT88RF1354 SPI User Guide For CryptoRF 8586A RFID 5 09 ...

Page 2: ...10 Sleep Command 0C 2 11 TX Data Command 03 2 12 Write Buffer Command 09 2 13 Write Register Command 06 Section 3 CryptoRF Commands 3 1 Command Overview 3 2 REQB Polling Command 05 3 2 3 3 ATTRIB Command 1D 3 4 HLTB Command 50 3 5 Set User Zone Command c1 3 6 Read User Zone Command c2 3 7 Read User Zone Large Memory Command c2 3 8 Write User Zone Command c3 3 9 Write User Zone Large Memory Command...

Page 3: ...Table of Contents continued ii AT88RF1354 SPI User Guide for CryptoRF 8586A RFID 5 09 Appendix C Index C 1 C 1 C 1 C 1 Figure Index C 2 Table Index C 3 Revision History C 2 ...

Page 4: ...d rate A two byte CRC_B provides communication error detection capability The AT88RF1354 is compatible with 3 3 V and 5 V host microcontrollers with two wire or SPI serial interfaces In two wire interface mode the AT88RF1354 operates as a TWI slave and requires four microcontroller pins for data communication and handshaking In SPI interface mode the AT88RF1354 operates as a mode 0 SPI slave and r...

Page 5: ... where applicable The following terms and abbreviations are utilized throughout this document Additional terms are defined in the section in which they are used Card A Contactless Smart Card or RFID Tag in proximity to the reader antenna Host The personal computer connected to the serial interface of the reader IC PCD Proximity Coupling Device is the host and reader with antenna PICC Proximity Int...

Page 6: ...rocontroller The reader s actions are shown in the middle column The CryptoRF PICC processes commands received from the reader The PICC response is RF transmitted back to the reader PICC actions and responses are shown in the right most column The PICC response is processed by the reader When processing is complete the AT88RF1354 ISTAT line goes high to indicate data is ready The AT88RF1354 will n...

Page 7: ...g RF Transmit Response Command Processing Host Reader Send six bytes AT88RF1354 command Bytes sent to PICC AT88RF1354 PARAM FWI PICC command RF Transmit Command PICC PARAM ISTAT goes High Response Processing EREG Register Byte PICC Bytes Received ISTAT stays Low Get six bytes Response Bytes PICC ACK NACK PICC Status Code PARAM 1 4 8586A RFID 5 09 ...

Page 8: ... 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 11 PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is 1 00 PICC...

Page 9: ...ents of the error register are not relevant to non RF commands and can be ignored Figure 4 ACK NACK Byte Format for ACK Response Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CRC FRAME BYTE TIME COL SPE 0 b 1 b Error Register Bits ACK Figure 5 ACK NACK Byte Format for NACK Response Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 CRC FRAME BYTE TIME COL SPE 1 b 0 b Error Register Bits NACK The th...

Page 10: ...te response for the AT88RF1354 command set and the CryptoRF command set are shown in Table 1 and Table 2 respectively Table 1 AT88RF1354 Command Set First Response Byte Command Name First Response Byte Abort AT88RF1354 ACK NACK Clear AT88RF1354 ACK NACK Poll Continuous AT88RF1354 EREG Register Contents Poll Single REQB AT88RF1354 EREG Register Contents Poll Single WUPB AT88RF1354 EREG Register Con...

Page 11: ...ingle WUPB Poll Once for Type B PICCs in the Halt or Idle States 01 Read Buffer Read Data Buffer 08 Read Register Read Configuration Register 07 RF OFF Turn Off 13 56 MHz RF Field 0B RF ON Turn On 13 56 MHz RF Field 0A Sleep Activate Standby Mode 0C TX Data Transmit Data to PICC and Receive the Response 03 Write Buffer Write Data Buffer 09 Write Register Write Configuration Register 06 All other c...

Page 12: ... to AT88RF1354 serial port 0D AT88RF1354 ABORT command 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 String Decode I0001 Host gets one byte from AT88RF1354 buffer 01 AT88RF1354 Response 01 Acknowledge ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF1354 will now accept a new command 2 1 3 Op...

Page 13: ...4 serial port 0E AT88RF1354 CLEAR command 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 String Decode I0001 Host gets one byte from AT88RF1354 buffer 01 AT88RF1354 Response 01 Acknowledge ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF1354 will now accept a new command 2 2 3 Operation The C...

Page 14: ...rt command is sent by the host The optional Smart Poll mode modifies the polling operation to include error tolerance In Smart Poll mode polling continues until an error free card response is received 2 3 1 Command Format APP 0 APP 1 APP 2 Command Processing RF Transmit Response Command Processing ISTAT goes High EREG Register Byte Response Processing Response Bytes PICC Protocol 3 Protocol 2 APP ...

Page 15: ...tem Zone byte 08 51 PICC Response Protocol 3 51 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 2 3 3 Operation The functionality of the Poll Continuous command is identical to the Poll Single command except that after the final Slot MARKER is sent if no card response is received the read...

Page 16: ...s no valid card response it will send Slot MARKER for slot two If there is no response from a card in either slot then the reader returns to polling with N 000b If there is an error free card response then it will be returned to the host If there is another collision and no valid response however N will again be incremented and the reader will send the correct sequence of REQB WUPB and Slot MARKER...

Page 17: ...ree response is detected then an error code is returned 2 4 1 Command Format ISTAT stays Low Get thirteen bytes RF Transmit Command Host Reader Send three bytes Poll Single 01 AFI PARAM PICC Protocol 3 Protocol 2 APP 3 Protocol 1 50 PUPI 0 PUPI 1 PUPI 2 PUPI 3 APP 0 APP 1 APP 2 Command Processing RF Transmit Response Command Processing ISTAT goes High EREG Register Byte Response Processing Respons...

Page 18: ...e 05 FF PICC Response APP 2 CryptoRF System Zone Byte 06 22 PICC Response APP 3 CryptoRF System Zone Byte 07 22 AT88SC0404CRF density code 00 PICC Response Protocol 1 00 10 PICC Response Protocol 2 CryptoRF System Zone byte 08 51 PICC Response Protocol 3 51 The AT88RF1354 automatically strips the RF communication CRC bytes ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF1354 will now acce...

Page 19: ...event no error free response is detected then an error code is returned 2 5 1 Command Format APP 0 APP 1 APP 2 Command Processing RF Transmit Response Command Processing ISTAT goes High EREG Register Byte Response Processing Response Bytes PICC Protocol 3 Protocol 2 APP 3 Protocol 1 50 PUPI 0 PUPI 1 PUPI 2 PUPI 3 ISTAT stays Low Get thirteen bytes RF Transmit Command Host Reader Send three bytes P...

Page 20: ...e 05 FF PICC Response APP 2 CryptoRF System Zone Byte 06 22 PICC Response APP 3 CryptoRF System Zone Byte 07 22 AT88SC0404CRF density code 00 PICC Response Protocol 1 00 10 PICC Response Protocol 2 CryptoRF System Zone byte 08 51 PICC Response Protocol 3 51 The AT88RF1354 automatically strips the RF communication CRC bytes ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF1354 will now acce...

Page 21: ... necessary for typical RFID applications However this command may be useful during code development 2 6 1 Command Format ISTAT goes High Read Buffer 08 Starting Address L Data Bytes Read PICC Host Reader Send three bytes Data L ISTAT stays Low Get five bytes Command Processing Response Bytes Data L 1 ACK NACK Data 2 Data 1 2 11 8586A RFID 5 09 ...

Page 22: ...354 buffer has data ready Data must be read before the next command can be issued String Decode I0005 Host gets five bytes from AT88RF1354 buffer 01 AT88RF1354 Response 01 Acknowledge 12 AT88RF1354 Response Data 1 34 AT88RF1354 Response Data 2 12 AT88RF1354 Response Data L 1 34 AT88RF1354 Response Data L ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF1354 will now accept a new command 2 ...

Page 23: ...ster 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 String Decode I0002 Host gets two bytes from AT88RF1354 buffer 01 AT88RF1354 Response 01 Acknowledge 16 AT88RF1354 Response Value dependent upon last data written into the Receiver Register ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF135...

Page 24: ... Host sends one byte thru microcontroller to AT88RF1354 serial port 0B AT88RF1354 RF OFF command 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 String Decode I0001 Host gets one byte from AT88RF1354 buffer 01 AT88RF1354 Response 01 Acknowledge ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF1...

Page 25: ...Host sends one byte thru microcontroller to AT88RF1354 serial port 0A AT88RF1354 RF ON command 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 String Decode I0001 Host gets one byte from AT88RF1354 buffer 01 AT88RF1354 Response 01 Acknowledge ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF135...

Page 26: ...nd places the reader into one of several standby modes The reader will remain in this mode until the SCK serial interface input transitions from low to high Sending any command from the host causes the reader to exit sleep mode Any activity on the serial interface bus will cause the IC to exit sleep mode The Sleep command should only be sent when the 13 56 MHz RF field is off When the Sleep comman...

Page 27: ... Data command 2 11 1 Command Format PICC Bytes Received PARAM TX Data 03 Bytes sent to PICC PARAM FWI APP 0 APP 1 APP 2 Command Processing RF Transmit Response Command Processing ISTAT goes High EREG Register Byte Response Processing Response Bytes PICC Protocol 3 Protocol 2 APP 3 Protocol 1 50 PUPI 0 PUPI 1 PUPI 2 PUPI 3 ISTAT stays Low Get fifteen bytes RF Transmit Command Host Reader Send seven...

Page 28: ...354 Response PICC response byte count 01 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data command 50 PICC Response 50 Success FF PICC Response PUPI 0 CryptoRF System Zone Byte 00 FF PICC Response PUPI 1 CryptoRF System Zone Byte 01 FF PICC Response PUPI 2 CryptoRF System Zone Byte 02 FF PICC Response PUPI 3 CryptoRF System Zone Byte 03 FF PICC Response APP 0 CryptoRF System Zone Byt...

Page 29: ...necessary for typical RFID applications However this command may be useful during code development 2 12 1 Command Format Write Buffer 09 Data L 1 Data 1 Data 2 Starting Address L Data Bytes Written ISTAT goes High ACK NACK Data L ISTAT stays Low Get one byte Command Processing Response Bytes PICC Host Reader Send seven bytes 2 19 8586A RFID 5 09 ...

Page 30: ...12 Data L 1 34 Data L 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 String Decode I0001 Host gets one byte from AT88RF1354 buffer 01 AT88RF1354 Response 01 Acknowledge ISTAT stays Low The AT88RF1354 buffer is empty The AT88RF1354 will now accept a new command 2 12 3 Operation Write the internal 256 b...

Page 31: ...erial port 06 AT88RF1354 Write Register Instruction 0F Select Receiver Register 16 Set upper nibble for low receiver gain Set lower nibble for moderate noise immunity 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 String Decode I0001 Host gets one byte from AT88RF1354 buffer 01 AT88RF1354 Response 01 ...

Page 32: ...r Memory Area to be Addressed for Read Zone and Write Zone Commands c1 Read User Zone Read Data from the Currently Selected User Zone c2 Read User Zone Large Memory Read Data from the Currently Selected User Zone This command option only applies to the AT88SC6416CRF c2 Write User Zone Write Data to the Currently Selected User Zone c3 Write User Zone Large Memory Write Data to the Currently Selecte...

Page 33: ...d of the AT88RF1354 s native poll commands a user can control the command s timing parameters 3 2 1 Command Format PICC Bytes Received PARAM TX Data 03 Bytes sent to PICC PARAM FWI APP 0 APP 1 APP 2 Command Processing RF Transmit Response Command Processing ISTAT goes High EREG Register Byte Response Processing Response Bytes PICC Protocol 3 Protocol 2 APP 3 Protocol 1 50 PUPI 0 PUPI 1 PUPI 2 PUPI...

Page 34: ... CryptoRF System Zone Byte 02 FF PICC Response PUPI 3 CryptoRF System Zone Byte 03 FF PICC Response APP 0 CryptoRF System Zone Byte 04 FF PICC Response APP 1 CryptoRF System Zone Byte 05 FF PICC Response APP 2 CryptoRF System Zone Byte 06 22 PICC Response APP 3 CryptoRF System Zone Byte 07 22 AT88SC0404CRF density 00 PICC Response Protocol 1 00 10 PICC Response Protocol 2 CryptoRF System Zone byte...

Page 35: ...ays Low Get four bytes RF Transmit Command PARAM 3 Host PUPI 1 PUPI 2 PUPI 3 PARAM 1 Send thirteen bytes TX Data 03 Bytes sent to PICC PARAM FWI ATTRIB 1D PUPI 0 PARAM 4 PARAM 2 ISTAT goes High Response Processing Response Bytes PARAM EREG Register Byte PICC Bytes Received PICC Command Processing RF Transmit Response Command Processing Reader 3 4 8586A RFID 5 09 ...

Page 36: ...bble is 0 Lower nibble assigns PICC a CID of 1 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 String Decode I0004 Host gets four bytes from AT88RF1354 buffer 00 AT88RF1354 Response 00 No RF communication err...

Page 37: ...se are ISO IED 14443 3 compliant 3 4 1 Command Format 00 PUPI 0 PARAM EREG Register Byte PICC Bytes Received PUPI 2 PUPI 3 Bytes sent to PICC PARAM FWI ISTAT stays Low Get fourteen bytes RF Transmit Command PUPI 1 ISTAT goes High Response Processing Response Bytes HLTB 50 PICC Command Processing RF Transmit Response Command Processing Host Reader Send nine bytes TX Data 03 3 6 8586A RFID 5 09 ...

Page 38: ...ream 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 I0004 Host gets four bytes from AT88RF1354 buffer 00 AT88RF1354 Response 00 No RF communication error bits set in the EREG register 01 AT88RF1354 Response PICC response byte count 01 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data com...

Page 39: ...ands 3 5 1 Command Format PICC CID 1 ISTAT stays Low Get six bytes Response Bytes PICC ACK NACK PICC Status Code PARAM ISTAT goes High Response Processing EREG Register Byte PICC Bytes Received Host Reader Send six bytes TX Data 03 Bytes sent to PICC PARAM FWI Set User Zone c1 PARAM PICC Command Processing RF Transmit Response Command Processing RF Transmit Command 3 8 8586A RFID 5 09 ...

Page 40: ...F1354 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 11 PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is 1 00 PICC Response PICC ACK NACK ACK is 00 the command executed correctly 00 PICC Response PICC status code Status message ...

Page 41: ...on 3 6 1 Command Format PICC CID 2 PICC ACK NACK PICC Status Code Read Zone c2 PARAM EREG Register Byte PICC Bytes Received ADDR L Bytes Read 1 Data L 1 ISTAT stays Low Get ten bytes RF Transmit Command 00 ISTAT goes High Response Processing Response Bytes Data 1 Data 2 Data L Host Reader Send eight bytes TX Data 03 Bytes sent to PICC PARAM FWI PICC Command Processing RF Transmit Response Command ...

Page 42: ... 00 AT88RF1354 Response 00 No RF communication error bits set in the EREG register 07 AT88RF1354 Response PICC response byte count 01 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data command 12 PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is 2 00 PICC Response PICC ACK NACK ACK is 00 the command executed correctly 11 PICC Response Data 1 22 PICC Response...

Page 43: ...and Format PICC CID 2 Data L 1 PICC Command Processing RF Transmit Response Command Processing ISTAT goes High Response Processing Response Bytes PICC ACK NACK Host Reader Send eight bytes TX Data 03 Bytes sent to PICC PARAM FWI ISTAT stays Low Get ten bytes RF Transmit Command ADDR H PICC Status Code Read Zone c2 PARAM EREG Register Byte PICC Bytes Received ADDR L L Bytes Read 1 Data 1 Data 2 Dat...

Page 44: ...n error bits set in the EREG register 07 AT88RF1354 Response PICC response byte count 01 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data command 12 PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is 2 00 PICC Response PICC ACK NACK ACK is 00 the command executed correctly 55 PICC Response Data 1 66 PICC Response Data 2 77 PICC Response Data L 88 PICC Respo...

Page 45: ...on 3 8 1 Command Format PICC CID 3 PICC Command Processing RF Transmit Response Command Processing Host Reader Send twelve bytes TX Data 03 Bytes sent to PICC PARAM FWI ISTAT stays Low Get six bytes RF Transmit Command 00 Data L Data L 1 ISTAT goes High Response Processing Response Bytes PICC ACK NACK PICC Status Code Write Zone c3 PARAM EREG Register Byte PICC Bytes Received ADDR L Bytes Written ...

Page 46: ...ation error bits set in the EREG register 03 AT88RF1354 Response PICC response byte count 02 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data command 13 PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is 3 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 a...

Page 47: ...nd Format PICC CID 3 PICC Status Code Write Zone c3 PARAM EREG Register Byte PICC Bytes Received ADDR L L Bytes Written 1 Data 1 Data 2 ISTAT stays Low Get six bytes RF Transmit Command ADDR H Data L Data L 1 ISTAT goes High Response Processing Response Bytes PICC ACK NACK Host Reader Send twelve bytes TX Data 03 Bytes sent to PICC PARAM FWI PICC Command Processing RF Transmit Response Command Pro...

Page 48: ...88RF1354 Response PICC response byte count 02 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data command 13 PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is 3 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 by...

Page 49: ...PICC CID 4 PICC Status Code Write System Zone c4 PARAM EREG Register Byte PICC Bytes Received ADDR L Bytes Written 1 Data 1 Data 2 ISTAT stays Low Get six bytes RF Transmit Command PARAM Data L Data L 1 ISTAT goes High Response Processing Response Bytes PICC ACK NACK Host Reader Send twelve bytes TX Data 03 Bytes sent to PICC PARAM FWI PICC Command Processing RF Transmit Response Command Processin...

Page 50: ...CC response byte count 02 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data command 14 PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is 4 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 ...

Page 51: ... 6 Data 4 Data 1 Data 2 PICC Data 3 Command Processing RF Transmit Response Command Processing Host Reader Send eight bytes TX Data 03 Bytes sent to PICC PARAM FWI ISTAT stays Low Get fourteen bytes RF Transmit Command PARAM ISTAT goes High Response Processing Response Bytes Data 5 Data 6 Data L PICC ACK NACK PICC Status Code Read System Zone c6 PARAM EREG Register Byte PICC Bytes Received ADDR L ...

Page 52: ...nse Upper nibble is CID assigned in ATTRIB command Lower nibble is 6 00 PICC Response PICC ACK NACK ACK is 00 the command executed correctly 12 PICC Response Data 1 PUPI 0 CryptoRF System Zone Byte 00 34 PICC Response Data 2 PUPI 1 CryptoRF System Zone Byte 01 56 PICC Response Data 3 PUPI 2 CryptoRF System Zone Byte 02 78 PICC Response Data 4 PUPI 3 CryptoRF System Zone Byte 03 FF PICC Response Da...

Page 53: ... PICC CID A PICC Host Reader Send five bytes TX Data 03 Bytes sent to PICC PARAM FWI Deselect cA ISTAT stays Low Get six bytes RF Transmit Command ISTAT goes High Response Processing Response Bytes RF Transmit Response PICC ACK NACK PICC Status Code PARAM EREG Register Byte PICC Bytes Received Command Processing Command Processing 3 22 8586A RFID 5 09 ...

Page 54: ...ffer 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 1A PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is A 00 PICC Response PICC ACK NACK ACK is 00 the command executed correctly 00 PICC Response PICC status code St...

Page 55: ...ormat PICC CID B EREG Register Byte PICC Bytes Received Command Processing Command Processing ISTAT stays Low Get six bytes RF Transmit Command ISTAT goes High Response Processing Response Bytes RF Transmit Response PICC ACK NACK PICC Status Code PARAM PICC Host Reader Send five bytes TX Data 03 Bytes sent to PICC PARAM FWI Idle cB 3 24 8586A RFID 5 09 ...

Page 56: ...4 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 cod...

Page 57: ...ACK NACK PICC Status Code Check Password cC PARAM EREG Register Byte PICC Bytes Received PW 1 PW 3 Command Processing ISTAT stays Low Get six bytes RF Transmit Command Password Index ISTAT goes High Response Processing Response Bytes Command Processing RF Transmit Response PW 2 PICC Host Reader Send nine bytes TX Data 03 Bytes sent to PICC PARAM FWI 3 26 8586A RFID 5 09 ...

Page 58: ...ponse PICC response byte count 02 AT88RF1354 Response PARAM Echo PARAM byte used in prior TX Data command 1C PICC Response Upper nibble is CID assigned in ATTRIB command Lower nibble is C 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 st...

Page 59: ... Communication Protocol Register 1 High Byte Read Write CPR2_L 04 Communication Protocol Register 2 Low Byte RFU Read Write CPR2_H 05 Communication Protocol Register 2 High Byte Read Write CPR3_L 06 Communication Protocol Register 3 Low Byte RFU Read Write CPR3_H 07 Communication Protocol Register 3 High Byte Read Write CPR4_L 08 Communication Protocol Register 4 Low Byte RFU Read Write CPR4_H 09 ...

Page 60: ... use CPR0_H 01 FWI RFU CPR1_L 02 Reserved for future use CPR1_H 03 FWI RFU CPR2_L 04 Reserved for future use CPR2_H 05 FWI RFU CPR3_L 06 Reserved for future use CPR3_H 07 FWI RFU CPR4_L 08 Reserved for future use CPR4_H 09 FWI RFU SREG 0A RF POR CD RFU EREG 0B CRC FRAME BYTE TIME COL SPE RFU IDR 0C ID PLL 0D SL1 SL0 ENB RFU RS1 RS0 TXC 0E TXP ML RXC 0F G SS All other register address values are NO...

Page 61: ... Adjustment Typical Setting is 1 ID Hardware Revision ID ML Modulation Level Adjusts the level of a zero transmitted by the reader Typical setting is 0001000 b RF RF Field Enabled A one indicates RF field is ON RFU Reserved for Future Use All RFU bits contain 0 b POR Power On Reset A one indicates the RF Interface of the chip is in reset due to low supply voltage RSx CLKO Rate Select bit This fiel...

Page 62: ...saction can contain a series of commands with different response times as the reader executes each command it reconfigures the transceiver instantly to the settings in the specified CPR Transaction time is optimized by specifying FWI no longer than necessary for each PICC operation 4 4 2 RFU Reserved for Future Use All RFU bits must contain 0 b Table 7 Coding of Frame Waiting Time in FWI Field Bit...

Page 63: ...z 0 1 3 955 MHz 1 0 7 910 MHz 1 1 15 82 MHz 4 4 8 TXP Transmit Power 1 b selects low RF power 0 b selects high RF power 4 4 9 ML Modulation Level Adjusts the level of a zero transmitted by the reader Typical setting is 11 modulation index 0001000 b Table 9 Transmit Modulation Settings ML Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Modulation index 0 0 0 0 0 0 1 8 0 0 0 0 0 1 0 9 0 0 0 0 1 0 0 10 0 0...

Page 64: ... B High 1 1 1 1 F Maximum All other values are NOT supported 4 4 11 SS Receiver Squelch Adjust the receiver noise immunity Typical Setting is 5 to 7 Table 11 Receiver Squelch Coding SS Bit 3 Bit 2 Bit 1 Bit 0 Hex Receiver Noise Immunity 0 0 0 0 0 Maximum 0 0 0 1 1 0 0 1 0 2 0 0 1 1 3 High 0 1 0 0 4 0 1 0 1 5 Moderate 0 1 1 0 6 0 1 1 1 7 Low 1 0 0 0 8 1 0 0 1 9 Minimum All other values are NOT supp...

Page 65: ...ontents Write PLL Register 0D to 20 Disable CLKO Output Write TXC Register 0E to 08 High RF Power 11 Modulation Index Write RXC Register 0F to 16 Nominal Receiver Gain and Sensitivity Write CPR Register 03 to 20 Set CPR1 for Timeout Wait Time of 1 2 milliseconds Write CPR Register 05 to 30 Set CPR2 for Timeout Wait Time of 2 4 milliseconds 5 Send the RF ON Command Read SREG using the Read Register...

Page 66: ...O is setup on the negative edge of SCK The host microcontroller samples SDO on the positive edge of SCK ISTAT reports the serial interface status to the microcontroller Figure 7 Serial Interface Wiring to SPI Microcontroller Reader IC AT88RF1354 SPI Slave Microcontroller SPI Master ResetB ISEL SCK SDI SDO SSB Istat output VCC input SCK MOSI MISO SSB A high level on the ISTAT pin signals the host m...

Page 67: ...ster Format in RF Command Responses Figure 7 Serial Interface Wiring to SPI Microcontroller C 2 Table Index Table 1 AT88RF1354 Command Set First Response Byte 1 7 1 7 2 1 3 1 4 1 4 4 4 5 4 5 4 6 4 6 Table 2 CryptoRF Command Set First Response Byte Table 3 Instruction Set Sorted by Command Name Table 4 CryptoRF Commands Table 5 Register Set Sorted by Address Table 6 Register Memory Map 4 2 Table 7 ...

Page 68: ...C 2 8586A RFID 5 09 C 3 Revision History Doc Rev Date Comments 8586A 5 2009 Initial document release ...

Page 69: ...STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL PUNITIVE SPECIAL OR INCIDEN TAL DAMAGES INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF PROFITS BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE U...

Reviews: