![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
this is information on a product in full production. july 2012 doc id 018669 rev 8 1/63 1 CR95HF 13.56-mhz multi-protocol contactless transceiver ic with spi and uart serial access datasheet ? production data features operating modes supported: ? reader/writer hardware features ? dedicated internal frame controller ? highly integrated analog front end (afe) for rf communications ? transmission and reception modes ? optimized power management ? tag detection mode rf communication @13.56 mhz ? iso/iec 14443 type a and b ? iso/iec 15693 ? iso/iec 18092 communication interfaces with a host controller ? serial peripheral interface (spi) slave interface ? universal asynchronous receiver/transmitter (uart) ? 256-byte command buffer (fifo) 32-lead, 5x5 mm, very thin fine pitch quad flat (vfqfpn) ecopack? package applications typical protocols supported: iso/iec 14443-3 type a and b tags iso/iec 15693 and iso/iec 18000-3m1 tags nfc forum tags: types 1, 2, 3 and 4 st short-range interface (sri) tags st long-range interface (lri) tags st dual interface eeprom vfqfpn32 5x5 mm www.st.com
contents CR95HF 2/63 doc id 018669 rev 8 contents 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 list of terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 pin and signal descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3 power management and operatin g modes . . . . . . . . . . . . . . . . . . . . . . . 8 3.1 operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2 startup sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 communication protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.1 universal asynchronous receiver/transmitte r (uart) . . . . . . . . . . . . . . . 11 4.2 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2.1 polling mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2.2 interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5 commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.1 command format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.2 list of commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.3 idn command (0x01) description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.4 protocol select command (0x02) description . . . . . . . . . . . . . . . . . . . . . . 15 5.5 send receive (sendrecv) command (0x04) description . . . . . . . . . . . . . 19 5.6 idle command (0x07) description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.6.1 idle command parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.6.2 using lfo frequency setting to reduce power consumption . . . . . . . . . 26 5.6.3 optimizing wake-up conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.6.4 using various techniques to return to ready state . . . . . . . . . . . . . . . . 27 5.6.5 tag detection calibration procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.7 read register (rdreg) command (0x08) description . . . . . . . . . . . . . . . 30 5.8 write register (wrreg) command (0x09) description . . . . . . . . . . . . . . . 30 5.8.1 improving rf performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.8.2 improving frame reception for iso/iec 14443 type a tags . . . . . . . . . . 32 5.8.3 improving rf reception for iso/iec 18092 tags . . . . . . . . . . . . . . . . . . 33 5.8.4 managing vps_tx consumptio n in ready state . . . . . . . . . . . . . . . . . . 34 5.9 baudrate command (0x0a) description . . . . . . . . . . . . . . . . . . . . . . . . . 35 CR95HF contents doc id 018669 rev 8 3/63 5.10 echo command (0x55) description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.2 dc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.3 power consumption characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.4 spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.5 rf characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 6.6 oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 7 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 appendix a additional idle comm and description . . . . . . . . . . . . . . . . . . . . . . . 46 appendix b example of tag detec tion calibration proces s . . . . . . . . . . . . . . . . 47 appendix c example of tag detection com mand using results of tag detection calibration50 appendix d examples of CR95HF command code to ac tivate nfc forum and iso/iec 15693 tags51 d.1 iso/iec 14443 type a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 d.1.1 nfc forum tag type 1 (topaz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 d.1.2 nfc forum tag type 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 d.1.3 nfc forum tag type 4a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 d.2 iso/iec 14443 type b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 d.2.1 nfc forum tag type 4b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 d.3 iso/iec 18092 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 d.3.1 nfc forum tag type 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 d.4 iso/iec 15693 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 d.4.1 iso/iec 15693 tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 description CR95HF 4/63 doc id 018669 rev 8 1 description the CR95HF is an integrated transceiver ic for contactless applications. the CR95HF manages frame coding and decoding in reader mode for standard applications such as near field communication (nfc), proximity and vicinity standards. the CR95HF embeds an analog front end to provide the 13.56 mhz air interface. the CR95HF supports iso/iec 14443 type a and b, iso/iec 15693 (single or double subcarrier) and iso/iec 18092 protocols. the CR95HF also supports the detection, reading and writing of nfc forum type 1, 2, 3 and 4 tags. 1.1 block diagram figure 1. CR95HF application overview CR95HF host interrupt management spi uart controller (mcu) figure 2. CR95HF block diagram CR95HF frame controller afe ip configuration register reader iso/iec 14443 type a and b iso/iec 15693 iso/iec 18092 digital tag detector timer accelerators encoder/decoder fifo afe signal mux mod/ demod tag detector status registers user interface spi uart interrupt power & clock management host (user side) xin xout tx1 tx2 rx2 rx1 vps_tx gnd_tx vps_main gnd_dig gnd_rx 27.12 mhz CR95HF description doc id 018669 rev 8 5/63 1.2 list of terms table 1. list of terms term meaning dac digital analog converter gnd ground hfo high frequency oscillator lfo low frequency oscillator mcu microcontroller unit nfc near field communication rfid radio frequency identification rfu reserved for future use spi serial peripheral interface t l low frequency period t ref reference time uart universal asynchronou s receiver-transmitter wfe wait for event pin and signal descriptions CR95HF 6/63 doc id 018669 rev 8 2 pin and signal descriptions figure 3. pinout description table 2. pin descriptions pin pin name type (1) main function alternate function 1 tx1 o driver output 1 2 tx2 o driver output 2 3 nc not connected 4 nc not connected 5 rx1 i receiver input 2 6 rx2 i receiver input 1 7 nc not connected 8 gnd_rx p ground (analog) 9 st_r0 o st reserved (2) 10 nc not connected 11 nc not connected 12 uart_rx / irq_in i (3) uart receive pin (4) interrupt input 13 vps p main power supply 14 uart_tx / irq_out o uart transmit pin interrupt output 1 17 25 9 vps_tx gnd_tx xout xin nc nc nc gnd st_r1 ssi_1 spi_miso spi_ss uart_rx / irq_in vps tx1 tx2 nc nc rx1 shaded area represents the dissipation pad. (must be connected to ground.) rx2 nc gnd_rx nc nc nc ssi_0 spi_sck spi_mosi nc nc st_r0 uart_tx / irq_out CR95HF pin and signal descriptions doc id 018669 rev 8 7/63 15 spi_ss i (5) spi slave select (active low) 16 spi_miso o spi data, slave output 17 spi_mosi i spi data, slave input (6) 18 spi_sck i (7) spi serial clock 19 ssi_0 i select serial communication interface 20 ssi_1 i select serial communication interface 21 st_r1 i (8) st reserved 22 gnd p ground (digital) 23 nc not connected 24 nc not connected 25 nc not connected 26 nc not connected 27 nc not connected 28 nc not connected 29 xin crystal oscillator input 30 xout crystal oscillator output 31 gnd_tx p ground (rf drivers) 32 vps_tx p power supply (rf drivers) 1. i: input, o: output, and p: power 2. must add a capacitor to ground (~1 nf). 3. pad internally connected to a very weak pull-up to vps. 4. we recommend connecting this pin to the v ps pin using a 3.3 ko hm pull-up resistor. 5. pad internally connected to a weak pull-up to vps. 6. must not be left floating. 7. pad internally connected to a weak pull-down to gnd. 8. pad input in high impedance. must be connected to vps. table 2. pin descriptions (continued) pin pin name type (1) main function alternate function power management and operating modes CR95HF 8/63 doc id 018669 rev 8 3 power management and operating modes 3.1 operating modes the CR95HF has 2 operating modes: wait for event (wfe) and active. in active mode, the CR95HF communicates actively with a tag or an external host (an mcu, for example). wfe mode includes four low consumption states: power-up, hibernate, sleep and tag detector. the CR95HF can switch from one mode to another. hibernate, sleep and tag detector states can only be activated by a command from the external host. as soon as any of these three states are activated, the CR95HF can no longer communicate with the external host. it can only be woken up. the behavior of the CR95HF in 'tag detector' state is defined by the idle command. table 3. CR95HF operating modes and states mode state description wait for event (wfe) power-up this mode is accessible directly after por. low level on irq_in pin (longer than 10 s) is the only wakeup source. lfo (low-frequency oscillato r) is running in this state. hibernate lowest power consumption state. the CR95HF has to be woken-up in order to communicate. low level on irq_in pin (longer than 10 s) is the only wakeup source. sleep low power consumption state. wakeup source is configurable: ?timer ?irq_in pin ? spi_ss pin lfo (low-frequency oscillator) is running in this state. ta g d e t e c t o r low power consumption state with ta g detection. wakeup source is configurable: ?timer ?irq_in pin ? spi_ss pin ? tag detector lfo (low-frequency oscillator) is running in this state. active ready in this mode, the rf is off and the CR95HF waits for a command (p rotocol s elect , ...) from the external ho st via the sele cted serial interface (uart or spi). reader the CR95HF can communicate with a tag using the selected protocol or with an external host using the selected serial interface (uart or spi). CR95HF power management and operating modes doc id 018669 rev 8 9/63 3.2 startup sequence after the power supply is established at power-on, the CR95HF waits for a low pulse on the pin irq_in (t 1 ) before automatically selecting the external interface (spi or uart) and entering ready state after a delay (t 3 ). figure 5. power-up sequence 1. note for pin ssi0: - - - spi selected, ???? uart selected 2. pin irq_in low level < 0.2 vps_main. note: when CR95HF leaves wfe mode (from power-up, hibernate, sleep or tag detector) following an |rq_in /rx low level pulse, this pulse is no t interpreted as the uart start bit character. figure 4. CR95HF initialization and operating state change supply off power-up por ready reader tag detector (& calibration ) sleep irq_in protocol select por sequence wake-up event hibernate timeout tag detection idle command irq_in active wfe irq_in protocol select serial i/f selection spi reset - 3 6 6 0 3 ) 2 1 ? ) . & |