![]() |
|
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. october 2014 docid018669 rev 10 1/72 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 ? mifare? classic compatible (a) (b) ? communication interfaces with a host controller ? serial peripheral interface (spi) slave interface ? universal asynchronous receiver/transmitter (uart) ? up to 528-byte command/reception buffer (fifo) ? 32-lead, 5x5 mm, very thin fine pitch quad flat (vfqfpn) ecopack?2 package applications typical protocols supported: ? iso/iec 14443-3 type a and b tags ? iso/iec 15693 tags ? 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 a. mifare and mifare classic are registered trademarks of nxp b.v. and are used under license. b. parity framing mode is compatible with mifare? classic requirements. however, access to authenticated state must be supported by an external secure host which embeds the mifare? classic library. vfqfpn32 5x5 mm www.st.com
contents CR95HF 2/72 docid018669 rev 10 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 operating modes . . . . . . . . . . . . . . . . . . . . . . . 8 3.1 operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2 startup sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 communication protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.1 universal asynchronous receiver/transmitter (uart) . . . . . . . . . . . . . . . 11 4.2 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2.1 polling mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2.2 interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.3 error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.4 support of long frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5 commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.1 command format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.2 list of commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.3 idn command (0x01) description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.4 protocol select command (0x02) description . . . . . . . . . . . . . . . . . . . . . . 17 5.5 send receive (sendrecv) command (0x04) description . . . . . . . . . . . . . 22 5.6 idle command (0x07) description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.6.1 idle command parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.6.2 using lfo frequency setting to reduce power consumption . . . . . . . . . 30 5.6.3 optimizing wake-up conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.6.4 using various techniques to return to ready state . . . . . . . . . . . . . . . . 31 5.6.5 tag detection calibration procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.7 read register (rdreg) command (0x08) description . . . . . . . . . . . . . . . 34 5.8 write register (wrreg) command (0x09) description . . . . . . . . . . . . . . . 35 5.8.1 improving rf performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.8.2 improving frame reception for iso/iec 14443 type a tags . . . . . . . . . . 37 docid018669 rev 10 3/72 CR95HF contents 3 5.8.3 improving rf reception for iso/iec 18092 tags . . . . . . . . . . . . . . . . . . 37 5.9 baudrate command (0x0a) description . . . . . . . . . . . . . . . . . . . . . . . . . . 38 5.10 echo command (0x55) description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.2 dc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.3 power consumption characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.4 spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 6.5 rf characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 6.6 oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 7 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 appendix a additional idle command description . . . . . . . . . . . . . . . . . . . . . . . 49 appendix b example of tag detection calibration process . . . . . . . . . . . . . . . . 50 appendix c example of tag detection command using results of tag detection calibration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 appendix d examples of CR95HF command code to activate nfc forum and iso/iec 15693 tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 d.1 iso/iec 14443 type a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 d.1.1 nfc forum tag type 1 (topaz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 d.1.2 nfc forum tag type 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 d.1.3 nfc forum tag type 2 or 4: using split frames to resolve collisions. . . 57 d.1.4 nfc forum tag type 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 d.1.5 nfc forum tag type 4a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 d.2 iso/iec 14443 type b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 d.2.1 nfc forum tag type 4b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 d.3 iso/iec 18092 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 d.3.1 nfc forum tag type 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 d.4 iso/iec 15693 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 d.4.1 iso/iec 15693 tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 description CR95HF 4/72 docid018669 rev 10 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 communication 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 docid018669 rev 10 5/72 CR95HF description 7 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 asynchronous receiver-transmitter wfe wait for event pin and signal descriptions CR95HF 6/72 docid018669 rev 10 2 pin and signal descriptions figure 3. CR95HF pinout description table 2. CR95HF 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 1 6 rx2 i receiver input 2 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 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 docid018669 rev 10 7/72 CR95HF pin and signal descriptions 7 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 (5) uart transmit pin interrupt output 15 spi_ss i (6) spi slave select (active low) 16 spi_miso o (6) spi data, slave output 17 spi_mosi i (6) spi data, slave input (6) 18 spi_sck i (7) spi serial clock 19 ssi_0 i (6) select serial communication interface 20 ssi_1 i (6) 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 kohm 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. CR95HF pin descriptions (continued) pin pin name type (1) main function alternate function power management and operating modes CR95HF 8/72 docid018669 rev 10 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, tag detector, and sleep 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 oscillator) 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. tag detector low power consumption state with tag 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 host via the selected 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). docid018669 rev 10 9/72 CR95HF power management and operating modes 71 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 ). 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, tag detector, or sleep) following an irq_in/rx low level pulse, this pulse is not interpreted as the uart start bit character. figure 4. CR95HF initialization and operating state change figure 5. power-up sequence - 3 6 6 0 3 ) 2 1 ? ) . & |