ST25R3911B High performance HF reader / NFC initiator with 1.4 W supporting VHBR and AAT Datasheet - production data Description QFN32 The ST25R3911B is a highly integrated NFC Initiator / HF Reader IC, including the analog front end (AFE) and a highly integrated data framing system for ISO 18092 (NFCIP-1) initiator, ISO 18092 (NFCIP-1) active target, ISO 14443A and B reader (including high bit rates), ISO 15693 reader and FeliCaTM reader. Implementation of other standard and custom protocols like MIFARETM Classic is possible using the AFE and implementing framing in the external microcontroller (Stream and Transparent modes). Wafer Features * ISO 18092 (NFCIP-1) Active P2P * ISO14443A, ISO14443B, ISO15693 and FeliCaTM * Supports VHBR (3.4 Mbit/s PICC to PCD framing, 6.8 Mbit/s AFE and PCD to PICC framing) * Capacitive sensing - Wake-up * Automatic antenna tuning system providing tuning of antenna LC tank * Automatic modulation index adjustment * AM and PM (I/Q) demodulator channels with automatic selection * DPO (Dynamic Power Output) * Up to 1.4 W in case of differential output * User selectable and automatic gain control * Transparent and Stream modes to implement MIFARETM Classic compliant or other custom protocols * Possibility of driving two antennas in single ended mode * Oscillator input capable of operating with 13.56 MHz or 27.12 MHz crystal with fast start-up * 6 Mbit/s SPI with 96 bytes FIFO * Wide supply voltage range from 2.4 V to 5.5 V * Wide temperature range: -40 C to 125 C The ST25R3911B is positioned perfectly for the infrastructure side of the NFC system, where users need optimal RF performance and flexibility combined with low power. Thanks to automatic antenna tuning (AAT) technology, the device is optimized for applications with directly driven antennas. The ST25R3911B is alone in the domain of HF reader ICs as it contains two differential low impedance (1 Ohm) antenna drivers. The ST25R3911B includes several features that make it very suited for low power applications. It contains a low power capacitive sensor that can be used to detect the presence of a card without switching on the reader field. The presence of a card can also be detected by performing a measurement of amplitude or phase of signal on antenna LC tank, and comparing it to the stored reference. It also contains a low power RC oscillator and wake-up timer that can be used to wake up the system after a defined time period, and to check for the presence of a tag using one or more low power detection techniques (capacitive, phase or amplitude). The ST25R3911B is designed to operate from a wide (2.4 V to 5.5 V) power supply range; peripheral interface IO pins support power supply range from 1.65 V to 5.5 V. * QFN32, 5 mm x 5 mm package February 2018 This is information on a product in full production. DS11793 Rev 4 1/131 www.st.com Contents ST25R3911B Contents 1 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.1 1.2 2/131 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.1.1 Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1.2 Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1.3 Phase and amplitude detector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1.4 A/D converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1.5 Capacitive sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1.6 External field detector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1.7 Quartz crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1.8 Power supply regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1.9 POR and Bias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1.10 RC oscillator and Wake-Up timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1.11 ISO-14443 and NFCIP-1 framing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.1.12 FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.1.13 Control logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.1.14 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Application information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.2.1 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.2.2 Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.2.3 Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.2.4 Capacitive sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.2.5 Wake-Up mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.2.6 Quartz crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 1.2.7 Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.2.8 A/D converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1.2.9 Phase and amplitude detector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1.2.10 External field detector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1.2.11 Power supply system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 1.2.12 Communication with an external microcontroller . . . . . . . . . . . . . . . . . . 32 1.2.13 Direct commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 1.2.14 Start timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 1.2.15 Test access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 1.2.16 Power-up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 1.2.17 Reader operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 DS11793 Rev 4 ST25R3911B 1.3 Contents 1.2.18 FeliCaTM reader mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 1.2.19 NFCIP-1 operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 1.2.20 AM modulation depth: definition and calibration . . . . . . . . . . . . . . . . . . 63 1.2.21 Antenna tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 1.2.22 Stream mode and Transparent mode . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 1.3.1 IO Configuration Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 1.3.2 IO Configuration Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 1.3.3 Operation Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 1.3.4 Mode Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 1.3.5 Bit Rate Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 1.3.6 ISO14443A and NFC 106kb/s Settings Register . . . . . . . . . . . . . . . . . . 81 1.3.7 ISO14443B Settings Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 1.3.8 ISO14443B and FeliCa Settings Register . . . . . . . . . . . . . . . . . . . . . . . 83 1.3.9 Stream Mode Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 1.3.10 Auxiliary Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 1.3.11 Receiver Configuration Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 1.3.12 Receiver Configuration Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 1.3.13 Receiver Configuration Register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 1.3.14 Receiver Configuration Register 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 1.3.15 Mask Receive Timer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 1.3.16 No-Response Timer Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 1.3.17 No-Response Timer Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 1.3.18 General Purpose and No-Response Timer Control Register . . . . . . . . . 91 1.3.19 General Purpose Timer Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 1.3.20 General Purpose Timer Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 1.3.21 Mask Main Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 1.3.22 Mask Timer and NFC Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . 93 1.3.23 Mask Error and Wake-Up Interrupt Register . . . . . . . . . . . . . . . . . . . . . 94 1.3.24 Main Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 1.3.25 Timer and NFC Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 1.3.26 Error and Wake-Up Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . 96 1.3.27 FIFO Status Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 1.3.28 FIFO Status Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 1.3.29 Collision Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 1.3.30 Number of Transmitted Bytes Register 1 . . . . . . . . . . . . . . . . . . . . . . . . 98 1.3.31 Number of Transmitted Bytes Register 2 . . . . . . . . . . . . . . . . . . . . . . . . 99 DS11793 Rev 4 3/131 5 Contents ST25R3911B 1.3.32 NFCIP Bit Rate Detection Display Register . . . . . . . . . . . . . . . . . . . . . . 99 1.3.33 A/D Converter Output Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 1.3.34 Antenna Calibration Control Register . . . . . . . . . . . . . . . . . . . . . . . . . 100 1.3.35 Antenna Calibration Target Register . . . . . . . . . . . . . . . . . . . . . . . . . . 101 1.3.36 Antenna Calibration Display Register . . . . . . . . . . . . . . . . . . . . . . . . . 101 1.3.37 AM Modulation Depth Control Register . . . . . . . . . . . . . . . . . . . . . . . . 102 1.3.38 AM Modulation Depth Display Register . . . . . . . . . . . . . . . . . . . . . . . . 102 1.3.39 RFO AM Modulated Level Definition Register . . . . . . . . . . . . . . . . . . . 103 1.3.40 RFO Normal Level Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . 103 1.3.41 External Field Detector Threshold Register . . . . . . . . . . . . . . . . . . . . . 104 1.3.42 Regulator Voltage Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 1.3.43 Regulator and Timer Display Register . . . . . . . . . . . . . . . . . . . . . . . . . 106 1.3.44 RSSI Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 1.3.45 Gain Reduction State Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 1.3.46 Capacitive Sensor Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 1.3.47 Capacitive Sensor Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . 109 1.3.48 Auxiliary Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 1.3.49 Wake-Up Timer Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 1.3.50 Amplitude Measurement Configuration Register . . . . . . . . . . . . . . . . . 111 1.3.51 Amplitude Measurement Reference Register . . . . . . . . . . . . . . . . . . . 111 1.3.52 Amplitude Measurement Auto-Averaging Display Register . . . . . . . . . 112 1.3.53 Amplitude Measurement Display Register . . . . . . . . . . . . . . . . . . . . . . 112 1.3.54 Phase Measurement Configuration Register . . . . . . . . . . . . . . . . . . . . 113 1.3.55 Phase Measurement Reference Register . . . . . . . . . . . . . . . . . . . . . . 113 1.3.56 Phase Measurement Auto-Averaging Display Register . . . . . . . . . . . . 114 1.3.57 Phase Measurement Display Register . . . . . . . . . . . . . . . . . . . . . . . . 114 1.3.58 Capacitance Measurement Configuration Register . . . . . . . . . . . . . . . 115 1.3.59 Capacitance Measurement Reference Register . . . . . . . . . . . . . . . . . 115 1.3.60 Capacitance Measurement Auto-Averaging Display Register . . . . . . . 116 1.3.61 Capacitance Measurement Display Register . . . . . . . . . . . . . . . . . . . . 116 1.3.62 IC Identity Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 2 Pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 3 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 4/131 3.1 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 3.2 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 DS11793 Rev 4 ST25R3911B 3.3 Contents DC/AC characteristics for digital inputs and outputs . . . . . . . . . . . . . . . 121 3.3.1 CMOS inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 3.3.2 CMOS outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 3.4 Electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 3.5 Typical operating characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 3.5.1 4 Thermal resistance and maximum power dissipation . . . . . . . . . . . . . 124 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 4.1 QFN32 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 5 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 6 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 DS11793 Rev 4 5/131 5 List of tables ST25R3911B List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. Table 31. Table 32. Table 33. Table 34. Table 35. Table 36. Table 37. Table 38. Table 39. Table 40. Table 41. Table 42. Table 43. Table 44. Table 45. Table 46. Table 47. Table 48. 6/131 First and third stage zero setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Low pass control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Receiver filter selection and gain range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Recommended blocking capacitor values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Serial data interface (4-wire interface) signal lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 SPI operation modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 SPI timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 IRQ output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Direct commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Timing parameters of NFC Field ON commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Register preset bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Analog Test and Observation Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Test Access Register - Tana signal selection of CSI and CSO pins. . . . . . . . . . . . . . . . . . 51 Operation mode/bit rate setting for NFCIP-1 passive communication . . . . . . . . . . . . . . . . 59 Operation mode/bit rate setting for NFCIP-1 active communication initiator . . . . . . . . . . . 60 Setting mod bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Registers map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 IO Configuration Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 IO Configuration Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Operation Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Mode Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Initiator Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Target Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Bit Rate Definition Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Bit rate coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 ISO14443A and NFC 106kb/s Settings Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 ISO14443A modulation pulse width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 ISO14443B Settings Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 ISO14443B and FeliCa Settings Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Minimum TR1 codings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Stream Mode Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Sub-carrier frequency definition for Sub-Carrier and BPSK Stream Mode . . . . . . . . . . . . . 84 Definition of time period for Stream Mode Tx Modulator Control . . . . . . . . . . . . . . . . . . . . 84 Auxiliary Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Receiver Configuration Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Receiver Configuration Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Receiver Configuration Register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Receiver Configuration Register 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Mask Receive Timer Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 No-Response Timer Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 No-Response Timer Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 General Purpose and No-Response Timer Control Register . . . . . . . . . . . . . . . . . . . . . . . 91 Timer Trigger Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 General Purpose Timer Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 General Purpose Timer Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Mask Main Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Mask Timer and NFC Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Mask Error and Wake-Up Interrupt Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 DS11793 Rev 4 ST25R3911B Table 49. Table 50. Table 51. Table 52. Table 53. Table 54. Table 55. Table 56. Table 57. Table 58. Table 59. Table 60. Table 61. Table 62. Table 63. Table 64. Table 65. Table 66. Table 67. Table 68. Table 69. Table 70. Table 71. Table 72. Table 73. Table 74. Table 75. Table 76. Table 77. Table 78. Table 79. Table 80. Table 81. Table 82. Table 83. Table 84. Table 85. Table 86. Table 87. Table 88. Table 89. Table 90. Table 91. Table 92. Table 93. Table 94. Table 95. Table 96. Table 97. Table 98. Table 99. Table 100. List of tables Main Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Timer and NFC Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Error and Wake-Up Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 FIFO Status Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 FIFO Status Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Collision Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Number of Transmitted Bytes Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Number of Transmitted Bytes Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 NFCIP Bit Rate Detection Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 A/D Converter Output Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Antenna Calibration Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Antenna Calibration Target Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Antenna Calibration Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 AM Modulation Depth Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 AM Modulation Depth Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 RFO AM Modulated Level Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 RFO Normal Level Definition Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 External Field Detector Threshold Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Peer detection threshold as seen on RFI1 input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Collision Avoidance threshold as seen on RFI1 input . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Regulator Voltage Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Regulator and Timer Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Regulated voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 RSSI Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 RSSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Gain Reduction State Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Capacitive Sensor Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Capacitive Sensor Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Auxiliary Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Wake-Up Timer Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Typical wake-up time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Amplitude Measurement Configuration Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Amplitude Measurement Reference Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Amplitude Measurement Auto-Averaging Display Register . . . . . . . . . . . . . . . . . . . . . . . 112 Amplitude Measurement Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Phase Measurement Configuration Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Phase Measurement Reference Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Phase Measurement Auto-Averaging Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Phase Measurement Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Capacitance Measurement Configuration Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Capacitance Measurement Reference Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Capacitance Measurement Auto-Averaging Display Register . . . . . . . . . . . . . . . . . . . . . 116 Capacitance Measurement Display Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 IC Identity Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 ST25R3911B pin definitions - QFN32 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Electrical parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Electrostatic discharge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Temperature ranges and storage conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 CMOS inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 CMOS outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Electrical specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 DS11793 Rev 4 7/131 8 List of tables Table 101. Table 102. Table 103. Table 104. 8/131 ST25R3911B QFN32 5 mm x 5 mm dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Ordering information scheme (unsawn wafer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 DS11793 Rev 4 ST25R3911B List of figures List of figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. Figure 25. Figure 26. Figure 27. Figure 28. Figure 29. Figure 30. Figure 31. Figure 32. Figure 33. ST25R3911B block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Minimum configuration with single sided antenna driving (including EMC filter) . . . . . . . . 14 Minimum configuration with differential antenna driving (including EMC filter). . . . . . . . . . 14 Receiver block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Capacitive sensor block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Phase detector inputs and output in case of 90 phase shift . . . . . . . . . . . . . . . . . . . . . . . 28 Phase detector inputs and output in case of 135 phase shift . . . . . . . . . . . . . . . . . . . . . . 28 ST25R3911B power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Exchange of signals with microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 SPI communication: writing a single byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 SPI communication: writing multiple bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 SPI communication: reading a single byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 SPI communication: loading of FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 SPI communication: reading of FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 SPI communication: direct command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 SPI communication: direct command chaining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 SPI general timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 SPI read timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Direct command NFC Initial Field ON. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Direct command NFC Response Field ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 ISO14443A states for PCD and PICC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Selection of MRT and NRT for a given FDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Flowchart for ISO14443A anticollision with ST25R3911B . . . . . . . . . . . . . . . . . . . . . . . . . 57 FeliCaTM frame format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Transport frame format according to NFCIP-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Connection of tuning capacitors to the antenna LC tank . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Example of sub-carrier stream mode for scf = 01b and scp = 10b . . . . . . . . . . . . . . . . . . . 71 Example of BPSK stream mode for scf = 01b and scp = 10b. . . . . . . . . . . . . . . . . . . . . . . 71 Example of Tx in Stream Mode for stx = 000b and OOK modulation . . . . . . . . . . . . . . . . . 72 ST25R3911B QFN32 pinout(1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 TCASE vs. power with different copper area at Tamb = 25C . . . . . . . . . . . . . . . . . . . . . 124 RthCA vs. copper area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 QFN32 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 DS11793 Rev 4 9/131 9 Functional overview 1 ST25R3911B Functional overview The ST25R3911B is suitable for a wide range of applications, among them * EMV payment * E-government * Access control * NFC infrastructure * Ticketing 1.1 Block diagram The block diagram is shown in Figure 1. Figure 1. ST25R3911B block diagram 9''B,2 ;72 ;7, ;7$/ RVFLOODWRU 9'' 5HJXODWRUV 325 DQG %LDV /RJLF 7UDQVPLWWHU ),)2 63, ,54 0&8B&/. /HYHO VKLIWHUV &RQWURO ORJLF $' FRQYHUWHU 5)2 5)2 3KDVHDQG DPSOLWXGH GHWHFWRU 63, 5HFHLYHU 75,0[ 5), 5), )UDPLQJ 5& RVFLOODWRU :DNH8S WLPHU ([WHUQDO ILHOG GHWHFWRU &DSDFLWLYH VHQVRU 675% &6, &62 069 10/131 DS11793 Rev 4 ST25R3911B 1.1.1 Functional overview Transmitter The transmitter incorporates drivers that drive external antenna through pins RFO1 and RFO2. Single sided and differential driving is possible. The transmitter block additionally contains a sub-block that modulates transmitted signal (OOK or configurable AM modulation). The ST25R3911B transmitter is intended to directly drive antennas (without 50 cable, usually antenna is on the same PCB). Operation with 50 cable is also possible, but in that case some of the advanced features are not available. 1.1.2 Receiver The receiver detects transponder modulation superimposed on the 13.56 MHz carrier signal. The receiver contains two receive chains (one for AM and another for PM demodulation) composed of a peak detector followed by two gain and filtering stages and a final digitizer stage. The filter characteristics are adjusted to optimize performance for each mode and bit rate (sub-carrier frequencies from 212 kHz to 6.8 MHz are supported). The receiver chain inputs are the RFI1 and RFI2 pins. The receiver chain incorporates several features that enable reliable operation in challenging phase and noise conditions. 1.1.3 Phase and amplitude detector The phase detector is observing the phase difference between the transmitter output signals (RFO1 and RFO2) and the receiver input signals (RFI1 and RFI2). The amplitude detector is observing the amplitude of the receiver input signals (RFI1 and RFI2) via self-mixing. The amplitude of the receiver input signals (RFI1 and RFI2) is directly proportional to the amplitude of the antenna LC tank signal. The phase detector and the amplitude detector can be used for the following purposes: 1.1.4 * PM demodulation, by observing RFI1 and RFI2 phase variation * Average phase difference between RFOx pins and RFIx pins is used to check and optimize antenna tuning * Amplitude of signal present on RFI1 and RFI2 pins is used to check and optimize antenna tuning A/D converter The ST25R3911B contains a built in Analog to Digital (A/D) converter. Its input can be multiplexed from different sources and is used in several applications (measurement of RF amplitude and phase, calibration of modulation depth...). The result of the A/D conversion is stored in the A/D Converter Output Register and can be read via SPI. 1.1.5 Capacitive sensor The capacitive sensor is used to implement low power detection of transponder presence, it measures the capacitance between two copper patches connected to the CSI and CSO pins. The capacitance changes with the presence of an object (card, hand). During calibration the reference capacitance (representing parasitic capacitance of the environment) is stored. In normal operation the capacitance is periodically measured and compared to the stored reference value, if the measured capacitance differs from the stored reference value by more than a register defined threshold, then an interrupt is sent to the external controller. DS11793 Rev 4 11/131 72 Functional overview 1.1.6 ST25R3911B External field detector The External field detector is a low power block used in NFC mode to detect the presence of an external RF field. It supports two different detection thresholds, Peer Detection Threshold and Collision Avoidance Threshold. The Peer Detection Threshold is used in the NFCIP-1 target mode to detect the presence of an initiator field, and is also used in active communication initiator mode to detect the activation of the target field. The Collision Avoidance Threshold is used to detect the presence of an RF field during the NFCIP-1 RF Collision Avoidance procedure. 1.1.7 Quartz crystal oscillator The quartz crystal oscillator can operate with 13.56 MHz and 27.12 MHz crystals. At start-up the transconductance of the oscillator is increased to achieve a fast start-up. The start-up time varies with crystal type, temperature and other parameters, hence the oscillator amplitude is observed and an interrupt is sent when stable oscillator operation is reached. The use of a 27.12 MHz crystal is mandatory for VHBR operation. The oscillator block also provides a clock signal to the external microcontroller (MCU_CLK), according to the settings in the IO Configuration Register 1. 1.1.8 Power supply regulators Integrated power supply regulators ensure a high power supply rejection ratio for the complete reader system. If the reader system PSRR has to be improved, the command Adjust Regulators is sent. As a result of this command, the power supply level of VDD is measured in maximum load conditions and the regulated voltage reference is set 250 mV below this measured level to assure a stable regulated supply. The resulting regulated voltage is stored in the Regulator and Timer Display Register. It is also possible to define regulated voltage by writing to the Regulator Voltage Control Register. To decouple any noise sources from different parts of the IC there are three regulators integrated with separated external blocking capacitors (the regulated voltage of all of them is the same in 3.3 V supply mode). One regulator is for the analog blocks, one for the digital blocks, and one for the antenna drivers. This block additionally generates a reference voltage for the analog processing (AGD - analog ground). This voltage also has an associated external buffer capacitor. 1.1.9 POR and Bias This block provides the bias current and the reference voltages to all other blocks. It also incorporates a Power on Reset (POR) circuit that provides a reset at power-up and at low supply voltage levels. 1.1.10 RC oscillator and Wake-Up timer The ST25R3911B includes several possibilities of low power detection of card presence (capacitive sensor, phase measurement, amplitude measurement). The RC oscillator and the register configurable Wake-Up timer are used to schedule the periodic card presence detection. 12/131 DS11793 Rev 4 ST25R3911B 1.1.11 Functional overview ISO-14443 and NFCIP-1 framing This block performs framing for receive and transmit according to the selected ISO mode and bit rate settings. In reception it takes the demodulated sub-carrier signal from the receiver. It recognizes the SOF, EOF and data bits, performs parity and CRC check, organizes the received data in bytes and places them in the FIFO. During transmit, it operates inversely, it takes bytes from the FIFO, generates parity and CRC bits, adds SOF and EOF and performs final encoding before passing the modulation signal to the transmitter. In Transparent mode, the framing and FIFO are bypassed, the digitized sub-carrier signal (the receiver output), is directly sent to the MISO pin, and the signal applied to the MOSI pin is directly used to modulate the transmitter. 1.1.12 FIFO The ST25R3911B contains a 96-byte FIFO. Depending on the mode, it contains either data that has been received or data to be transmitted. 1.1.13 Control logic The control logic contains I/O registers that define operation of device. 1.1.14 SPI A 4-wire Serial Peripheral Interface (SPI) is used for communication between the external microcontroller and the ST25R3911B. 1.2 Application information The minimum configurations required to operate the ST25R3911B are shown in Figure 2 and Figure 3. DS11793 Rev 4 13/131 72 Functional overview ST25R3911B Figure 2. Minimum configuration with single sided antenna driving (including EMC filter) WR9 WR9 9''B,2 9'' 66 0,62 026, 6&/. ,54 0&8B&/. 0&8 $*' 966 963B$ 961B$ 963B' ;7, 961B' ;72 963B5) 75,0B[ 961B5) 75,0B[ $QWHQQD FRLO 5) 5) &62 &6, 5), 5), 675% 069 Figure 3. Minimum configuration with differential antenna driving (including EMC filter) WR9 WR9 9''B,2 0&8 66 0,62 026, 6&/. ,54 0&8B&/. 9'' $*' 966 963B$ 961B$ 963B' ;7, 961B' ;72 963B5) 75,0B[ 961B5) 75,0B[ $QWHQQD FRLO 5) 5) &62 5), &6, 5), 675% 069 14/131 DS11793 Rev 4 ST25R3911B 1.2.1 Functional overview Operating modes The ST25R3911B operating mode is defined by the contents of the Operation Control Register. At power-up all bits of the Operation Control Register are set to 0, the ST25R3911B is in Power-down mode. In this mode AFE static power consumption is minimized, only the POR and part of the bias are active, while the regulators are transparent and are not operating. The SPI is still functional in this mode so all settings of ISO mode definition and configuration registers can be done. Control bit en (bit 7 of the Operation Control Register) is controlling the quartz crystal oscillator and regulators. When this bit is set, the device enters in Ready mode. In this mode the quartz crystal oscillator and regulators are enabled. An interrupt is sent to inform the microcontroller when the oscillator frequency is stable. Enable of receiver and transmitter are separated so it is possible to operate one without switching on the other (control bits rx_en and tx_en). In some cases this may be useful, if the reader field has to be maintained and there is no transponder response expected, the receiver can be switched-off to save current. Another example is the NFCIP-1 active communication receive mode in which the RF field is generated by the initiator and only the receiver operates. Asserting the Operation Control Register bit wu while the other bits are set to 0 puts the ST25R3911B into the Wake-Up mode that is used to perform low power detection of card presence. In this mode the low power RC oscillator and register configurable Wake-Up timer are used to schedule periodic measurement(s). When a difference of the measured value vs. the predefined reference is detected an interrupt is sent to wake-up the microcontroller. 1.2.2 Transmitter The transmitter contains two identical push-pull driver blocks connected to the pins RFO1 and RFO2. These drivers are differentially driving the external antenna LC tank. It is also possible to operate only one of the two drivers by setting the IO Configuration Register 1 bit single to 1. Each driver is composed of eight segments having binary weighted output resistance. The MSB segment typical ON resistance is 2 , when all segments are turned on; the output resistance is typically 1 . All segments are turned on to define the normal transmission (non-modulated) level. It is also possible to switch off certain segments when driving the non-modulated level to reduce the amplitude of the signal on the antenna and/or to reduce the antenna Q factor without making any hardware changes. The RFO Normal Level Definition Register defines which segments are turned on to define the normal transmission (non-modulated) level. Default setting is that all segments are turned on. Using the single driver mode the number of the antenna LC tank components (and therefore the cost) is halved, but also the output power is reduced. In single mode it is possible to connect two antenna LC tanks to the two RFO outputs and multiplex between them by controlling the IO Configuration Register 1 bit rfo2. In order to transmit the data the transmitter output level needs to be modulated. Both AM and OOK modulation are supported. The type of modulation is defined by setting the bit tr_am in the Auxiliary Definition Register. During the OOK modulation (for example ISO14443A) the transmitter drivers stop driving the carrier frequency. As consequence the amplitude of the antenna LC tank oscillation decays, the time constant of the decay is defined with the LC tank Q factor. The decay time in case of OOK modulation can be shortened by asserting the Auxiliary Definition Register DS11793 Rev 4 15/131 72 Functional overview ST25R3911B bit ook_hr. When this bit is set to logic one the drivers are put in tristate during the OOK modulation. AM modulation (for example ISO14443B) is done by increasing the output driver impedance during the modulation time. This is done by reducing the number of driver segments that are turned on. The AM modulated level can be automatically adjusted to the target modulation depth by defining the target modulation depth in the AM Modulation Depth Control Register and sending the Calibrate Modulation Depth direct command. Refer to Section 1.2.20: AM modulation depth: definition and calibration for further details. Slow transmitter ramping When the transmitter is enabled it starts to drive the antenna LC tank with full power, the ramping of the field emitted by antenna is defined by antenna LC tank Q factor. However there are some reader systems where the reader field has to ramp up with a longer transition time when it is enabled. The STIF (Syndicat des transports d'Ile de France) specification requires a transition time from 10% to 90% of field longer than or equal to 10 s.The ST25R3911B supports that feature. It is realized by collapsing VSP_RF regulated voltage when transmitter is disabled and ramping it when transmitter is enabled. Typical transition time is 15 s at 3 V supply and 20 s at 5 V supply. Procedure to implement the slow transition: 1.2.3 1. When transmitter is disabled set IO Configuration Register 2 bit slow_up to 1. Keep this state for at least 2 ms to allow discharge of VSP_RF. 2. Enable transmitter, its output will ramp slowly. 3. Before sending any command set the bit slow_up back to 0. Receiver The receiver performs demodulation of the transponder sub-carrier modulation that is superimposed on the 13.56 MHz carrier frequency. It performs AM and/or PM demodulation, amplification, band-pass filtering and digitalization of sub-carrier signals. Additionally it performs RSSI measurement, automatic gain control (AGC) and Squelch. In typical applications the receiver inputs RFI1 and RFI2 are outputs of capacitor dividers connected directly to the terminals of the antenna coil. This concept ensures that the two input signals are in phase with the voltage on the antenna coil. The design of the capacitive divider must ensure that the RFI1 and RFI2 input signal peak values do not exceed the VSP_A supply voltage level. The receiver comprises two complete receive channels, one for the AM demodulation and another one for the PM demodulation. In case both channels are active the selection of the channel used for reception framing is done automatically by the receive framing logic. The receiver is switched on when Operation Control Register bit rx_en is set to one. Additionally the Operation Control Register contains bits rx_chn and rx_man; rx_chn defines whether both, AM and PM, demodulation channels will be active or only one of them, while bit rx_man defines the channel selection mode in case both channels are active (automatic or manual). Operation of the receiver is controlled by four receiver configuration registers. The operation of the receiver is additionally controlled by the signal rx_on that is set high when a modulated signal is expected on the receiver input. This signal is used to control RSSI and AGC and also enables processing of the receiver output by the framing logic. Signal rx_on is automatically set to high after the Mask Receive Timer expires. Signal rx_on 16/131 DS11793 Rev 4 ST25R3911B Functional overview can also be directly controlled by the controller by sending direct commands Mask Receive Data and Unmask Receive Data. Figure 4 details the receiver block diagram. Figure 4. Receiver block diagram $0 'HPRGXODWRU 0L[HU UHF! UHF! UHF! UHF! 5)B,1 $*& 6TXHOFK 566, 0 8 ; 566,B$0! 3HDNGHWHFWRU 'LJLWDOVXEFDUULHU 5;BRQ VJBRQ 5)B,1 UHF! UHF! $*& 6TXHOFK 566, 30 'HPRGXODWRU 0L[HU 566,B30! 'LJLWDOVXEFDUULHU UHF! 'HPRGXODWLRQ VWDJH $&FRXSOLQJ VWJDLQVWDJH UHF! /RZSDVV +LJKSDVV QGJDLQVWDJH UGJDLQVWDJH 'LJLWL]LQJ VWDJH 069 Demodulation stage The first stage performs demodulation of the transponder sub-carrier signal, superimposed on the HF field carrier. Two different blocks are implemented for AM demodulation: * Peak detector * AM demodulator mixer. The choice of the used demodulator is made by the Receiver Configuration Register 1 bit amd_sel. The peak detector performs AM demodulation using a peak follower. Both the positive and negative peaks are tracked to suppress any common mode signal. The peak detector is limited in speed; it can operate for sub-carrier frequencies up to fc/8 (1700 kHz). Its demodulation gain is G = 0.7. Its input is taken from one demodulator input only (usually RFI1). The AM demodulator mixer uses synchronous rectification of both receiver inputs (RFI1 and RFI2). Its gain is G = 0.55. The mixer demodulator is optimized for VHBR sub-carrier frequencies (fc/8 and higher). For sub-carrier frequency fc/8 (1700 kHz) both peak follower and mixer demodulator can be used, while for fc/4 and fc/2 only the mixer demodulator can be used. PM demodulation is also done by a mixer. The PM demodulator mixer has differential outputs with 60 mV differential signal for 1% phase change (16.67 mV / ). Its operation is optimized for sub-carrier frequencies up to fc/8 (1700 kHz). DS11793 Rev 4 17/131 72 Functional overview ST25R3911B In case the demodulation is done externally, it is possible to multiplex the LF signals applied to pins RFI1 and RFI2 directly to the gain and filtering stage by selecting the Receiver Configuration Register 2 bit lf_en. Filtering and gain stages The receiver chain has band pass filtering characteristics. Filtering is optimized to pass sub-carrier frequencies while rejecting carrier frequency and low frequency noise and DC component. Filtering and gain is implemented in three stages, where the first and the last stage have first order high pass characteristics, and the second stage has second order low pass characteristic. Gain and filtering characteristics can be optimized by writing the Receiver Configuration Register 1 (filtering), the Receiver Configuration Register 3 (gain in first stage) and the Receiver Configuration Register 4 (gain in second and third stage). The gain of the first stage is about 20 dB and can be reduced in six 2.5 dB steps. There is also a special boost mode available, which boosts the maximum gain by additional 5.5 dB. In case of VHBR (fc/8 and fc/4) the gain is lower. The first stage gain can only be modified by writing Receiver Configuration Register 3. The default setting of this register is the minimum gain. The default first stage zero is set at 60 kHz, it can also be lowered to 40 kHz or to 12 kHz by writing option bits in the Receiver Configuration Register 1. The control of the first and third stage zeros is done with common control bits (see Table 1). Table 1. First and third stage zero setting rec1<2> h200 rec1<1> h80 rec1<0> z12k First stage zero Third stage zero 0 0 0 60 kHz 400 kHz 1 0 0 60 kHz 200 kHz 0 1 0 40 kHz 80 kHz 0 0 1 12 kHz 200 kHz 0 1 1 12 kHz 80 kHz 1 0 1 12 kHz 200 kHz Others Not used The gain in the second and third stage is 23 dB and can be reduced in six 3 dB steps. The gain of these two stages is included in the AGC and Squelch loops. It can also be manually set in Receiver Configuration Register 4. Sending of direct command Reset Rx Gain is necessary to reset the AGC, Squelch and RSSI block. Sending this command clears the current Squelch setting and loads the gain reduction configuration from Receiver Configuration Register 4 into the internal shadow registers of the AGC and Squelch block. The second stage has a second order low pass filtering characteristic, the pass band is adjusted according to the sub-carrier frequency using the bits lp2 to lp0 of the Receiver Configuration Register 1. See Table 2 for -1 dB cut-off frequency for different settings. 18/131 DS11793 Rev 4 ST25R3911B Functional overview Table 2. Low pass control rec1<5> lp2 rec1<4> lp1 rec1<3> lp0 -1 dB point 0 0 0 1200 kHz 0 0 1 600 kHz 0 1 0 300 kHz 1 0 0 2 MHz 1 0 1 7 MHz Others Not used Table 3 provides information on the recommended filter settings. For all supported operation modes and receive bit rates there is an automatic preset defined, additionally some alternatives are listed. Automatic preset is done by sending direct command Analog Preset. There is no automatic preset for Stream and Transparent modes. Since the selection of the filter characteristics also modifies gain, the gain range for different filter settings is also listed. Table 3. Receiver filter selection and gain range rec1<5:3>lp<2:0> rec1<2>h200 rec1<1>h80 rec1<0>z12k Gain (dB) 000 0 0 0 43.4 28.0 26.4 11.0 49.8 Automatic preset for ISO14443A fc/128 and NFC Forum Type 1 Tag 000 1 0 0 44.0 29.0 27.5 12.0 49.7 Automatic preset for ISO14443B fc/128 ISO14443 fc/64 001 1 0 0 44.3 29 27.0 11.7 49.8 Recommended for 424/484 kHz sub-carrier 000 0 1 0 41.1 25.8 23.6 8.3 46.8 Alternative choice for ISO14443 fc/32 and fc/16 100 0 1 0 32.0 17.0 17.2 2.0 37.6 Automatic preset for ISO14443 fc/32 and fc/16 Alternative choice for fc/8 (1.7 kb/s) 100 0 0 0 32.0 17.0 17.2 2.0 37.6 Alternative choice for fc/8 (1.7 kb/s) 000 0 1 1 41.1 25.8 23.6 8.3 46.8 Automatic preset FeliCaTM (fc/64, fc/32) Alternative choice for ISO14443 fc/32 and fc/16 101 0 1 0 30.0 20.0 12.0 2.0 34.0 Alternative choice for fc/8 and fc/4 101 1 0 0 30.0 20.0 12.0 2.0 34.0 Automatic preset for fc/8 and fc/4 000 1 0 1 36.5 21.5 24.9 9.9 41.5 Automatic preset for NFCIP-1 (initiator and target) Max all Min1 Max1 Max23 Min23 Min all With boost Comments Digitizing stage The digitizing stage produces a digital representation of the sub-carrier signal coming from the receiver. This digital signal is then processed by the receiver framing logic. The digitizing stage consists of a window comparator with adjustable digitizing window (five possible DS11793 Rev 4 19/131 72 Functional overview ST25R3911B settings, 3 dB steps, adjustment range from 33 mV to 120 mV). Adjustment of the digitizing window is included in the AGC and Squelch loops. In addition, the digitizing window can also be set manually in the Receiver Configuration Register 4. AGC, Squelch and RSSI As mentioned above, the second and third gain stage gain and the digitizing stage window are included in the AGC and Squelch loops. Eleven settings are available. The default state features minimum digitizer window and maximum gain. The first four steps increase the digitizer window in 3 dB steps, the next six steps additionally reduce the gain in the second and third gain stage, again in 3 dB steps. The initial setting with whom Squelch and AGC start is defined in Receiver Configuration Register 4. The Gain Reduction State Register displays the actual state of gain that results from Squelch, AGC and initial settings in Receiver Configuration Register 4. During bit anticollision like Type A, the AGC should be disabled. Squelch This feature is designed for operation of the receiver in noisy conditions. The noise can come from tags (caused by the processing of reader commands), or it can come from a noisy environment. This noise may be misinterpreted as start of transponder response, resulting in decoding errors. During execution of the Squelch procedure the output of the digitizing comparator is observed. In case there are more than two transitions on this output in a 50 s time period, the receiver gain is reduced by 3 dB, and the output is observed during the next 50 s. This procedure is repeated until the number of transitions in 50 s is lower or equal to two, or until the maximum gain reduction is reached. This gain reduction can be cleared sending the direct command Reset Rx Gain. There are two possibilities of performing squelch: automatic mode and using the direct command Squelch. 1. Automatic mode is enabled in case bit sqm_dyn in the Receiver Configuration Register 2 is set. It is activated automatically 18.88 s after end of Tx and is terminated when the Mask Receive timer expires. This mode is primarily intended to suppress noise generated by tag processing during the time when a tag response is not expected (covered by Mask Receive timer). 2. Command Squelch is accepted in case it is sent when signal rx_on is low. It can be used when the time window in which noise is present is known by the controller. AGC AGC (Automatic Gain Control) is used to reduce gain to keep the receiver chain out of saturation. With gain properly adjusted the demodulation process is also less influenced by system noise. AGC action starts when signal rx_on is asserted high and is reset when it is reset to low. At the high to low transitions of the rx_on signal the state of the receiver gain is stored in the Gain Reduction State Register. Reading this register at a later stage gives information on the gain setting used during last reception. When AGC is switched on the receiver gain is reduced so that the input to the digitizer stage is not saturated. The AGC system comprises a comparator with a window 3.5 times larger than that of the digitizing window comparator. When the AGC function is enabled the gain is reduced until there are no transitions on the output of its window comparator. This 20/131 DS11793 Rev 4 ST25R3911B Functional overview procedure ensures that the input to the digitizing window comparator is less than 3.5 times larger than its threshold. AGC operation is controlled by the control bits agc_en, agc_m and agc_fast in the Receiver Configuration Register 2. Bit agc_en enables the AGC operation, bit agc_m defines the AGC mode, and bit agc_alg defines the AGC algorithm. Two AGC modes are available. The AGC can operate during the complete Rx process (as long as signal rx_on is high), or it can be enabled only during the first eight sub-carrier pulses. Two AGC algorithms are available. The AGC can either start by presetting code 4h (max digitizer window, max gain) or by resetting the code to 0h (min digitizer window, max gain). The algorithm with preset code is faster, therefore it is recommended for protocols with short SOF (like ISO14443A fc/128). Default AGC settings are: * AGC is enabled * AGC operates during complete Rx process * algorithm with preset is used. RSSI The receiver also performs the RSSI (Received Signal Strength Indicator) measurement for both channels. The RSSI measurement is started after the rising edge of rx_on. It stays active as long as signal rx_on is high, it is frozen while rx_on is low. The RSSI is a peak hold system, and the value can only increase from the initial zero value. Every time the AGC reduces the gain the RSSI measurement is reset and starts from zero. Result of RSSI measurements is a 4-bit value that can be observed by reading the RSSI Display Register. The LSB step is 2.8 dB, and the maximum code is Dh (13d). Since the RSSI measurement is of peak hold type the RSSI measurement result does not follow any variations in the signal strength (the highest value will be kept). In order to follow RSSI variations it is possible to reset the RSSI bits and restart the measurement by sending the direct command Clear RSSI. Receiver in NFCIP-1 active communication mode There are several features built into the receiver to enable reliable reception of active NFCIP-1 communication. All these settings are automatically preset by sending the direct command Analog Preset after the NFCIP-1 mode has been configured. In addition to the filtering options, there are two NFCIP-1 active communication mode specific configuration bits stored in the Receiver Configuration Register 3. Bit lim enables clipping circuits that are positioned after the first and second gain stages. The function of the clipping circuits is to limit the signal level for the following filtering stage (when the NFCIP-1 peer is close the input signal level can be quite high). Bit rg_nfc forces gain reduction of second and third filtering stage to -6 dB while keeping the digitizer comparator window at maximum level. 1.2.4 Capacitive sensor The Capacitive sensor block (Figure 5) gives the possibility of low power detection of tag presence. DS11793 Rev 4 21/131 72 Functional overview ST25R3911B The capacitive measurement system comprises two electrodes. One is the excitation electrode emitting an electrical field of a fixed frequency in the range of a few hundred kHz (CSO) and the second one is the sensing electrode (CSI). The amount of charge generated in the sensing electrode represents the capacitance between the two electrodes. The capacitive sensor electrodes are tolerant to parasitic capacitance to ground (up to 25 pF) and to input leakage (up to 1 M). Since the charge on the sensing electrode is generated with the frequency of the excitation electrode, a synchronous rectifier is used to detect it. This ensures good rejection of interference and high tolerance to parasitic capacitances (to all nodes except the excitation electrode). The synchronous rectifier output is a DC voltage linearly proportional to the capacitance between the excitation and sensing electrode. The output DC voltage is converted by the A/D converter in absolute mode. The result is stored in the A/D Converter Output Register (see also Section 1.2.8: A/D converter). Figure 5. Capacitive sensor block diagram 2VFLOODWRU $'FRQYHUWHU 6\QFKURQRXV UHFWLILHU &62 &6, 069 Any conductive object (human hand or tag antenna windings) approaching the two electrodes changes the capacitance between the excitation and sensing electrode as it 'shortens' the distance between the two by providing conductance on the part of the path between the two electrodes. The capacitance measurement is started by sending the direct command Measure Capacitance. The ST25R3911B can also be configured to automatically wake-up and perform periodic capacitance measurements. The result is compared to a stored reference or to an average of previous measurements and in case the difference is greater than a predefined value an IRQ is triggered to wake-up the controller (see also Section 1.2.5: Wake-Up mode). The capacitive sensor gain can be adjusted in Capacitive Sensor Control Register. The default gain is 2.8 V/pF (typical value), the maximum gain is 6.5 V/pF (typical value). Since the LSB of the A/D converter corresponds to approximately 7.8 mV, the default gain results in a sensitivity of 2.8 fF/LSB (1.2 fF/LSB in case of maximum gain). The duration of the capacitance measurement is 200 s, and the current consumption during the measurement is 1.1 mA (typical value). As an example, if the capacitive measurement is performed every 100 ms in Wake-Up mode, then the resulting average current consumption is 5.8 A (3.6 A is the standby consumption in Wake-Up mode). 22/131 DS11793 Rev 4 ST25R3911B Functional overview Capacitor sensor calibration The capacitive sensor comprises a calibration unit that internally compensates the parasitic capacitances between CSI and CSO, thus leaving full measurement range for information about capacitance variation. Five bits are used to control the calibration. The minimum calibration step and the available calibration range are, respectively, 0.1 pF and 3.1 pF. The calibration can be done manually by writing to the Capacitive Sensor Control Register or automatically by sending the direct command Calibrate Capacitive Sensor. The status of the Calibrate Capacitive Sensor command and the resulting calibration value are stored in the Capacitive Sensor Display Register. In order to avoid interference of the capacitive sensor with the Xtal oscillator and the reader magnetic field and to assure repetitive results it is strongly recommended to perform capacitance measurement and calibration in Power-down mode only. 1.2.5 Wake-Up mode Asserting the Operation Control Register bit wu while the other bits are set to 0 puts the ST25R3911B in Wake-Up mode, used to perform low power detection of card presence. The ST25R3911B includes several possibilities of low power detection of a card presence (capacitive sensor, phase measurement, amplitude measurement). An integrated low power 32 kHz RC oscillator and a register configurable Wake-Up timer are used to schedule periodic detection. Usually the presence of a card is detected by a so-called polling loop. In this process the reader field is periodically turned on and the controller checks whether a card is present using RF commands. This procedure consumes a lot of energy since the reader field has to be turned on for 5 ms before a command can be issued. Low power detection of card presence is performed by detecting a change in the reader environment, produced by a card. When a change is detected, an interrupt is sent to the controller. As a result, the controller can perform a regular polling loop. In the Wake-Up mode the ST25R3911B periodically performs the configured reader environment measurements and sends an IRQ to the controller when a difference to the configured reference value is detected. Detection of card presence can be done by performing phase,amplitude and capacitive sensor measurements. Presence of a card close to the reader antenna coil produces a change of the antenna LC tank signal phase and amplitude. The reader field activation time needed to perform the phase or the amplitude measurement is extremely short (~20 s) compared to the activation time needed to send a protocol activation command. Additionally the power level during the measurement can be lower than the power level during normal operation since the card does not have to be powered to produce a coupling effect. The emitted power can be reduced by changing the RFO Normal Level Definition Register. The capacitive sensor detects a change of the parasitic capacitance between the two excitation electrodes. This change in capacitance can be caused by a card antenna or a hand holding the card. See Section 1.1.5: Capacitive sensor for a detailed information on the capacitive sensor. The registers on locations from 31h to 3Dh are dedicated to Wake-Up timer configuration and display. The Wake-Up Timer Control Register is the main Wake-Up mode configuration DS11793 Rev 4 23/131 72 Functional overview ST25R3911B register. The timeout period between the successive detections and the measurements are selected in this register. Timeouts in the range from 10 to 800 ms are available, 100 ms is the default value. Any combination of available measurements can be selected (one, two or all of them). The next twelve registers (32h to 3Dh) are configuring the three possible detection measurements and storing the results, four registers are used for each measurement. An IRQ is sent when the difference between a measured value and the reference value is larger than the configured threshold value. There are two possible definitions for the reference value: 1. The ST25R3911B can calculate the reference based on previous measurements (auto-averaging) 2. The controller determines the reference and stores it in a register The first register in the series of four is the Amplitude Measurement Configuration Register. The difference to the reference value that triggers the IRQ, the method of reference value definition and the weight of the last measurement result in case of auto-averaging are defined in this register. The next register is storing the reference value in case the reference is defined by the controller. The following two registers are display registers. The first one stores the auto-averaging reference, and the second one stores the result of the last measurement. The Wake-Up mode configuration registers have to be configured before the Wake-Up mode is entered. Any modification of the Wake-Up mode configuration while it is active may result in unpredictable behavior. Auto-averaging In case of auto-averaging the reference value is recalculated after every measurement as NewAverage = OldAverage + (MeasuredValue - OldAverage) / Weight The calculation is done on 13 bits to have sufficient precision.The auto-averaging process is initialized when the Wake-Up mode is entered for the first time after initialization (at powerup or after Set Default command). The initial value is taken from the measurement display registers (for example Amplitude Measurement Display Register) until the content of this register is not zero. Every Measurement Configuration register contains a bit that defines whether the measurement that causes an interrupt is taken in account for the average value calculation (for example bit am_aam of the Amplitude Measurement Configuration Register). 1.2.6 Quartz crystal oscillator The quartz crystal oscillator can operate with 13.56 MHz and 27.12 MHz crystals. The operation of quartz crystal oscillator is enabled when the Operation Control Register bit en is set to one. An interrupt is sent to inform the microcontroller when the oscillator frequency is stable (see Section 1.3.24: Main Interrupt Register). The status of oscillator can be observed by observing the Auxiliary Display Register bit osc_ok. This bit is set to `1' when oscillator frequency is stable. The oscillator is based on an inverter stage supplied by a controlled current source. A feedback loop is controlling the bias current in order to regulate amplitude on XTI pin to 1 Vpp. 24/131 DS11793 Rev 4 ST25R3911B Functional overview To enable a fast reader start-up an interrupt is sent when the oscillator amplitude exceeds 750 mVpp. Division by two ensures that 13.56 MHz signal has a duty cycle of 50%, which is better for the transmitter performance (no PW distortion). Use of 27.12 MHz crystal is therefore recommended for better performance. In case of 13.56 MHz crystal, the bias current of stage that is digitizing oscillator signal is increased to assure as low PW distortion as possible. Note: In case of VHBR reception (bit rates fc/8 and above) it is mandatory to use the 27.12 MHz crystal since high frequency clock is needed for receive framing. The oscillator output is also used to drive a clock signal output pin MCU_CLK) that can be used by the external microcontroller. The MCU_CLK pin is configured in the IO Configuration Register 2. 1.2.7 Timers The ST25R3911B contains several timers that eliminate the need to run counters in the controller, thus reducing the effort of the controller code implementation and improve portability of code to different controllers. Every timer has one or more associated configuration registers in which the timeout duration and different operating modes are defined. These configuration registers have to be set while the corresponding timer is not running. Any modification of timer configuration while the timer is active may result in unpredictable behavior. All timers except the Wake-Up timer are stopped by direct command Clear. Note: In case bit nrt_emv in the General Purpose and No-Response Timer Control Register is set to one, the No-Response timer is not stopped Mask Receive timer and No-Response timer Mask Receive timer and No-Response timer are both automatically started at the end of transmission (at the end of EOF). Mask Receive timer The Mask Receive timer is blocking the receiver and reception process in framing logic by keeping the rx_on signal low after the end of Tx during the time the tag reply is not expected. While the Mask Receive timer is running, the Squelch is automatically turned on (if enabled). Mask Receive timer does not produce an IRQ. The Mask Receive timer timeout is configured in the Mask Receive Timer Register. In the NFCIP-1 active communication mode the Mask Receive timer is started when the peer NFC device (a device with whom communication is going on) switches on its field. The Mask Receive timer has a special use in the low power Initial NFC Target Mode. After the initiator field has been detected the controller turns on the oscillator, regulator and receiver. Mask Receive timer is started by sending direct command Start Mask Receive Timer. After the Mask Receive Timer expires the receiver output starts to be observed to detect start of the initiator message. In this mode the Mask Receive timer clock is additionally divided by eight it (one count is 512/fc) to cover range up to about 9.6 ms. DS11793 Rev 4 25/131 72 Functional overview ST25R3911B No-Response timer As its name indicates, this timer is intended to observe whether a tag response is detected in a configured time started by end of transmission. The I_nre flag in the Timer and NFC Interrupt Register is signaling interrupt events resulting from this timer timeout. The No-Response timer is configured by writing the two registers No-Response Timer Register 1 and No-Response Timer Register 2. Operation options of the No-Response timer are defined by setting bits nrt_emv and nrt_step in the General Purpose and No-Response Timer Control Register. Bit nrt_step configures the time step of the No-Response timer. Two steps are available, 64/fc (4.72 s) to cover range up to 309 ms, and 4096/fc, covering the range up to 19.8 s. Bit nrt_emv controls the timer operation mode: * When this bit is set to 0 (default mode) the IRQ is produced in case the No-Response Timer expires before a start of a tag reply is detected and rx_on is forced to low to stop receiver process. In the opposite case, when start of a tag reply is detected before timeout, the timer is stopped, and no IRQ is produced. * When this bit is set to 1 the timer unconditionally produces an IRQ when it expires, it is also not stopped by direct command Clear. This means that IRQ is independent of the fact whether or not a tag reply was detected. In case at the moment of timeout a tag reply is being processed no other action is taken, in the opposite case, when no tag response is being processed additionally the signal rx_on is forced to low to stop receive process. The No-Response timer can also be started using direct command Start No-Response Timer. The intention of this command is to extend the No-Response timer timeout beyond the range defined in the No-Response timer control registers. In case this command is sent while the timer is running, it is reset and restarted. In NFCIP-1 active communication mode the No-Response timer cannot be started using the direct command. In case this timer expires before the peer NFC device (a device with whom communication is going on) switches on its field an interrupt is sent. In all modes, where timer is set to nonzero value, it is a must that M_txe is not set and interrupt I_txe is read via SPI for synchronization between transmitter and timer. General Purpose timer The triggering of the General Purpose timer is configured by setting the General Purpose and No-Response Timer Control Register. It can be used to survey the duration of the reception process (triggering by start of reception, after SOF) or to time out the PCD to PICC response time (triggered by end of reception, after EOF). In the NFCIP-1 active communication mode it is used to timeout the field switching off. In all cases an IRQ is sent when it expires. The General Purpose timer can also be started by sending the direct command Start General Purpose Timer. In case this command is sent while the timer is running, it is reset and restarted. Wake-Up timer Wake timer is primarily used in the Wake-Up mode (see Section 1.2.5: Wake-Up mode). Additionally it can be used by sending a direct command Start Wake-Up Timer. This command is accepted in any operation mode except Wake-Up mode. When this command is sent the RC oscillator used as clock source for Wake-Up timer is started, timeout is 26/131 DS11793 Rev 4 ST25R3911B Functional overview defined by setting in the Wake-Up Timer Control Register. When the timer expires, an IRQ with the I_wt flag in the Error and Wake-Up Interrupt Register is sent. Wake-Up timer is useful in the Low Power operation mode, in which other timers cannot be used (in the Low Power operation mode the crystal oscillator, which is clock source for the other timers, is not running). Note: The tolerance of Wake-Up timer timeout is defined by tolerance of the RC oscillator. 1.2.8 A/D converter The ST25R3911B contains an 8-bit successive approximation A/D converter. Inputs to the A/D converter can be multiplexed from different sources to be used in several direct commands and adjustment procedures. The result of the last A/D conversion is stored in the A/D Converter Output Register. The A/D converter has two operating modes, absolute and relative. * In absolute mode the low reference is 0 V and the high reference is 2 V. This means that A/D converter input range is from 0 to 2 V, 00h code means input is 0 V or lower, FFh means that input is 2 V - 1 LSB or higher (LSB is 7.8125 mV). * In relative mode low reference is 1/6 of VSP_A and high reference is 5/6 of VSP_A, so the input range is from 1/6 to 5/6 VSP_A. Relative mode is only used in phase measurement (phase detector output is proportional to power supply). In all other cases absolute mode is used. 1.2.9 Phase and amplitude detector This block is used to provide input to A/D converter to perform measurements of amplitude and phase, expected by direct commands Measure Amplitude and Measure Phase. Several phase and amplitude measurements are also performed by direct commands Calibrate Modulation Depth and Calibrate Antenna. Phase detector The phase detector is observing phase difference between the transmitter output signals (RFO1 and RFO2) and the receiver input signals RFI1 and RFI2, which are proportional to the signal on the antenna LC tank. These signals are first elaborated by digitizing comparators, then digitized signals are processed by a phase detector with a strong low pass filter to get average phase difference. The phase detector output is inversely proportional to the phase difference between the two inputs. The 90 phase shift results in VSP_A/2 output voltage, in case both inputs are in phase output voltage is VSP_A, in case they are in opposite phase output voltage is 0 V. During execution of direct command Measure Phase this output is multiplexed to A/D converter input (A/D converter is in relative mode during execution of command Measure Phase). Since the A/D converter range is from 1/6 to 5/6 VSP_A the actual phase detector range is from 30 to 150. Figure 6 and Figure 7 show the two inputs and the output of phase detector, respectively, in case of 90 and 135 shifts. DS11793 Rev 4 27/131 72 Functional overview ST25R3911B Figure 6. Phase detector inputs and output in case of 90 phase shift 963B$ ,QSXW 963B$ ,QSXW 963B$ 2XWSXW 963B$ 069 Figure 7. Phase detector inputs and output in case of 135 phase shift 963B$ ,QSXW 963B$ ,QSXW 963B$ 2XWSXW 963B$ 069 Amplitude detector Signals from pins RFI1 and RFI2 are used as inputs to the self-mixing stage. The output of this stage is a DC voltage proportional to amplitude of signal on pins RFI1 and RFI2. During execution of direct command Measure Amplitude this output is multiplexed to A/D converter input. 1.2.10 External field detector The External Field Detector is used to detect the presence of an external device generating an RF field. It is automatically switched on in NFCIP-1 active communication modes; it can also be used in other modes. The External field detector supports two different detection thresholds, Peer Detection Threshold and Collision Avoidance Threshold. The two thresholds can be independently set by writing the External Field Detector Threshold Register. The actual state of the External field detector output can be checked by reading the Auxiliary Display Register. Input to this block is the signal from the RFI1 pin. 28/131 DS11793 Rev 4 ST25R3911B Functional overview Peer detection threshold This threshold is used to detect the field emitted by peer NFC device with whom NFC communication is going on (initiator field in case the ST25R3911B is a target and the opposite, target field in case the ST25R3911B isan initiator). It can be selected in the range from 75 to 800 mVpp. When this threshold is enabled the External Field Detector is in low power mode. An interrupt is generated when an external field is detected and also when it is switched off. With such implementation it can also be used to detect the moment when the external field disappears. This is useful to detect the moment when the peer NFC device (it can be either an initiator or a target) has stopped emitting an RF field. The External Field Detector is automatically enabled in the low power Peer Detection mode when NFCIP-1 mode (initiator or target) is selected in the Bit Rate Definition Register. Additionally it can be enabled by setting bit en_fd in the Auxiliary Definition Register. Collision Avoidance threshold This threshold is used during the RF Collision Avoidance sequence that is executed by sending NFC Field ON commands (see NFC Field ON commands). It can be selected in the range from 25 to 800 mVpp. 1.2.11 Power supply system The ST25R3911B (Figure 8) features two positive supply pins, VDD and VDD_IO. VDD is the main power supply pin. It supplies the ST25R3911B blocks through three regulators (VSP_A, VSP_D and VSP_RF). VDD range from 2.4 to 5.5 V is supported. VDD_IO is used to define supply level for digital communication pins (/SS, MISO, MOSI, SCLK, IRQ, MCU_CLK). Digital communication pins interface with ST25R3911B logic through level shifters, therefore the internal supply voltage can be either higher or lower than VDD_IO. VDD_IO range from 1.65 to 5.5 V is supported. Figure 8. ST25R3911B power supply 9'' (1 VXS9 N 963B' 5(* 3RZHUGRZQ 6XSSRUW 963B$ 5(* %*5 963B5) 5(* 963B5) 963B$ 963B' $*' $*& 59! UHJ$K DGMXVW $8725(* UHJ%K 069 DS11793 Rev 4 29/131 72 Functional overview ST25R3911B Figure 8 shows the building blocks of the ST25R3911B power supply system and the signals that control it. The power supply system contains three regulators, a power-down support block, a block generating analog reference voltage (AGD) and a block performing automatic power supply adjustment procedure. The three regulators are providing supply to analog blocks (VSP_A), logic (VSP_D) and transmitter (VSP_RF). The use of VSP_A and VSP_D regulators is mandatory at 5 V power supply to provide regulated voltage to analog and logic blocks that only use 3.3 V devices. The use of VSP_A and VSP_D regulators at 3 V supply and VSP_RF regulator at any supply voltage is recommended to improve system PSRR. Regulated voltage can be adjusted automatically to have maximum possible regulated voltage while still having good PSRR. All regulator pins also have corresponding negative supply pins that are externally connected to ground potential (VSS). The reason for separation is in decoupling of noise induced by voltage drops on the internal power supply lines. Figure 2 and Figure 3 show typical ST25R3911B application schematics with all regulators used. All regulator pins and AGD voltage are buffered with capacitors. Recommended blocking capacitor values are detailed in Table 4. Table 4. Recommended blocking capacitor values Pins Recommended capacitors AGD-VSS 1 F, in parallel with 10 nF VSP_A-VSN_A VSP_D-VSN_D 2.2 F, in parallel with 10 nF 2.2 F, in parallel with 10 nF VSP_RF-VSN_RF 2.2 F, in parallel with 10 nF Regulators have two basic operation modes depending on supply voltage, 3.3 V supply mode (max 3.6 V) and 5 V supply mode (max 5.5 V). The supply mode is set by writing bit sup3 V in the IO Configuration Register 2. Default setting is 5 V, hence this bit has to be set to one after power-up in case of 3.3 V supply. In 3.3 V mode all regulators are set to the same regulated voltage in range from 2.4 V to 3.4 V, while in 5 V only the VSP_RF can be set in range from 3.9 V to 5.1 V, while VSP_A and VSP_D are fixed to 3.4 V. The regulators are operating when signal en is high (en is configuration bit in Operation Control Register. When signal en is low the ST25R3911B isare in low power Power-down mode. In this mode consumption of the power supply system is also minimized. VSP_RF regulator The intention of this regulator is to improve PSRR of the transmitter (the noise of the transmitter power supply is emitted and fed back to the receiver). The VSP_RF regulator operation is controlled and observed by writing and reading two regulator registers: * 30/131 Regulator Voltage Control Register controls the regulator mode and regulated voltage. Bit reg_s controls regulator mode. In case it is set to 0 (default state) the regulated voltage is set using direct command Adjust Regulators. When bit reg_s is asserted to 1 regulated voltage is defined by bits rege_3 to rege_1 of the same register. The regulated voltage adjustment range depends on the power supply mode. In case of 5 V supply mode the adjustment range is between 3.9 V and 5.1 V in steps of 120 mV, in DS11793 Rev 4 ST25R3911B Functional overview case of 3.3 V supply mode the adjustment range is from 2.4 V to 3.4 V with steps of 100 mV. Default regulated voltage is the maximum one (5.1 V and 3.4 V in case of 5 V and 3.3 V supply mode respectively). * Regulator and Timer Display Register is a read only register that displays actual regulated voltage when regulator is operating. It is especially useful in case of automatic mode, since the actual regulated voltage, which is the result of direct command Adjust Regulators, can be observed. The VSP_RF regulator also includes a current limiter that limits the regulator typically to current of 200 mArms in normal operation (500 mA in case of short). In case the transmitter output current higher the 200 mArms is required, VSP_RF regulator cannot be used to supply the transmitter, VSP_RF has to be externally connected to VDD (connection of VSP_RF to supply voltage higher than VDD is not allowed). The voltage drop of the transmitter current is the main source of the ST25R3911B power dissipation. This voltage drop is composed of drop in the transmitter driver and in the drop on VSP_RF regulator. Due to this it is recommended to set regulated voltage using direct command Adjust Regulators. It results in good power supply rejection ration with relatively low dissipated power due to regulator voltage drop. In Power-down mode the VSP_RF regulator is not operating. VSP_RF pin is connected to VDD through 1 k resistor. Connection through resistors ensures smooth power-up of the system and a smooth transition from Power-down mode to other operating modes. VSP_A and VSP_D regulators VSP_A and VSP_D regulators are used to supply the ST25R3911B analog and digital blocks respectively. In 3.3 V mode, VSP_A and VSP_D regulator are set to the same regulated voltage as the VSP_RF regulator, in 5 V mode VSP_A and VSP_D regulated voltage is fixed to 3.4 V. The use of VSP_A and VSP_D regulators is obligatory in 5 V mode since analog and digital blocks supplied with these two pins contain low voltage transistors that support maximum supply voltage of 3.6 V. In 3.3 V supply mode the use of regulators is strongly recommended in order to improve PSRR of analog processing. For low cost applications it is possible to disable the VSP_D regulator and to supply digital blocks through external short between VSP_A and VSP_D (configuration bit vspd_off in the IO Configuration Register 2. In case VSP_D regulator is disabled VSP_D can alternatively be supplied from VDD (in 3.3 V mode only) in case VSP_A is not more than 300 mV lower than VDD. Power-down support block In the Power-down mode the regulators are disabled in order to save current. In this mode a low power Power-down support block that maintains the VSP_D and VSP_A in below 3.6 V is enabled. Typical regulated voltage in this mode is 3.1 V at 5 V supply and 2.2 V at 3 V supply. When 3.3 V supply mode is set the Power-down support block is disabled, its output is connected to VDD through 1 k resistor. Typical consumption of Power-down support block is 600 nA at 5 V supply. DS11793 Rev 4 31/131 72 Functional overview ST25R3911B Measurement of supply voltages Using direct command Measure Power Supply it is possible to measure VDD and regulated voltages VSP_A, VSP_D, and VSP_RF. 1.2.12 Communication with an external microcontroller The ST25R3911B is a slave device and the external microcontroller initiates all communication. Communication is performed by a 4-wire Serial Peripheral Interface (SPI). The ST25R3911B sends an interrupt request (pin IRQ) to the microcontroller, which can use clock signal available on pin MCU_CLK when the oscillator is running. Serial Peripheral Interface (SPI) While signal /SS is high the SPI interface is in reset, while it is low the SPI is enabled. It is recommended to keep /SS high whenever the SPI is not in use. MOSI is sampled at the falling edge of SCLK. All communication is done in blocks of 8 bits (bytes). First two bits of first byte transmitted after high to low transition of /SS define SPI operation mode. Table 5. Serial data interface (4-wire interface) signal lines Name Signal Signal level /SS Digital input MOSI Digital input MISO Digital output with tristate SCLK Digital input Description SPI Enable (active low) CMOS Serial data input Serial data output Clock for serial communication MSB bit is always transmitted first (valid for address and data). Read and Write modes support address auto-incrementing. This means that if some additional data bytes are sent/read after the address and first data byte, they are written to/read from addresses incremented by `1'. Figure 9 defines possible modes. Figure 9. Exchange of signals with microcontroller 026, 0,62 026, 0,62 %LGLUHFWLRQDOGDWD ,2VLJQDOWR0&8 675% 675% 6HSDUDWH63,LQSXWDQG RXWSXWVLJQDOVWR0&8 026, ,2 0,62 069 32/131 DS11793 Rev 4 ST25R3911B Functional overview MISO output is usually in tristate, it is only driven when output data is available. Due to this the MOSI and the MISO can be externally shorted to create a bidirectional signal. During the time the MISO output is in tristate, it is possible to switch on a 10 k pull down by activating option bits miso_pd1 and miso_pd2 in the IO Configuration Register 2. Table 6 provides information on the SPI operation modes. Reading and writing of registers is possible in any ST25R3911B operation mode. FIFO operations are possible in case en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Table 6. SPI operation modes Pattern (communication bits) Mode Mode Trailer Related data M1 M0 C5 C4 C3 C2 C1 C0 Register Write 0 0 A5 A4 A3 A2 A1 A0 Register Read 0 1 A5 A4 A3 A2 A1 A0 FIFO Load 1 0 0 0 0 0 0 0 FIFO Read 1 0 1 1 1 1 1 1 DirectCommand Mode 1 1 C5 C4 C3 C2 C1 C0 Data byte (or more bytes in case of auto-incrementing) One or more bytes of FIFO data - Writing data to addressable registers (Write mode) Figure 10 and Figure 11 show cases of writing a single byte and writing multiple bytes with auto-incrementing address. After the SPI operation mode bits, the address of register to be written is provided. Then one or more data bytes are transferred from the SPI, always from the MSB to the LSB. The data byte is written in register on falling edge of its last clock. In case the communication is terminated by putting /SS high before a packet of 8 bits (one byte) is sent, writing of this register is not performed. In case the register on the defined address does not exist or it is a read only register no write is performed. Figure 10. SPI communication: writing a single byte 66 5DLVLQJ HGJH LQGLFDWHV HQGRI :ULWH0RGH 6&/. 026, ; $ $ $ $ $ $ ' ' ' ' ' ' ' ' ; 7ZROHDGLQJELWV LQGLFDWH0RGH 6&/.ULVLQJHGJH 'DWDWUDQVIHUUHGIURP0&8 6&/.IDOOLQJHGJH 'DWDLVVDPSOHG 'DWDLVPRYHGWR DGGUHVV$$! 069 DS11793 Rev 4 33/131 72 Functional overview ST25R3911B Figure 11. SPI communication: writing multiple bytes 66 66UDLVLQJHGJH LQGLFDWHVHQGRI :ULWHPRGH 6&/. 026, ; $ $ $ $ $ $ ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' 6&/.IDOOLQJHGJH 'DWDPRYHGWR DGGUHVV$$! 7ZROHDGLQJV LQGLFDWH:ULWHPRGH 6&/.IDOOLQJHGJH 'DWDPRYHGWR DGGUHVV$$! ; 6&/.IDOOLQJHGJH 'DWDPRYHGWR DGGUHVV$$!Q 6&/.IDOOLQJHGJH 'DWDPRYHGWR DGGUHVV$$! Q 069 Reading data from addressable registers (Read mode) After the SPI operation mode bits the address of register to be read has to be provided from the MSB to the LSB. Then one or more data bytes are transferred to MISO output, always from the MSB to the LSB. As in case of the write mode also the read mode supports autoincrementing address. MOSI is sampled at the falling edge of SCLK (like shown in the following diagrams), data to be read from the ST25R3911B internal register is driven to MISO pin on rising edge of SCLK and is sampled by the master at the falling edge of SCLK. In case the register on defined address does not exist all 0 data is sent to MISO. Figure 12 is an example for reading of single byte. 34/131 DS11793 Rev 4 ST25R3911B Functional overview Figure 12. SPI communication: reading a single byte 66 66UDLVLQJHGJH LQGLFDWHVHQGRI 5HDGPRGH 6&/. 026, ; $ 0,62 $ $ $ $ ; $ WULVWDWH ' ' 6&/.ULVLQJHGJH 'DWDPRYHGIURP $GGUHVV$$ 7ZROHDGLQJELWV LQGLFDWH0RGH ' ' ' ' ' ' WULVWDWH 6&/.IDOOLQJHGJH 'DWDWUDQVIHUUHGWR0&8 6&/.ULVLQJHGJH 6&/.IDOOLQJHGJH 'DWDWUDQVIHUUHGIURP0&8 'DWDLVVDPSOHG 069 Loading transmitting data into FIFO Loading the transmitting data into the FIFO is similar to writing data into an addressable registers. Difference is that in case of loading more bytes all bytes go to the FIFO. SPI operation mode bits 10 indicate FIFO operations. In case of loading transmitting data into FIFO all bits are set to 0. Then a bit-stream, the data to be sent (1 to 96 bytes), can be transferred. In case the command is terminated by putting /SS high before a packet of 8 bits (one byte) is sent, writing of that particular byte in FIFO is not performed. Figure 13 shows how to load the Transmitting Data into the FIFO. Figure 13. SPI communication: loading of FIFO 66 66UDLVLQJ HGJH LQGLFDWHV HQGRI ),)20RGH 6&/. 026, ; SDWWHUQ LQGLFDWHV ),)20RGH WR E\WHV ; 6WDUWRI SD\ORGGDWD 6&/.ULVLQJHGJH 6&/.IDOOLQJHGJH 'DWDWUDQVIHUUHGIURP0&8 'DWDLVVDPSOHG 069 Reading received data from FIFO Reading received data from the FIFO is similar to reading data from an addressable registers. Difference is that in case of reading more bytes they all come from the FIFO. SPI DS11793 Rev 4 35/131 72 Functional overview ST25R3911B operation mode bits 10 indicate FIFO operations. In case of reading the received data from the FIFO all bits are set to 1. On the following SCLK rising edges the data from FIFO appears as in case of read data from addressable registers. If the command is terminated by putting /SS high before a packet of 8 bits (one byte) is read, that particular byte is considered unread and will be the first one read in next FIFO read operation. Figure 14. SPI communication: reading of FIFO 66 66UDLVLQJ HGJH LQGLFDWHV HQGRI ),)20RGH 6&/. 026, ; 0,62 ; WR E\WHV WULVWDWH SDWWHUQ LQGLFDWHV ),)20RGH WULVWDWH 6&/.ULVLQJHGJH 'DWDPRYHGIURP),)2 6&/.ULVLQJHGJH 6&/.IDOOLQJHGJH 'DWDWUDQVIHUUHGIURP0&8 'DWDLVVDPSOHG 6&/.IDOOLQJHGJH 'DWDWUDQVIHUUHGWR0&8 069 Direct Command Mode Direct Command Mode has no arguments, so a single byte is sent. SPI operation mode bits 11 indicate Direct Command Mode. The following six bits define command code, sent MSB to LSB. The command is executed on falling edge of last clock (see Figure 15). While execution of some Direct Commands is immediate, there are others that start a process of certain duration (calibration, measurement...). During execution of such commands it is not allowed to start another activity over the SPI interface. After execution of such a command is terminated an IRQ is sent. 36/131 DS11793 Rev 4 ST25R3911B Functional overview Figure 15. SPI communication: direct command 66 66UDLVLQJHGJH LQGLFDWHVVWDUWRI FRPPDQGH[HFXWLRQ 6&/. 026, ; 7ZROHDGLQJV LQGLFDWH &RPPDQG0RGH & & & 6&/.ULVLQJHGJH 'DWDWUDQVIHUUHGIURP0&8 & & & ; 6&/.IDOOLQJHGJH 'DWDLVVDPSOHG 069 Direct command chaining As shown in Figure 16, direct commands with immediate execution can be followed by another SPI mode (Read, Write or FIFO) without deactivating the /SS signal in between. Figure 16. SPI communication: direct command chaining 66 'LUHFWFRPPDQG 5HDG:ULWHRU),)20RGH 069 SPI timing Table 7. SPI timing Symbol Parameter Min Typ Max Unit Comments General timing (VDD = VDD_IO = VSP_D = 3.3 V, 25 C) TSCLK SCLK period 167 - - TSCLK=TSCLKL+TSCLKH, use of shorter SCLK period may lead to incorrect FIFO operation. TSCLKL SCLK low 70 - 1 - TSCLKH SCLK high 70 - - - TSSH SPI reset (/SS high) 100 - - TNCSL /SS falling to SCLK rising 25 - - First SCLK pulse TNCSH SCLK falling to /SS rising 300 - - Last SCLK pulse TDIS Data in set-up time 10 - - - TDIH Data in hold time 10 - - - - ns DS11793 Rev 4 37/131 72 Functional overview ST25R3911B Table 7. SPI timing (continued) Symbol Parameter Min Typ Max Unit Comments Read timing (VDD = VDD_IO = VSP_D = 3.3 V, 25 C, CLOAD 50 pF) TDOD TDOHZ Data out delay - Data out to high impedance delay 20 - - 20 - ns - Figure 17. SPI general timing 66 W1&6/ W6&/.+ W6&/./ 6&/. W',6 026, W1&6+ W',+ '$7$, '$7$, '$7$, 0,62 069 Figure 18. SPI read timing 66 6&/. 026, '$7$, '$7$2 0,62 W'2' '$7$2 W'2+= 069 Interrupt interface There are three interrupt registers implemented in the ST25R3911B: Main Interrupt Register contains information about six interrupt sources, while two bits reference to interrupt 38/131 DS11793 Rev 4 ST25R3911B Functional overview sources detailed in Timer and NFC Interrupt Register and Error and Wake-Up Interrupt Register. When an interrupt condition is met the source of interrupt bit is set in the Main Interrupt Register and the IRQ pin transitions to high. Table 8. IRQ output Name Signal Signal level Description IRQ Digital output CMOS Interrupt output pin The microcontroller then reads the Main Interrupt Register to distinguish between different interrupt sources. The interrupt registers 0x17, 0x18 and 0x19 are to be read in one attempt. After a particular Interrupt register is read, its content is reset to 0. Exceptions to this rule are the bits pointing to auxiliary registers. These bits are only cleared when corresponding auxiliary register is read. IRQ pin transitions to low after the interrupt bit(s) that caused its transition to high has (have) been read. Note: There may be more than one interrupt bit set in case the microcontroller does not immediately read the interrupt registers after the IRQ signal has been set and another event causing interrupt has occurred. In that case the IRQ pin transitions to low after the last bit that caused interrupt is read. If an interrupt from a certain source is not required, it can be disabled by setting corresponding bit in the Mask Interrupt registers. When masking a given interrupt source the interrupt is not produced, but the source of interrupt bit is still set in Interrupt registers. FIFO water level and FIFO status registers The ST25R3911B contains a 96 byte FIFO. In case of transmitting the Control logic shifts the data that was previously loaded by the external microcontroller to the Framing Block and further to the transmitter. During reception, the demodulated data is stored in the FIFO and the external microcontroller can download received data at a later moment. Transmit and receive capabilities of the ST25R3911B are not limited by the FIFO size due to a FIFO water level interrupt system. During transmission an interrupt is sent (IRQ due to FIFO water level in the Main Interrupt Register) when the content of data in the FIFO passes from (water level + 1) to water level and the complete transmit frame has not been loaded in the FIFO yet. The external microcontroller can now add more data in the FIFO. The same stands for the reception: when the number of received bytes passes from (water level - 1) to water level an interrupt is sent to inform the external controller that data has to be downloaded from FIFO in order not to lose receive data due to FIFO overflow. During transmission water level IRQ is additionally set in case all transmission bytes have not been written in FIFO yet and if number of bytes written into FIFO is lower than water level. In this case an IRQ is sent when number of bytes in FIFO drops below 4. Note: FIFO IRQ is not produced while SPI is active in FIFO load or read mode. Due to this the FIFO loading/reading rate has to be higher than Tx/Rx bit rate, once FIFO loading/reading is finished the /SS pin has to be pulled to VDD (logic remains in FIFO load/read mode as long as /SS remains low). The external controller has to serve the FIFO faster than data is transmitted or received. Using SCLK frequency that is at least double than the actual receive or transmit bit rate is recommended. DS11793 Rev 4 39/131 72 Functional overview ST25R3911B There are two settings of the FIFO water level available for receive and transmit in the IO Configuration Register 1. At the beginning of a data reception the FIFO, FIFO Status Register 1 and FIFO Status Register 2 are cleared automatically. After data reception is terminated the external microcontroller needs to know how much data is still stored in the FIFO: This information is available in the FIFO Status Register 1 and FIFO Status Register 2 that display number of bytes in the FIFO that were not read out. FIFO Status Register 1 can also be read while reception and transmission processes are active to get info about current number of bytes in FIFO. In that case user has to take in account that Rx/Tx process is going on and that the number of data bytes in FIFO may have already changed by the time the reading of register is finished. The FIFO Status Register 2 contains the information on whether the last received byte was completed or not. An incomplete byte can occur on certain protocols that use frames shorter than one byte for status information or for example, if the receive data stream breaks in the middle due to an unexpected card removal. The status of the last received byte and the number of valid bits received is stored in the bits fifo_ncp, fifo_lb<2:0>, and np_lb. These bits are cleared when the FIFO Status Register 2 is read and must be stored in the MCU if needed for further processing. The FIFO Status Register 2 additionally contains two bits that indicate that the FIFO was not correctly served during reception or transmission process (FIFO overflow and FIFO underflow). FIFO overflow is set when too much data is written in FIFO. In case this bit is set during reception the external controller did not react on time on water level IRQ and more than 96 bytes were written in the FIFO. The received data is of course corrupted in such a case. During transmission this means that controller has written more data than FIFO size. The data to be transmitted was corrupted. FIFO underflow is set when data was read from empty FIFO. In case this bit is set during reception the external controller read more data than was actually received. During transmission this means that controller has failed to provide the quantity of data defined in number of transmitted bytes registers on time. Pin MCU_CLK Pin MCU_CLK may be used as clock source for the external microcontroller. Depending on the operation mode either a low frequency clock (32 kHz) from the RC oscillator or the clock signal derived from crystal oscillator is available on pin MCU_CLK. The MCU_CLK output pin is controlled by bits out_c1, out_cl0 and lf_clk_off in the IO Configuration Register 1. Bits out_cl enable the use of pin MCU_CLK as clock source and define the division for the case the crystal oscillator is running (13.56 MHz, 6.78 MHz and 3.39 MHz are available). Bit lf_clk_off controls the use of low frequency clock (32 kHz) in case the crystal oscillator is not running. By default configuration (defined at power-up) the 3.39 MHz clock is selected and the low frequency clock is enabled. In Transparent mode (see Section 1.2.22: Stream mode and Transparent mode) the use of MCU_CLK is mandatory since clock that is synchronous to the field carrier frequency is needed to implement receive and transmit framing in the external controller. The use of MCU_CLK is recommended also for the case where the internal framing is used. Using MCU_CLK as the microcontroller clock source generates noise synchronous with the reader carrier frequency and is therefore filtered out by the receiver, while using some other incoherent clock source may produce noise that perturbs the reception. 40/131 DS11793 Rev 4 ST25R3911B Functional overview Use of MCU_CLK is also better for EMC compliance. 1.2.13 Direct commands Table 9. Direct commands Command code (hex) Command Comments Command chaining Interrupt after Termination Operation mode(1) Set Default Puts the ST25R3911B in default state (same as after power-up) No No All Clear Stops all activities and clears FIFO Yes No en C4 Transmit With CRC Starts a transmit sequence using automatic CRC generation Yes No en, tx_en C5 Transmit Without CRC Starts a transmit sequence without automatic CRC generation Yes No en, tx_en C6 Transmit REQA Transmits REQA command (ISO14443A mode only) Yes No en, tx_en C7 Transmit WUPA Transmits WUPA command (ISO14443A mode only) Yes No en, tx_en C8 NFC Initial Field ON Performs Initial RF Collision Avoidance and switch on the field Yes Yes en(2) C9 NFC Response Field ON Performs Response RF Collision Avoidance and switch on the field Yes Yes en(2) CA NFC Response Field ON with n=0 Performs Response RF Collision Avoidance with n=0 and switch on the field Yes Yes en(2) CB Go to Normal NFC Mode Accepted in NFCIP-1 active communication bit rate detection mode Yes No - CC Analog Preset Presets Rx and Tx configuration based on state of Mode Definition Register and Bit Rate Definition Register Yes No All D0 Mask Receive Data Receive after this command is ignored Yes No en, rx_en D1 Unmask Receive Data Receive data following this command is normally processed (this command has priority over internal Mask Receive timer) Yes No en, rx_en D2 - - - - No Yes en C1 C2, C3 D3 Measure Amplitude Not used Amplitude of signal present on RFI inputs is measured, result is stored in A/D Converter Output Register DS11793 Rev 4 41/131 72 Functional overview ST25R3911B Table 9. Direct commands (continued) Comments Command chaining Interrupt after Termination Operation mode(1) Squelch Performs gain reduction based on the current noise level No No en, rx_en D5 Reset Rx Gain Clears the current Squelch setting and loads the manual gain reduction from Receiver Configuration Register 1 No No en D6 Adjust Regulators Adjusts supply regulators according to the current supply voltage level No Yes en(3) D7 Calibrate Modulation Depth Starts sequence that activates the Tx, measures the modulation depth and adapts it to comply with the specified modulation depth No Yes en D8 Calibrate Antenna Starts the sequence to adjust parallel capacitances connected to TRIMx_y pins so that the antenna LC tank is in resonance No Yes en D9 Measure Phase Measurement of phase difference between the signal on RFO and RFI No Yes en DA Clear RSSI Clears RSSI bits and restarts the measurement Yes No en DC Transparent Mode Amplitude of signal present on RFI inputs is measured, result is stored in A/D Converter Output Register No Yes en DD Calibrate Capacitive Sensor Calibrates capacitive sensor No Yes See note (4) DE Measure Capacitance Performs capacitor sensor measurement No Yes See note (5) DF Measure Power Supply - No Yes en E0 Start General Purpose Timer - Yes No en E1 Start Wake-Up Timer - Yes No All except wu E2 Start Mask Receive Timer - Yes No See note (6) E3 Start No-Response Timer - Yes No en, rx_en FA Clear Test Registers Clears all test registers. Must be sent as chained sequence "FCFA" Yes No All FC Test Access Enable /W to test registers Yes No All Command code (hex) D4 42/131 Command DS11793 Rev 4 ST25R3911B Functional overview Table 9. Direct commands (continued) Command code (hex) Command Other Fx - Other codes - Command chaining Interrupt after Termination Operation mode(1) Reserved for test - - - Not used - - - Comments 1. Defines the bits of the Operation Control Register that have to be set in order to accept a particular command. 2. After termination of this command I_cat or I_cac IRQ is sent. 3. This command is not accepted in case the external definition of the regulated voltage is selected in the Regulator Voltage Control Register (bit reg_s is set to high). 4. Accepted in all modes in case bit cs_mcal of the Capacitive Sensor Control Register is set to 0. It is recommended to execute this command in Power-down mode. 5. Accepted in all modes, it is recommended to execute this command in Power-down mode. 6. Accepted only in the Initial NFC Active Target Communication Mode. Set Default This direct command puts the ST25R3911B in the same state as power-up initialization. All registers are initialized to the default state. The only exceptions are for IO Configuration Register 1, IO Configuration Register 2 and Operation Control Register (not affected by Set Default command) that are set to default state only at power-up. Note: Results of different calibration and adjust commands are also lost. This direct command is accepted in all operating modes. In case this command is sent while en (bit 7 of the Operation Control Register) is not set FIFO and FIFO status registers are not cleared. Direct command chaining is not allowed since this command clears all registers. IRQ due to termination of direct command is not produced. Clear This direct command stops all current activities (transmission or reception), clears FIFO, clears FIFO status registers and stops all timers except Wake-Up timer. If bit nrt_emv in the General Purpose and No-Response Timer Control Register is set to 1, the No-Response timer is not stopped. If nfc_ar in the Mode Definition Register is set to 1, the internal timer for the Response RF Collision Avoidance is not stopped and the Response RF Collision Avoidance will take place once this timer epxires. Set nfc_ar to 0 prior to sending the direct command Clear to stop any Response RF Collision Avoidance activity too. It also clears collision and interrupt registers. This command has to be sent first in a sequence preparing a transmission before writing data to be transmitted in FIFO (except in case of direct commands Transmit REQA and Transmit WUPA). This command is accepted in case en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Direct command chaining is possible. IRQ due to termination of direct command is not produced. DS11793 Rev 4 43/131 72 Functional overview ST25R3911B Transmit commands All Transmit commands (Transmit With CRC, Transmit Without CRC, Transmit REQA and Transmit WUPA) are accepted only in case the transmitter is enabled (bit tx_en is set). Before sending commands Transmit With CRC and Transmit Without CRC direct command Clear has to be sent, followed by definition of number of transmitted bytes and writing data to be transmitted in FIFO. Direct commands Transmit REQA and Transmit WUPA are used to transmit ISO14443A commands REQA and WUPA respectively. Sending command Clear before these two commands is not necessary. The number of valid bits in the last byte must be set to zero (nbtx<2:0> in the Number of Transmitted Bytes Register 2) prior to executing Transmit REQA or Transmit WUPA. Direct command chaining is possible. IRQ due to termination of direct command is not produced. NFC Field ON commands These commands are used to perform the RF Collision Avoidance and switch the field on in case no collision was detected. The Collision Avoidance threshold defined in the External Field Detector Threshold Register is used to observe the RF_IN inputs and to determine whether there is some other device emitting the 13.56 MHz field, present close to the ST25R3911B antenna. In case collision is not detected the reader field is switched on automatically (bit tx_en in the Operation Control Register is set) and an IRQ with I_cat flag in Timer and NFC Interrupt Register is sent after minimum guard time defined by the NFCIP1 standard to inform the controller that message transmission using a Transmit command can be initiated. In case a presence of external field is detected an IRQ with I_cac flag is sent. In such case a transmission cannot be performed, NFC Field ON command has to be repeated as long as collision is not detected anymore. Command NFC Initial Field ON performs Initial Collision Avoidance according to NFCIP-1 standard; number n is defined by bits nfc_n1 and nfc_n0 in Auxiliary Definition Register. Command NFC Response Field ON performs Response Collision Avoidance according to NFCIP-1 standard; number n is defined by bits nfc_n1 and nfc_n0 in Auxiliary Definition Register. Command NFC Response Field ON with n=0 performs Response Collision Avoidance where n is 0. Implemented active delay time is on lower NFCIP-1 specification limit, since the actual active delay time will also include detection of the field deactivation, controller processing delay and sending the NFC Field ON command. This command is accepted in case en (bit 7 of the Operation Control Register) is set and both Xtal oscillator frequency and amplitude are stable. 44/131 DS11793 Rev 4 ST25R3911B Functional overview Figure 19. Direct command NFC Initial Field ON 5)RQ 75): 6WDUW 7,'7 Q[75): 7,5)* 069 Figure 20. Direct command NFC Response Field ON 5)RQ 75): 6WDUW 7$'7 Q[75): 7$5)* 069 Table 10. Timing parameters of NFC Field ON commands Symbol Parameter Value TIDT Initial delay time 4096 TRWF RF waiting time 512 TIRFG Initial guard time >5 TADT Active delay time 768 TARFG Active guard time 1024 Unit /fc Comments NFC Initial Field ON - ms NFC Initial Field ON /fc NFC Response Field ON Go to Normal NFC Mode This command is used to transition from NFC target bit rate detection mode to normal mode. Additionally it copies the content of the NFCIP Bit Rate Detection Display Register to the Bit Rate Definition Register and correctly sets the bit tr_am in the Auxiliary Definition Register. Analog Preset This command is used to preset receiver and transmitter configuration based on state of Mode Definition Register and Bit Rate Definition Register. In case of Sub-carrier bit stream or BPSK bit stream mode, this command should not be used. The list of configuration bits that are preset is given in Table 11. DS11793 Rev 4 45/131 72 Functional overview ST25R3911B Table 11. Register preset bits Bit Bit name Function Address 02h: Table 20: Operation Control Register 5 rx_chn 1: one channel enabled NFCIP-1 active communication (both initiator and target) 3 tx_en 0: disable TX operation NFCIP-1 active communication (both initiator and target) Note: In case of any target mode or NFCIP-1 initiator mode bit tx_en is set to 0 to disable transmitter in case it was enabled. In NFCIP-1 mode the switching on of the transmitter field is controlled by dedicated commands. Address 05h: Table 26: ISO14443A and NFC 106kb/s Settings Register 5 nfc_f0 1: Adds SB (F0) and LEN byte during Tx and skip SB (F0) byte during TX NFCIP-1 active communication (both initiator and target) Address 09h: Table 34: Auxiliary Definition Register 5 4 tr_am Tx Modulation type (depends on mode definition and Tx bit rate) 0: OOK ISO144443A, NFCIP-1 106 kb/s (both initiator and target), NFC Forum Type 1 Tag 1: AM ISO144443B, FeliCaTM, NFCIP-1 212 kb/s and 424 kb/s en_fd Enables External Field Detector with Peer Detection threshold 0: All modes except NFCIP-1 active communication 1: NFCIP-1 active communication (both initiator and target) Address 0Ah: Table 35: Receiver Configuration Register 1 7 6 ch_sel 0: Enables AM channel NFCIP-1 active communication (both initiator and target) AM demodulator select (depend on Rx bit rate) amd_sel 0: Peak detector All Rx bit rates equal or below fc/16 (848 kb/s) 1: Mixer All VHBR Rx bit rates (fc/8 and fc/4) 5 lp2 4 lp1 3 lp0 2 h200 1 h80 0 z12k Low pass control (depends on mode definition and Rx bit rate), see Table 3: Receiver filter selection and gain range First and third stage zero setting (depends on mode definition and Rx bit rate), see Table 3: Receiver filter selection and gain range Address 0Ch: Table 37: Receiver Configuration Register 3 1 0 lim Clips output of 1st and 2nd stage 0: All modes except NFCIP-1 active communication 1: NFCIP-1 active communication (both initiator and target) rg_nfc Forces gain reduction in 2nd and 3rd gain stage 0: All modes except NFCIP-1 active communication 1: NFCIP-1 active communication (both initiator and target) Mask Receive Data and Unmask Receive Data After the direct command Mask Receive Data the signal rx_on that enables the RSSI and AGC operation of the receiver (see Section 1.1.2: Receiver) is forced to low, processing of 46/131 DS11793 Rev 4 ST25R3911B Functional overview the receiver output by the receive data framing block is disabled. This command is useful to mask receiver and receive framing from processing the data when there is actually no input and only a noise would be processed (for example in case where a transponder processing time after receiving a command from the reader is long). Masking of receive is also possible using Mask Receive timer. Actual masking is a logical or of the two mask receive processes. The direct command Unmask Receive Data is enabling normal processing of the received data (signal rx_on is set high to enable the RSSI and AGC operation), the receive data framing block is enabled. A common use of this command is to enable again the receiver operation after it was masked by the command Mask Receive Data. In case Mask Receive timer is running while command Unmask Receive Data is received, reception is enabled, Mask Receive timer is reset. The commands Mask Receive Data and Unmask Receive Data are only accepted when the receiver is enabled (bit rx_en is set). Direct command chaining is possible. IRQ due to termination of direct command is not produced. Measure Amplitude This command measures the amplitude on the RFI inputs and stores the result in the A/D Converter Output Register. When this command is executed the transmitter and Amplitude Detector are enabled, the output of the Amplitude Detector is multiplexed to the A/D converter input (the A/D converter is in absolute mode). The Amplitude Detector conversion gain is 0.6 VINPP/ VOUT. One LSB of the A/D converter output represents 13.02 mVpp on the RFI inputs. A 3 Vpp signal (the maximum allowed level on each of the two RFI inputs), results in 1.8 V output DC voltage and will produce a value of 1110 0110b on the A/D converter output. Duration time: 25 s max. This command is accepted in case en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Direct command chaining is not possible. IRQ due to termination of direct command is produced after command execution is terminated. Squelch This direct command is intended to avoid demodulation problems of transponders that produce a lot of noise during data processing. It can also be used in a noisy environment. The operation of this command is explained in Squelch. Duration time: 500 s max. This command is only accepted when the transmitter and the receiver are operating. Command is actually executed only in case signal rx_on is low. Direct command chaining is not possible. IRQ due to termination of direct command is not produced. DS11793 Rev 4 47/131 72 Functional overview ST25R3911B Reset Rx Gain This command initializes the AGC, Squelch and RSSI block. Sending this command stops a squelch process in case it is going on, clears the current Squelch setting and loads the manual gain reduction from Receiver Configuration Register 4. This command is accepted in case en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Direct command chaining is possible. IRQ due to termination of direct command is not produced. Adjust Regulators When this command is sent the power supply level of VDD is measured in maximum load conditions and the regulated voltage reference is set 250 mV below this measured level to ensure maximum possible stable regulated supply (see Section 1.2.11: Power supply system). The use of this command increases the system PSSR. At the beginning of execution of the command, both the receiver and transmitter are switched on to have the maximum current consumption, and the regulators are set to their maximum regulated voltage (5.1 V in case of 5 V supply and 3.4 V in case of 3.3 V supply). After 300 s VSP_RF is compared to VDD, if is not at least 250 mV lower the regulator setting is reduced by one step (120 mV in case of 5 V supply and 100 mV in case of 3.3 V supply) and measurement is done after another 300 s. The procedure is repeated until VSP_RF drops at least 250 mV below VDD, or until the minimum regulated voltage (3.9 V in case of 5 V supply and 2.4 V in case of 3.3 V supply) is reached. Duration time: 5 ms max. This command is accepted if en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. This command is not accepted when the external definition of the regulated voltage is selected in the Regulator Voltage Control Register(bit reg_s is set to H). Direct command chaining is not possible. IRQ due to termination of direct command is produced after command execution is terminated. Calibrate Modulation Depth Starts a sequence that activates the transmission, measures the modulation depth and adapts it to comply with the modulation depth specified in the AM Modulation Depth Control Register. When calibration procedure is finished result is displayed in the same register. Refer to Section 1.2.20: AM modulation depth: definition and calibration for details about setting the AM modulation depth and running this command. Duration time: 275 s max. This command is accepted when en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Direct command chaining is not possible. IRQ due to termination of direct command is produced after command execution is terminated. 48/131 DS11793 Rev 4 ST25R3911B Functional overview Calibrate Antenna Sending this command starts a sequence that adjusts the parallel capacitances connected to TRIMx_y pins so that the antenna LC tank is in resonance. See Section 1.2.21: Antenna tuning for details. Duration time: 250 s max. This command is accepted when en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Measure Phase This command measures the phase difference between the signals on the RFO outputs and the signals on the RFI inputs and stores the result in the A/D Converter Output Register. During execution of the direct command Measure Phase the transmitter and Phase Detector are enabled, the Phase Detector output is multiplexed on the input of A/ D converter, which is set in relative mode. Since the A/D converter range is from 1/6 VSP_A to 5/6 VSP_A the actual phase detector range is from 30 to 150. Values below 30 result in FFh, while values above 150 result in 00h. One LSB of the A/D conversion output represents 0.13% of carrier frequency period (0.468). The result of A/D conversion is in case of 90 phase shift in the middle of range (1000 0000b or 0111 1111b). A value higher than 1000 0000b means that phase detector output voltage is higher than VSP_A/2, which corresponds to case with phase shift lower than 90. In the opposite case, when the phase shift is higher than 90, the result of A/D conversion is lower than 0111 1111b. For example, the phase difference of 135 shown in Figure 7 results in 0.75 VSP_A, result stored in A/D converter is 31d (1Fh). The phase measurement result can be calculating using the following formulas: * 0 30: result = 255 (decimal) * 30 < < 150: angle (in ) = 30 + [(255 - u_angle) / 255) * 120] * 150 180: result = 0 (decimal) Duration time: 25 s max. This command is accepted in case en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Direct command chaining is not possible. IRQ due to termination of direct command is produced after command execution is terminated. Clear RSSI The receiver automatically clears the RSSI bits in the RSSI Display Register and starts to measure the RSSI of the received signal when the signal rx_on is asserted. Since the RSSI bits store peak value (peak-hold type) the variations of the receiver input signal will not be followed (this may happen in case of long messages or test procedures). The direct command Clear RSSI clears the RSSI bits in the RSSI Display Register, and the RSSI measurement is restarted (in case, of course, rx_on is still high). This command is accepted in case en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Direct command chaining is possible. IRQ due to termination of direct command is not produced. DS11793 Rev 4 49/131 72 Functional overview ST25R3911B Transparent Mode Enters in the Transparent mode. The Transparent mode is entered on the rising edge of signal /SS and is maintained as long as signal /SS is kept high. This command is accepted when en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Calibrate Capacitive Sensor This command calibrates the Capacitive Sensor. See Section 1.1.5: Capacitive sensor for more details. Duration time: 3 ms max. This command is executed in case capacitive sensor automatic calibration mode is set (all bits cs_mcal in the Capacitive Sensor Control Register are set to 0). In order to avoid interference with Xtal oscillator and reader magnetic field, it is strongly recommended to use this command in Power-down mode only. Direct command chaining is not possible. IRQ due to termination of direct command is produced after command execution is terminated. Measure Capacitance This command performs the capacitance measurement. See Section 1.1.5: Capacitive sensor for more details. Duration time: 250 s max. In order to avoid interference with Xtal oscillator and reader magnetic field it is strongly recommended to use this command in Power-down mode only. Direct command chaining is not possible. IRQ due to termination of direct command is produced after command execution is terminated. Measure Power Supply This command performs the power supply measurement. Configuration bits mpsv1 and mpsv0 of the Regulator Voltage Control Register define which power supply is measured (VDD,VSP_A, VSP_D and VSP_RF can be measured). Result of measurement is stored in the A/D Converter Output Register. During the measurement the selected supply input is connected to a 1/3 resistive divider, whose output is multiplexed to A/D converter in absolute mode. Due to division by 3, one LSB represents 23.438 mV. Duration time: 25 s max. This command is accepted in case en (bit 7 of the Operation Control Register) is set and Xtal oscillator frequency is stable. Direct command chaining is not possible. IRQ due to termination of direct command is produced after command execution is terminated. 50/131 DS11793 Rev 4 ST25R3911B 1.2.14 Functional overview Start timers See Section 1.2.7: Timers on page 25. 1.2.15 Test access The ST25R3911B does not contain any dedicated test pins. A direct command Test Access is used to enable RW access of test registers and entry in different test modes. Pins CSI and CSO are used as test pins. Test mode entry and access to test registers Test registers are not part of normal SPI register address space. After sending a direct command Test Access, test registers can be accessed using normal Read/Write register SPI command. Access to test registers is possible in a chained command sequence where first command Test Access is sent, followed by read/write access to test registers using auto increment feature. After SPI interface reset (SS toggle) the content of test registers is kept. Test register are set to default state at power-up and by sending the command Clear Test Registers. Table 12. Analog Test and Observation Register Test Address 01h: Analog Test and Observation Register - Type: RW Bit Name Default Function Comments 7 tana_7 0 - Reserved 6 tana_6 0 - Reserved 5 tana_5 0 - Reserved 4 - 0 Not used - 3 tana_3 0 2 tana_2 0 1 tana_1 0 See Table 13 0 tana_0 0 These test modes are also intended for observation in normal mode. Other modes of this register are also available when analog test mode is not set. Table 13. Test Access Register - Tana signal selection of CSI and CSO pins Tana_ Pin CSI Pin CSO Comments 3 2 1 0 Type Functionality Type Functionality 0 0 0 1 AO Analog output of AM channel (before digitizer) DO Digital output of AM channel (after digitizer) Normal operation 0 0 1 0 AO Analog output of PM channel (before digitizer) DO Digital output of PM channel (after digitizer) Normal operation 0 0 1 1 AO Analog output of AM channel (before digitizer) AO Analog output of PM Normal operation channel (before digitizer) 0 1 0 0 DO Digital output of AM channel (after digitizer) DO Digital output of PM channel (after digitizer) DS11793 Rev 4 Normal operation 51/131 72 Functional overview ST25R3911B Table 13. Test Access Register - Tana signal selection of CSI and CSO pins (continued) Tana_ Pin CSI Pin CSO Comments 3 2 1 0 Type 0 1 0 1 AO Analog signal after first stage AO Analog signal after second stage Normal operation: - PM channel if enabled - AM if PM is not enabled 1 0 0 1 DO Channel selection from logic DO Collision Avoidance detector output Collision Avoidance detectors are enabled 1 0 1 0 DO Digital TX modulation signal DO Select PM Analog part of channel selection 0 0 0 1 AO Analog output of AM channel (before digitizer) DO Digital output of AM channel (after digitizer) Normal operation 1.2.16 Functionality Type Functionality Power-up sequence At power-up, the ST25R3911B enters the Power-down mode. The content of all registers is set to the default state. 1.2.17 1. The microcontroller, after a power-up, must correctly configure the two IO configuration registers. The content of these two registers defines operation options related to hardware (power supply mode, Xtal type, use of MCU_CLK clock, antenna operation mode). 2. Configure the regulators. It is recommended to use direct command Adjust Regulators to improve the system PSRR. 3. When implementing the LC tank tuning, send the direct command Calibrate Antenna. 4. When using the AM modulation (ISO-14443B for example), set the modulation depth in the AM Modulation Depth Control Register and send the command Calibrate Modulation Depth. 5. The ST25R3911B is now ready to operate. Reader operation To begin with, the operation mode and data rate have to be configured by writing the Mode Definition Register and Bit Rate Definition Register. Additionally, the receiver and transmitter operation options related to operation mode have to be defined. This is done automatically by sending the direct command Analog Preset. If more options are required apart from those defined by Analog Preset, then such options must be additionally set by writing the appropriate registers. Next, the Ready mode has to be entered by setting the bit en of the Operation Control Register. In this mode the oscillator is started and the regulators are enabled. When the oscillator operation is stable, an interrupt is sent. Before sending any command to a transponder, the transmitter and receiver have to be enabled by setting the bits rx_en and tx_en. RFID protocols usually require that the reader field is turned on for a while before sending the first command (5 ms for ISO14443). General purpose timer can be used to measure this time interval. If REQA or WUPA have to be sent, this is simply done by sending the appropriate direct command, otherwise the following sequence has to be followed: 52/131 DS11793 Rev 4 ST25R3911B Functional overview 1. Send the direct command Clear 2. Define the number of transmitted bytes in the Number of Transmitted Bytes Register 1 and Number of Transmitted Bytes Register 2 3. Write the bytes to be transmitted in the FIFO 4. Send the direct command Transmit With CRC or Transmit Without CRC (whichever is appropriate) 5. When all the data is transmitted an interrupt is sent to inform the microcontroller that the transmission is finished (IRQ due to end of transmission) After the transmission is executed, the ST25R3911B receiver automatically starts to observe the RFI inputs to detect a transponder response. The RSSI and AGC (when enabled) start. The framing block processes the sub-carrier signal from receiver and fills the FIFO with data. When the reception is finished and all the data is in the FIFO an interrupt is sent to the microcontroller (IRQ due to end of receive), additionally the FIFO Status Register 1 and FIFO Status Register 2 display the number of bytes in the FIFO so that the microcontroller can proceed with data download. In case of an error or bit collision detected during reception, an interrupt with appropriate flag is sent. Transmit and Receive when the data packet is longer than FIFO In case a data packet is longer than FIFO the sequence explained above is modified. Before transmit the FIFO is filled. During transmit an interrupt is sent when remaining number of bytes is lower than the water level (IRQ due to FIFO water level). The microcontroller in turn adds more data in the FIFO. When all the data is transmitted an interrupt is sent to inform the microcontroller that transmission is finished. During reception situation is similar. In case the FIFO is loaded with more data than the receive water level, an interrupt is sent and the microcontroller in turn reads the data from the FIFO. When reception is finished an interrupt is sent to the microcontroller (IRQ due to end of receive), additionally the FIFO Status Register 1 and FIFO Status Register 2 display the number of bytes in the FIFO that are still to be read out. Anticollision - ISO 14443A Note: For this section, it is assumed that there is more than one ISO/IEC 14443A PICC in the reader RF field, and all of them are compatible with ISO/IEC 14443 up to level 4. This section describes the anticollision procedure of ST25R3911B for ISO14443A tags. After an ISO14443 type A tag enters in the reader field, the reader has to perform a selection process that brings it into the PROTOCOL state in which the actual application implemented in the tag can be executed. This selection process is described in the ISO/IEC 14443-3. Figure 21 shows the states that a tag and a reader have to pass through to enter the protocol state. The selection procedure starts when a PICC enters the reader field and the PCD sends a REQA (or WUPA) command followed by an anticollision procedure (including SELECT, RATS and PPS). DS11793 Rev 4 53/131 72 Functional overview ST25R3911B Figure 21. ISO14443A states for PCD and PICC 3,&&VWDWHV 3&'VWDWHV 3RZHURII QRILHOG 6WDQGE\ 3ROOIRU3,&& ZLWK5(4$ ,GOH ILHOG21 5HFHLYH$74$ 5HDG\ 3HUIRUPELWIUDPH DQWLFROOLVLRQORRS $FWLYH &KHFN6$. ,QFUHDVH &DVFDGHOHYHO 8,'QRWFRPSOHWH 8,'FRPSOHWHDQG3,&& FRPSOLDQWZLWK,62 ,62 ,62 069 Setting up the ST25R3911B for ISO 14443A anticollision To set up the ST25R3911B for the ISO14443A anticollision follow the steps indicated below. Note: 1. The Initiator operation mode of ST25R3911B must be set up for ISO 14443A in the Mode Definition Register (default is already for ISO14443A). 2. The Tx and Rx bit rates must be set to default (106 kbps) in the Bit Rate Definition Register. 3. Set the antcl bit in the ISO14443A and NFC 106kb/s Settings Register. This needs to be set before sending the REQA (or WUPA). As a result, the ST25R3911B will not trigger a framing error if in case the collision occurs in the ATQA or during anticollision procedure. This bit must be set to one for REQA, WUPA and ANTOCOLLISION commands, for other commands it has to be zero. 4. 54/131 Review and set a value for Mask Receive Timer Register lower than the Frame delay time, as required by the ISO14443A., and set the No-Response Timer Register 1 and No-Response Timer Register 2 according to the requirements. This is typically larger than the FDT. DS11793 Rev 4 ST25R3911B Note: Functional overview ST25R3911B offers the resolution of n/2 (64/fc - half steps) compared to n (128/fc) as mentioned in ISO 14443A so that the receiver can be unmasked n/2 steps before the actual transmission from the PICC. 5. According to ISO 14443A the FDT must be 1236/fc if last transmitted bit is 1, or 1172/fc if last transmitted bit is 0. Figure 22 shows an example of how MRT and NRT timers are set for a given FDT. Figure 22. Selection of MRT and NRT for a given FDT )'7 3&'WR3,&& 3,&&WR3&' 057)'7IF 15(!)'7IF 069 6. The receiver and transmitter operation options related to operation mode must be defined. This is done automatically by sending the direct command Analog Preset. If different options are required apart from those defined by Analog Preset, they must be additionally set by writing the appropriate registers. 7. Set rx_en and tx_en in the Operation Control Register. RFID protocols usually require that the reader field is turned on for a while before sending the first command (5 ms for ISO14443). General purpose timer can be used to count this time. 8. The reply from PICC for the REQA, WUPA, and replies within anticollision sequence before SAK do not contain CRC. In this case the no_CRC_rx bit in the Auxiliary Definition Register must be set to 1 (receive without CRC) before sending these commands. REQA and WUPA Sending these two commands is simple since they are implemented as direct commands (Transmit REQA and Transmit WUPA). The end of transmission of these commands is signaled to microcontroller by an interrupt - IRQ due to end of transmission). After the transmission is executed, the ST25R3911B receiver automatically starts to observe the RFI inputs to detect a transponder after the expiration of the Mask Receive timer. As a response to REQA (or WUPA) all the PICC in the field respond simultaneously with an ATQA. A collision can occur in this state if there are PICC with different UID size or has the bit frame anticollision bits set differently. Hence it is important to set the antcl bit to 1. If there is any IRQ (except I_nre) that ST25R3911B signals, the microcontroller must consider as a valid presence of tag and must proceed with the anticollision procedure. If more than one PICC is expected in the field, the following algorithm must be used to select multiple tags: DS11793 Rev 4 55/131 72 Functional overview ST25R3911B 1. Send REQA, if there is any answer continue 2. Perform anticollision, and select one PICC 3. Send HLTA to move the selected PICC to the HALT state 4. Go to step 1, and repeat this procedure until all the PICCs are in HALT state and all the UIDs have been extracted. Anticollision procedure After receiving the ATQA from the tags in the field, the next step is to execute the anticollision procedure to resolve the IDs of the tags. The procedure mainly uses the ANTICOLLISION and SELECT commands, which consist of: * Select code SEL (1 byte) * Number of valid bits NVB (1 byte) * 0 to 40 data bits of UID CLn according to the value of NVB The ANTICOLLISION command uses bit oriented anticollision frame (it does not use CRC). In this case the transmit needs to be done with direct command Transmit Without CRC and for the receive, the no_CRC_rx bit in the Auxiliary Definition Register must be set to 1. The final SELECT command and its response SAK contains a CRC, so the transmit needs to be done with command Transmit With CRC and before sending this command the configuration bit no_CRC_rx bit in the Auxiliary Definition Register must be set back to 0. If there is more than one PICC in the field, the collision will occur when the tags reply to the ANTICOLLISION command during anticollision, when the PICCs reply back with their UID. This collision can occur after a complete byte (Full byte scenario) or it can occur within a byte (Split byte scenario). The antcl bit in ISO14443A and NFC 106kb/s Settings Register must be set during this procedure too. As a result, the ST25R3911B will not trigger a Framing Error. This bit is also responsible for correct timing of anticollision and correct parity extraction. Note: It must only be set before sending an anticollision frame, REQA or WUPA. This bit must not be used in any other commands. Figure 23 shows how to implement the anticollision with ST25R3911B. Since SPI is byte oriented, in case of Split byte scenario, the invalid MSB bits must be ignored when reading out the FIFO for the received data. Similarly, 0s must be concatenated as MSB bits to complete a byte for the Transmit (which will then be ignored based on register 0x1E). 56/131 DS11793 Rev 4 ST25R3911B Functional overview Figure 23. Flowchart for ISO14443A anticollision with ST25R3911B 6(/Q [IRUQ IRUE\WHV8,' &DVFDGHOHYHOQ Q 6(/Q [IRUQ IRUE\WHV8,' 6(/Q [IRUQ IRUE\WHV8,' )LOO),)2ZLWK6(/Q19% [ 6HWUHJLVWHUV 1XPEHURIWUDQVPLWWHGE\WHVUHJLVWHU [ 1XPEHURIWUDQVPLWWHGE\WHVUHJLVWHU [ 6HQGFRPPDQG7UDQVPLWZLWKRXW&5& ([SHFWHGLQWHUUXSWV ,BW[H ,BFRO LIFROOLVLRQRFFXUV ,BU[V ,BU[H ),)2LVILOOHGLQZLWK3,&&UHVSRQVH 1R 5HDG),)2IRUWKHYDOLGGDWD IURPWKHVHOHFWHG3,&& ,BFRORFFXUHG" fc/128 0 0 80/fs 80/fs 0 1 64/fs 32/fs 1 0 Not used Not used 1 1 Not used Not used DS11793 Rev 4 83/131 117 ST25R3911B 1.3.9 Stream Mode Definition Register Address: 08h Type: RW Table 31. Stream Mode Definition Register(1) Bit Name 7 Default Function Comments 0 - - 6 scf1 0 5 scf0 0 4 scp1 0 3 scp0 0 2 stx2 0 1 stx1 0 0 stx0 Sub-carrier frequency definition for Subcarrier and BPSK stream mode Refer to Table 32 scp1 scp0 Number of pulses 0 0 1 (BPSK only) 0 1 2 1 0 4 1 1 8 Number of sub-carrier pulses in report period for Sub-carrier and BPSK stream mode Definition of time period for Tx modulator control (for Sub-carrier and BPSK stream mode) Refer to Table 33 1. Default setting takes place at power-up and after Set Default command. Table 32. Sub-carrier frequency definition for Sub-Carrier and BPSK Stream Mode scf1 scf0 Sub-Carrier Mode BPSK Mode 0 0 fc/64 (212 kHz) fc/16 (848 kHz) 0 1 fc/32 (424 kHz) fc/8 (1695 kHz) 1 0 fc/16 (848 kHz) fc/4 (3390 kHz) 1 1 fc/8 (1695 kHz) Not used Table 33. Definition of time period for Stream Mode Tx Modulator Control 84/131 stx2 stx1 stx0 Time period 0 0 0 fc/128 (106 kHz) 0 0 1 fc/64 (212 kHz) 0 1 0 fc/32 (424 kHz) 0 1 1 fc/16 (848 kHz) 1 0 0 fc/8 (1695 kHz) 1 0 1 fc/4 (3390 kHz) 1 1 0 fc/2 (6780 kHz) 1 1 1 Not used DS11793 Rev 4 ST25R3911B 1.3.10 Auxiliary Definition Register Address: 09h Type: RW Table 34. Auxiliary Definition Register(1) Bit Name Default 7 no_crc_rx 0 1: Receive without CRC 6 crc_2_fifo 0 1: Make CRC check, but put CRC bytes in FIFO and add Needed for EMV compliance them to number of receive bytes 5 tr_am 0 0: OOK 1: AM Set automatically by command Analog Preset, can be modified by register write, has to be defined for transparent and bit stream mode Tx 4 en_fd 0 1: Enable External Field Detector External Field Detector with Peer Detection threshold is activated. Preset for NFCIP-1 active communication mode 3 ook_hr 0 1: Put RFO driver in tristate during OOK modulation Valid for all protocols using OOK modulation (also in transparent mode) 1: BPSK fc/32: more tolerant BPSK decoder for bit rate fc/32, ISO14443A fc/128, NFCIP-1 fc/128: more tolerant processing of first byte - - Value of n for direct commands NFC Initial Field ON and NFC Response Field ON (0 ... 3) 2 rx_tol 1 1 nfc_n1 0 0 nfc_n0 0 Function Comments Valid for all protocols, for ISO14443A REQA, WUPA and anticollision receive without CRC is done automatically(2) 1. Default setting takes place at power-up and after Set Default command. 2. Receive without CRC is done automatically when REQA and WUPA commands are sent using direct commands Transmit REQA and Transmit WUPA, respectively, and in case anticollision is performed setting bit antcl. DS11793 Rev 4 85/131 117 ST25R3911B 1.3.11 Receiver Configuration Register 1 Address: 0Ah Type: RW Table 35. Receiver Configuration Register 1(1) Bit Name Default Function Comments 7 ch_sel 0 0: Enable AM channel 1: Enable PM channel In case only one Rx channel is enabled in the Operation Control Register it defines which channel is enabled. In case both channels are enabled and manual channel selection is active, it defines which channel is used for receive framing. 6 amd_sel 0 0: Peak detector 1: Mixer AM demodulator type select, VHBR automatic preset to mixer 5 lp2 0 4 lp1 0 3 lp0 0 2 h200 0 1 h80 0 0 z12k 0 Low pass control (see Table 2) For automatic and other recommended filter settings, refer to Table 3. First and third stage zero setting (see Table 1) 1. Default setting takes place at power-up and after Set Default command. 86/131 DS11793 Rev 4 ST25R3911B 1.3.12 Receiver Configuration Register 2 Address: 0Bh Type: RW Table 36. Receiver Configuration Register 2(1) Bit Name Default Function Comments 7 rx_lp 0 1: Low power receiver operation - 6 lf_op 0 0: Differential LF operation 1: LF input split (RFI1 to AM channel, RFI2 to PM channel) - 5 lf_en 0 1: LF signal on receiver input - 4 agc_en 1 1: AGC is enabled - - 3 agc_m 1 0: AGC operates on first eight sub-carrier pulses 1: AGC operates during complete receive period 2 agc_alg 0 0: Algorithm with preset is used 1: Algorithm with reset is used Algorithm with preset is recommended for protocols with short SOF (like ISO14443A fc/128) 1 sqm_dyn 1 1: Automatic squelch activation after end of Tx Squelch is started 18.88 s after end of Tx, and stopped when Mask Receive Timer expires 0 pmix_cl 0 0: RFO 1: Internal signal PM demodulator mixer clock source, in single mode internal signal is always used 1. Default setting takes place at power-up and after Set Default command. DS11793 Rev 4 87/131 117 ST25R3911B 1.3.13 Receiver Configuration Register 3 Address: 0Ch (1st stage gain settings) Type: RW Table 37. Receiver Configuration Register 3(1) Bit Name Default 7 rg1_am2 1 6 rg1_am1 1 5 rg1_am0 0 4 rg1_pm2 1 3 rg1_pm1 1 2 rg1_pm0 0 1 lim 0 1: Clip output of 1st and 2nd stage Signal clipped to 0.6 V, preset for NFCIP-1 active communication mode 0 1: Forces gain reduction in 2nd and 3rd gain stage to -6 dB and maximum comparator window Preset for NFCIP-1 active communication mode. After clearing this bit, receiver must be restarted. 0 rg_nfc Function Comments 0: Full gain Gain reduction/boost in first gain 1-6: Gain reduction 2.5 dB per step (15 dB total) stage of AM channel. 7: Boost +5.5 dB 0: Full gain Gain reduction/boost in first gain 1-6: Gain reduction 2.5 dB per step (15 dB total) stage of PM channel. 7: Boost +5.5 dB 1. Default setting takes place at power-up and after Set Default command. 1.3.14 Receiver Configuration Register 4 Address: 0Dh (2nd and 3rd stage gain settings) Type: RW Table 38. Receiver Configuration Register 4(1)(2) Bit Name Default 7 rg2_am3 0 6 rg2_am2 0 5 rg2_am1 0 4 rg2_am0 0 3 rg2_pm3 0 2 rg2_pm2 0 1 rg2_pm1 0 0 rg2_pm0 0 Function Comments AM channel: Gain reduction in second and third stage and digitizer Only values from 0h to Ah are used: - settings 1h to 4h reduce gain by increasing the digitizer window in 3dB steps - values from 5h to Ah additionally reduce the gain in 2nd and 3rd gain stage, always in 3 dB steps. PM channel: Gain reduction in second and third stage and digitizer Only values from 0h to Ah are used: - settings 1h to 4h reduce gain by increasing the digitizer window in 3dB steps - values from 5h to Ah additionally reduce the gain in 2nd and 3rd gain stage, always in 3 dB steps. 1. Default setting takes place at power-up and after Set Default command. 2. Sending of direct command Reset Rx Gain is necessary to load the value of this register into AGC, Squelch, and RSSI block. 88/131 DS11793 Rev 4 ST25R3911B 1.3.15 Mask Receive Timer Register Address: 0Eh Type: RW Table 39. Mask Receive Timer Register(1)(2) Bit Name Default 7 mrt7 0 6 mrt6 0 5 mrt5 0 4 mrt4 0 3 mrt3 1 2 mrt2 0 1 mrt1 0 0 mrt0 0 Function Defined in steps of 64/fc (4.72 s). Range from 256/fc (~18.88 s) to 16320/fc (~1.2 ms) Timeout = mrt<7:0> * 64/fc Timeout (0 mrt<7:0> 4) = 4 * 64/fc (18.88 s) In NFCIP-1 bit rate detection mode one step is 512/fc (37.78 s) Comments Defines time after end of Tx during which receiver output is masked (ignored). For the case of ISO14443A 106 kbit/s the Mask Receive timer is defined according to PCD to PICC frame delay time definition, where bits mrt<7:0> define the number of n/2 steps. Minimum mask receive time of 18.88 s covers the transients in receiver after end of transmission. 1. Default setting takes place at power-up and after Set Default command. 2. In NFCIP-1 bit rate detection mode, the clock of the Mask Receive timer is additionally divided by eight (one count is 512/fc) to cover range up to ~9.6 ms. DS11793 Rev 4 89/131 117 ST25R3911B 1.3.16 No-Response Timer Register 1 Address: 0Fh Type: RW Table 40. No-Response Timer Register 1(1) Bit Name Default 7 nrt15 0 6 nrt14 0 5 nrt13 0 4 nrt12 0 3 nrt11 0 2 nrt10 0 1 nrt9 0 0 nrt8 0 Function Comments Defines timeout after end of Tx. In case this timeout expires without detecting a response a No-Response interrupt is sent. In NFC mode the No-Response timer is started Defined in steps of 64/fc (4.72 s). only when external field is detected. In the NFCIP-1 active communication mode the Range from 0 to 309 ms No-Response timer is automatically started when the transmitter is turned off after the message has If bit nrt_step in General Purpose been sent and No-Response Timer Control Register is set the step is changed All 0: No-Response timer is not started. No-Response timer is reset and restarted with to 4096/fc Start No-Response Timer direct command. No-Response timer definition MSB bits 1. Default setting takes place at power-up and after Set Default command. 1.3.17 No-Response Timer Register 2 Address: 10h Type: RW Table 41. No-Response Timer Register 2(1) Bit Name Default 7 nrt7 0 6 nrt6 0 5 nrt5 0 4 nrt4 0 3 nrt3 0 2 nrt2 0 1 nrt1 0 0 nrt0 0 Function No-Response timer definition LSB bits 1. Default setting takes place at power-up and after Set Default command. 90/131 DS11793 Rev 4 Comments - ST25R3911B 1.3.18 General Purpose and No-Response Timer Control Register Address: 11h Type: RW Table 42. General Purpose and No-Response Timer Control Register(1) Bit Name Default 7 gptc2 0 Function Comments - Defines the timer trigger source. Refer to Table 43. 6 gptc1 0 - 5 gptc0 0 4 - 0 - - 3 - 0 - - 2 - 0 - - 1 nrt_emv 0 1: EMV mode of No-Response timer - 0 nrt_step 0 0: 64/fc 1: 4096/fc - Selects the No-Response timer step. 1. Default setting takes place at power-up and after Set Default command. Table 43. Timer Trigger Source gptc2 gptc1 gptc0 Trigger source 0 0 0 No trigger source, start only with direct command Start General Purpose Timer. 0 0 1 End of Rx (after EOF) 0 1 0 Start of Rx 0 1 1 End of Tx in NFC mode, when General Purpose Timer expires the field is switched off 1 0 0 1 0 1 1 1 0 1 1 1 Not used DS11793 Rev 4 91/131 117 ST25R3911B 1.3.19 General Purpose Timer Register 1 Address: 12h Type: RW Table 44. General Purpose Timer Register 1(1) Bit Name Default 7 gpt15 - 6 gpt14 - 5 gpt13 - 4 gpt12 - 3 gpt11 - 2 gpt10 - 1 gpt9 - 0 gpt8 - Function Comments General purpose timeout definition MSB bits Defined in steps of 8/fc (590 ns) Range from 590 ns to 38,7 ms - 1. Default setting takes place at power-up and after Set Default command. 1.3.20 General Purpose Timer Register 2 Address: 13h Type: RW Table 45. General Purpose Timer Register 2(1) Bit Name Default 7 gpt7 - 6 gpt6 - 5 gpt5 - 4 gpt4 - 3 gpt3 - 2 gpt2 - 1 gpt1 - 0 gpt0 - Function Comments General purpose timeout definition LSB bits Defined in steps of 8/fc (590 ns) Range from 590 ns to 38,7 ms - 1. Default setting takes place at power-up and after Set Default command. 92/131 DS11793 Rev 4 ST25R3911B 1.3.21 Mask Main Interrupt Register Address: 14h Type: RW Table 46. Mask Main Interrupt Register(1) Bit Name Default Function Comments 7 M_osc 0 1: Mask IRQ when oscillator frequency is stable - 6 M_wl 0 1: Mask IRQ due to FIFO water level - 5 M_rxs 0 1: Mask IRQ due to start of receive - 4 M_rxe 0 1: Mask IRQ due to end of receive - 3 M_txe 0 1: Mask IRQ due to end of transmission - 2 M_col 0 1: Mask IRQ due to bit collision - 1 - 0 0 - 0 - Not used - 1. Default setting takes place at power-up and after Set Default command. 1.3.22 Mask Timer and NFC Interrupt Register Address: 15h Type: RW Table 47. Mask Timer and NFC Interrupt Register(1) Bit Name Default Function Comments 7 M_dct 0 1: Mask IRQ due to termination of direct command - 6 M_nre 0 1: Mask IRQ due to No-Response Timer expire - 5 M_gpe 0 1: Mask IRQ due to general purpose timer expire - 4 M_eon 0 1: Mask IRQ due to detection of external field higher than Target activation level - 3 M_eof 0 1: Mask IRQ due to detection of external field drop below Target activation level - 2 M_cac 0 1: Mask IRQ due to detection of collision during RF Collision Avoidance - 1 M_cat 0 1: Mask IRQ after minimum guard time expire - 0 M_nfct 0 1: Mask IRQ when in target mode the initiator bit rate was recognized - 1. Default setting takes place at power-up and after Set Default command. DS11793 Rev 4 93/131 117 ST25R3911B 1.3.23 Mask Error and Wake-Up Interrupt Register Address: 16h Type: RW Table 48. Mask Error and Wake-Up Interrupt Register(1) Bit Name Default Function Comments 7 M_crc 0 1: Mask IRQ due to CRC error - 6 M_par 0 1: Mask IRQ due to parity error - 5 M_err2 0 1: Mask IRQ due to soft framing error - 4 M_err1 0 1: Mask IRQ due to hard framing error - 3 M_wt 0 1: Mask IRQ due to wake-up timer interrupt - 2 M_wam 0 1: Mask Wake-up IRQ due to amplitude measurement - 1 M_wph 0 1: Mask Wake-up IRQ due to phase measurement. - 0 M_wcap 0 1: Mask Wake-up IRQ due to capacitance measurement - 1. Default setting takes place at power-up and after Set Default command. 1.3.24 Main Interrupt Register Address: 17h Type: R Table 49. Main Interrupt Register(1)(2) Bit 7 Name Default I_osc - Function Comments IRQ when oscillator frequency is stable Set after oscillator is started by setting Operation Control Register bit en. Set during receive, informing that FIFO is almost full and has to be read out. Set during transmit, informing that FIFO is almost empty and that additional data has to be sent. 6 I_wl - IRQ due to FIFO water level 5 I_rxs - IRQ due to start of receive - 4 I_rxe - IRQ due to end of receive - 3 I_txe - IRQ due to end of transmission - 2 I_col - IRQ due to bit collision - 1 I_tim - IRQ due to timer or NFC event Details in Timer and NFC Interrupt Register 0 I_err - IRQ due to error and wake-up timer Details in Error and Wake-Up Interrupt Register 1. At power-up and after Set Default command content of this register is set to 0. 2. After Main Interrupt Register has been read, its content is set to 0, except for bits 1 and 0, which are set to 0 after corresponding interrupt register is read. 94/131 DS11793 Rev 4 ST25R3911B 1.3.25 Timer and NFC Interrupt Register Address: 18h Type: R Table 50. Timer and NFC Interrupt Register(1)(2) Bit Name Default Function 7 I_dct - IRQ due to termination of direct command - 6 I_nre - IRQ due to No-Response Timer expire - 5 I_gpe - IRQ due to general purpose timer expire - 4 I_eon - IRQ due to detection of external field higher than Target activation level - 3 I_eof - IRQ due to detection of external field drop below Target activation level - 2 I_cac - IRQ due to detection of collision during RF Collision Avoidance An external field was detected during RF Collision Avoidance An external field was not detected during RF Collision Avoidance, field was switched on, IRQ is sent after minimum guard time according to NFCIP-1 1 I_cat - IRQ after minimum guard time expire 0 I_nfct - IRQ when in target mode the initiator bit rate was recognized Comments - 1. At power-up and after Set Default command content of this register is set to 0. 2. After Main Interrupt Register has been read, its content is set to 0. DS11793 Rev 4 95/131 117 ST25R3911B 1.3.26 Error and Wake-Up Interrupt Register Address: 19h Type: R Table 51. Error and Wake-Up Interrupt Register(1)(2) Bit Name Default Function Comments 7 I_crc - CRC error - 6 I_par - Parity error - 5 I_err2 - Soft framing error Framing error which does not result in corrupted Rx data 4 I_err1 - Hard framing error Framing error which results in corrupted Rx data 3 I_wt - Wake-up timer interrupt Timeout after execution of Start Wake-Up Timer command In case option with IRQ at every timeout is selected 2 I_wam - Wake-up interrupt due to amplitude measurement Result of amplitude measurement was am larger than reference 1 I_wph - Wake-up interrupt due to phase measurement. Result of phase measurement was pm larger than reference 0 I_wcap - Wake-up interrupt due to capacitance measurement Result of capacitance measurement was cm larger than reference 1. At power-up and after Set Default command content of this register is set to 0. 2. After Main Interrupt Register has been read, its content is set to 0. 96/131 DS11793 Rev 4 ST25R3911B 1.3.27 FIFO Status Register 1 Address: 1Ah Type: R Table 52. FIFO Status Register 1(1) Bit Name Default Function Comments 7 - - - - 6 fifo_b6 - 5 fifo_b5 - 4 fifo_b4 - 3 fifo_b3 - 2 fifo_b2 - 1 fifo_b1 - 0 fifo_b0 - Number of bytes (binary coded) Valid range is from 0 (000 0000b) to 96 in the FIFO which were not read (110 0000b) out 1. At power-up and after Set Default command content of this register is set to 0. 1.3.28 FIFO Status Register 2 Address: 1Bh Type: R Table 53. FIFO Status Register 2(1)(2)(3) Bit Name Default Function Comments 7 - - - - 6 fifo_unf - 1: FIFO underflow 5 fifo_ovr - 1: FIFO overflow 4 fifo_ncp - 1: Last FIFO byte is not complete fifo_lb<2:0> and np_lb indicate the number of valid bits received in the incomplete byte 3 fifo_lb2 - 2 fifo_lb1 - The received bits are stored in the LSB part of the last byte in the FIFO 1 fifo_lb0 - Number of bits in the last FIFO byte if it was not complete (fifo_ncp=1) 0 np_lb - 1: Parity bit is missing in last byte This is a framing error Set when more bytes then actual content of FIFO were read - 1. At power-up and after Set Default command content of this register is set to 0. 2. If FIFO is empty, the value of register FIFO Status Register 1 (0x1Ah) is 0x00, register bits fifo_ncp, fifo_lb2, fifo_lb1 and fifo_lb0 in register block 0x1Bh are cleared. 3. Correct procedure for FIFO read is to read both FIFO Status Register 1 and FIFO Status Register 2 and then read FIFO. Second register values need to be saved in MCU because bits fifo_ncp, fifo_lb<2:0>, and np_lb are cleared automatically at readout. DS11793 Rev 4 97/131 117 ST25R3911B 1.3.29 Collision Display Register Address: 1Ch Type: R Table 54. Collision Display Register(1) Bit Name Default 7 c_byte3 - 6 c_byte2 - 5 c_byte1 - 4 c_byte0 - 3 c_bit2 - 2 c_bit1 - 1 c_bit0 - 0 c_pb - Function Number of full bytes before the bit collision happened. Number of bits before the collision in the byte where the collision happened 1: Collision in parity bit Comments The Collision Display Register range covers ISO14443A anticollision command. In case collision (or framing error that is interpreted as collision) happens in a longer message, the Collision Display Register is not set. This is an error, reported in case it is the first collision detected 1. At power-up and after Set Default command content of this register is set to 0. 1.3.30 Number of Transmitted Bytes Register 1 Address: 1Dh Type: RW Table 55. Number of Transmitted Bytes Register 1(1) Bit Name Default 7 ntx12 0 6 ntx11 0 5 ntx10 0 4 ntx9 0 3 ntx8 0 2 ntx7 0 1 ntx6 0 0 ntx5 0 Function Number of full bytes to be transmitted in one command, MSB bits Comments Maximum supported number of bytes is 8191 1. Default setting takes place at power-up and after Set Default command. 98/131 DS11793 Rev 4 ST25R3911B 1.3.31 Number of Transmitted Bytes Register 2 Address: 1Eh Type: RW Table 56. Number of Transmitted Bytes Register 2(1)(2) Bit Name Default 7 ntx4 0 6 ntx3 0 5 ntx2 0 4 ntx1 0 3 ntx0 0 2 nbtx2 0 1 nbtx1 0 0 nbtx0 0 Function Comments Number of full bytes to be transmitted in one command, MSB bits Maximum supported number of bytes is 8191 Number of bits in the split byte 000 means that there is no split byte (all bytes all complete) Applicable for ISO14443A: Bit oriented anticollision frame in case last byte is split byte Tx is done without parity bit generation 1. Default setting takes place at power-up and after Set Default command. 2. If anctl bit is set while card is in idle state and nbtx is not 000, then i_par will be triggered during WUPA direct command is issued. 1.3.32 NFCIP Bit Rate Detection Display Register Address: 1Fh Type: R Table 57. NFCIP Bit Rate Detection Display Register(1) Bit Name Default 7 nfc_rate3 - 6 nfc_rate2 - 5 nfc_rate1 - 4 nfc_rate0 - 3 - - 2 - - 1 - - 0 - - Function Comments This register stores result of automatic bit rate detection in the NFCIP-1 active communication bit rate detection mode Refer to Table 25 Not used - 1. At power-up and after Set Default command content of this register is set to 0. DS11793 Rev 4 99/131 117 ST25R3911B 1.3.33 A/D Converter Output Register Address: 20h Type: R Table 58. A/D Converter Output Register(1) Bit Name Default 7 ad7 - 6 ad6 - 5 ad5 - 4 ad4 - 3 ad3 - 2 ad2 - 1 ad1 - 0 ad0 - Function Comments Displays result of last A/D conversion. - 1. At power-up and after Set Default command, see Table 9, content of this register is set to 0. 1.3.34 Antenna Calibration Control Register Address: 21h Type: RW Table 59. Antenna Calibration Control Register(1) Bit Name Default Function Comments 7 trim_s 0 0: LC trim switches are defined by result of Calibrate Antenna command, see Table 9 1: LC trim switches are defined by bits tre_x written in this register 6 tre_3 0 MSB 5 tre_2 0 - 4 tre_1 0 - LC trim switches are defined by data written in this register in case trim_s=1. A bit set to 1 switch on transistor on TRIM1_x and TRIM2_x pin. 3 tre_0 0 2 - 0 1 - 0 - - 0 - 0 Defines source of driving switches on TRIMx pins LSB 1. Default setting takes place at power-up and after Set Default command. 100/131 DS11793 Rev 4 ST25R3911B 1.3.35 Antenna Calibration Target Register Address: 22h Type: RW Table 60. Antenna Calibration Target Register(1) Bit Name Default Function Comments 7 act7 1 - 6 act6 0 - 5 act5 0 Define target phase for Calibrate Antenna direct command, see Table 9 4 act4 0 - 3 act3 0 2 act2 0 - 1 act1 0 - 0 act0 0 - - 1. Default setting takes place at power-up and after Set Default command. 1.3.36 Antenna Calibration Display Register Address: 23h Type: R Table 61. Antenna Calibration Display Register(1) Bit Name Default Function 7 tri_3 - 6 tri_2 - - 5 tri_1 - - 4 tri_0 - LSB 3 tri_err - 1: Antenna calibration error 2 - - 1 - - 0 - - MSB Comments This register stores result of Calibrate Antenna command. LC trim switches are defined by data written in this register in case trim_s = 0. A bit set to 1 indicates that corresponding transistor on TRIM1_x and TRIM2_x pin is switched on. Set when Calibrate Antenna sequence has not been able to adjust resonance Not used - 1. At power-up and after Set Default command content of this register is set to 0. DS11793 Rev 4 101/131 117 ST25R3911B 1.3.37 AM Modulation Depth Control Register Address: 24h Type: RW Table 62. AM Modulation Depth Control Register(1) Bit Name Default Function Comments - 7 am_s 0 0: AM modulated level is defined by bits mod5 to mod0. Level is adjusted automatically by Calibrate Modulation Depth command, see Table 9 1: AM modulated level is defined by bits dram7 to dram0. 6 mod5 0 MSB 5 mod4 0 - 4 mod3 0 - 3 mod2 0 - 2 mod1 0 - 1 mod0 0 0 - 0 See Section 1.2.20: AM modulation depth: definition and calibration on page 63 for details about AM modulation lavel definition. LSB - - 1. Default setting takes place at power-up and after Set Default command. 1.3.38 AM Modulation Depth Display Register Address: 25h Type: R Table 63. AM Modulation Depth Display Register(1) Bit Name Default Function 7 md_7 - 6 md_6 - - 5 md_5 - - 4 md_4 - - 3 md_3 - - 2 md_2 - - 1 md_1 - - 0 md_0 - Comments MSB Displays result of Calibrate Modulation Depth command. Antenna drivers are composed of 8 binary weighted segments. Bit md_x set to one indicates that this particular segment will be disabled during AM modulated state. In case of error all 1 value is set. LSB 1. At power-up and after Set Default command content of this register is set to 0. 102/131 DS11793 Rev 4 ST25R3911B 1.3.39 RFO AM Modulated Level Definition Register Address: 26h Type: RW Table 64. RFO AM Modulated Level Definition Register(1) Bit Name Default Function 7 dram7 0 2 Ohm 6 dram6 0 4 Ohm 5 dram5 0 8 Ohm 4 dram4 0 16 Ohm 3 dram3 0 32 Ohm 2 dram2 0 64 Ohm 1 dram1 0 128 Ohm 0 dram0 0 256 Ohm Comments Antenna drivers are composed of eight binary weighted segments. Setting a bit dram to 1 will disable corresponding segment during AM modulated state in case am_s bit is set to 1. 1. Default setting takes place at power-up and after Set Default command. 1.3.40 RFO Normal Level Definition Register Address: 27h Type: RW Table 65. RFO Normal Level Definition Register(1) Bit Name Default Function 7 droff7 0 2 Ohm 6 droff6 0 4 Ohm 5 droff5 0 8 Ohm 4 droff4 0 16 Ohm 3 droff3 0 32 Ohm 2 droff2 0 64 Ohm 1 droff1 0 128 Ohm 0 droff0 0 256 Ohm Comments Antenna drivers are composed of eight binary weighted segments. Setting a bit droff to 1 will disable corresponding segment during normal non-modulated operation. The TX drivers are made up of 8 segments, binary weighted from 2 to 256 Ohm (nominal). As an example, setting this register to 0xC0 disables the 2 Ohm and 4 Ohm segments. 1. Default setting takes place at power-up and after Set Default command. Applying value FFh to the register 27h will put the drivers in tristate. DS11793 Rev 4 103/131 117 ST25R3911B 1.3.41 External Field Detector Threshold Register Address: 29h Type: RW Table 66. External Field Detector Threshold Register(1) Bit Name Default 7 - 0 6 trg_l2 0 5 trg_l1 1 4 trg_l0 1 3 rfe_t3 0 2 rfe_t2 0 1 rfe_t1 1 0 rfe_t0 1 Function Comments Not used - Peer Detection Threshold. Refer to Table 67. - Collision Avoidance Threshold. Refer to Table 68. - 1. Default setting takes place at power-up and after Set Default command. Table 67. Peer detection threshold as seen on RFI1 input Target peer detection trg_I2 trg_I1 trg_I0 0 0 0 75 0 0 1 105 0 1 0 150 0 1 1 205 1 0 0 290 1 0 1 400 1 1 0 560 1 1 1 800 threshold voltage (mVpp on RFI1) Table 68. Collision Avoidance threshold as seen on RFI1 input 104/131 Typical Collision Avoidance rfe_3 rfe_2 rfe_1 rfe_0 0 0 0 0 75 0 0 0 1 105 0 0 1 0 150 0 0 1 1 205 0 1 0 0 290 0 1 0 1 400 0 1 1 0 560 DS11793 Rev 4 threshold voltage (mVpp on RFI1) ST25R3911B Table 68. Collision Avoidance threshold as seen on RFI1 input (continued) 1.3.42 Typical Collision Avoidance rfe_3 rfe_2 rfe_1 rfe_0 0 1 1 1 800 1 0 0 0 25 1 0 0 1 33 1 0 1 0 47 1 0 1 1 64 1 1 0 0 90 1 1 0 1 125 1 1 1 0 175 1 1 1 1 250 threshold voltage (mVpp on RFI1) Regulator Voltage Control Register Address: 2Ah Type: RW Table 69. Regulator Voltage Control Register(1) Bit Name Default 7 reg_s 0 6 rege_3 0 5 rege _2 0 4 rege _1 0 3 rege _0 0 2 mpsv1 0 1 mpsv0 0 0 - 0 Function 0: Regulated voltages are defined by result of Adjust Regulators command 1: Regulated voltages are defined by rege_x bits written in this register External definition of regulated voltage. Refer to Table 71 for definition. In 5 V mode VSP_D and VSP_A regulators are set to 3.4 V 00: VDD 01: VSP_A 10: VSP_D 11: VSP_RF Comments Defines mode of regulator voltage setting. - Defines source of direct command Measure Power Supply. - - 1. Default setting takes place at power-up and after Set Default command. DS11793 Rev 4 105/131 117 ST25R3911B 1.3.43 Regulator and Timer Display Register Address: 2Bh Type: R Table 70. Regulator and Timer Display Register(1) Bit Name Default Function Comments 7 reg_3 - 6 reg_2 - Actual regulated voltage setting. Refer to Table 71 for definition. 5 reg_1 - - 4 reg_0 - 3 - - 2 gpt_on - 1: General purpose timer is running 1 nrt_on - 1: No-Response timer is running 0 mrt_on - 1: Mask receive timer is running - 1. 1. At power-up and after Set Default command regulated voltage is set to maximum 3.4V. Table 71. Regulated voltages reg_3 reg_2 reg_1 reg_0 Typical regulated voltage (V) rege_3 rege_2 rege_1 rege_0 5 V mode 3.3 V mode 1 1 1 1 5.1 3.4 1 1 1 0 4.98 3.3 1 1 0 1 4.86 3.2 1 1 0 0 4.74 3.1 1 0 1 1 4.62 3.0 1 0 1 0 4.50 2.9 1 0 0 1 4.38 2.8 1 0 0 0 4.26 2.7 0 1 1 1 4.14 2.6 0 1 1 0 4.02 2.5 0 1 0 1 3.90 2.4 Other combinations 106/131 Not used DS11793 Rev 4 ST25R3911B 1.3.44 RSSI Display Register Address: 2Ch Type: R Table 72. RSSI Display Register(1)(2) Bit Name Default 7 rssi_am_3 - 6 rssi_am_2 - 5 rssi_am_1 - 4 rssi_am_0 - 3 rssi_pm_3 - 2 rssi_pm_2 - 1 rssi_pm_1 - 0 rssi_pm_0 - Function Comments AM channel RSSI peak value. Refer to Table 73 for definition. Stores peak value of AM channel RSSI measurement. Automatically cleared at beginning of transponder message and with Clear RSSI command. PM channel RSSI peak value. Refer to Table 73 for definition. Stores peak value of PM channel RSSI measurement. Automatically cleared at beginning of transponder message and with Clear RSSI command. 1. At power-up and after Set Default command content of this register is set to 0. 2. Bit 0x30[7] indicates which RSSI value is use in the logic for internal use. Table 73. RSSI rssi_3 rssi_2 rssi_1 rssi_0 Typical signal on RFI1 (mVrms) 0 0 0 0 20 0 0 0 1 >20 0 0 1 0 >27 0 0 1 1 >37 0 1 0 0 >52 0 1 0 1 >72 0 1 1 0 >99 0 1 1 1 >136 1 0 0 0 >190 1 0 0 1 >262 1 0 1 0 >357 1 0 1 1 >500 1 1 0 0 >686 1 1 0 1 >950 1 1 1 0 1 1 1 1 DS11793 Rev 4 >1150 107/131 117 ST25R3911B 1.3.45 Gain Reduction State Register Address: 2Dh Type: R Table 74. Gain Reduction State Register(1) Bit Name Default Function 7 gs_am_3 - MSB 6 gs_am_2 - - 5 gs_am_1 - - 4 gs_am_0 - LSB 3 gs_pm_3 - MSB 2 gs_pm_2 - - 1 gs_pm_1 - - 0 gs_pm_0 - LSB Comments Actual gain reduction of second stage of AM channel (including register gain reduction, squelch and AGC) Actual gain reduction of second stage of PM channel (including register gain reduction, squelch and AGC) 1. At power-up and after Set Default command content of this register is set to 0. 1.3.46 Capacitive Sensor Control Register Address: 2Eh Type: RW Table 75. Capacitive Sensor Control Register(1) Bit Name Default 7 cs_mcal4 0 6 cs_mcal3 0 5 cs_mcal2 0 4 cs_mcal1 0 3 cs_mcal0 0 2 cs_g2 0 1 cs_g1 0 0 cs_g0 0 Function Comments Manual calibration value. All 0 value enables automatic calibration mode Binary weighted, step 0.1 pF, max 3.1 pF 000: 2.8 V/pF 001: 6.5 V/pF 010: 1.1 V/pF 100: 0.5 V/pF 110: 0.35 V/pF Others: Not used Capacitor sensor gain typical values 1. At power-up and after Set Default command content of this register is set to 0. 108/131 DS11793 Rev 4 ST25R3911B 1.3.47 Capacitive Sensor Display Register Address: 2Fh Type: R Table 76. Capacitive Sensor Display Register(1) Bit Name Default Function 7 cs_cal4 - 6 cs_cal3 - 5 cs_cal2 - 4 cs_cal1 - 3 cs_cal0 - 2 cs_cal_end - 1: Calibration ended - 1 cs_cal_err - 1: Calibration error - 0 - - - - Capacitive Sensor calibration value Comments Binary weighted, step 0.1 pF, max 3.1 pF 1. At power-up and after Set Default command content of this register is set to 0. 1.3.48 Auxiliary Display Register Address: 30h Type: R Table 77. Auxiliary Display Register(1) Bit Name Default Function Comments 7 a_cha - 0: AM 1: PM Currently selected channel 6 efd_o - 1: External field detected External Field Detector output 5 tx_on - 1: Transmission is active - 4 osc_ok - 1: Xtal oscillation is stable Indication that Xtal oscillator is active and its output is stable 3 rx_on - 1: Receive coder is enabled - 2 rx_act - 1: Receive coder is receiving a message - 1 nfc_t - 1: External Field Detector is active in peer detection mode - 0 en_ac - 1: External Field Detector is active in RF Collision Avoidance mode - 1. At power-up and after Set Default command content of this register is set to 0. DS11793 Rev 4 109/131 117 ST25R3911B 1.3.49 Wake-Up Timer Control Register Address: 31h Type: RW Table 78. Wake-Up Timer Control Register(1) Bit Name Default Function Comments 7 wur 0 6 wut2 0 5 wut1 0 4 wut0 0 3 wto 0 1: IRQ at every timeout 2 wam 0 1: At timeout perform amplitude measurement IRQ if difference larger than am 1 wph 0 1: At timeout perform phase measurement IRQ if difference larger than pm 0 wcap 0 1: At timeout perform capacitance measurement IRQ if difference larger than cm 0: 100 ms 1: 10 ms Wake-up timer range Refer to Table 79 Wake-up timer timeout value - 1. Default setting takes place at power-up and after Set Default command. Table 79. Typical wake-up time 110/131 wut2 wut1 wut0 100 ms range (wur=0) 10 ms range (wur=1) 0 0 0 100 ms 10 ms 0 0 1 200 ms 20 ms 0 1 0 300 ms 30 ms 0 1 1 400 ms 40 ms 1 0 0 500 ms 50 ms 1 0 1 600 ms 60 ms 1 1 0 700 ms 70 ms 1 1 1 800 ms 80 ms DS11793 Rev 4 ST25R3911B 1.3.50 Amplitude Measurement Configuration Register Address: 32h Type: RW Table 80. Amplitude Measurement Configuration Register(1) Bit Name Default 7 am_d3 0 6 am_d2 0 5 am_d1 0 4 am_d0 0 3 am_aam 0 2 am_aew1 0 1 0 am_aew2 0 am_ae 0 Function Comments Definition of am (difference to reference that triggers interrupt) - 0: Exclude the IRQ measurement Include/exclude the measurement that causes IRQ (having difference > am to reference) in 1: Include the IRQ measurement auto-averaging 00: 4 01: 8 10: 16 11: 32 Define weight of last measurement result for auto-averaging 0: Use Amplitude Measurement Reference Register 1: Use amplitude measurement auto-averaging as reference Select reference value for amplitude measurement Wake-Up mode 1. Default setting takes place at power-up and after Set Default command. 1.3.51 Amplitude Measurement Reference Register Address: 33h Type: RW Table 81. Amplitude Measurement Reference Register(1) Bit Name Default Function Comments 7 am_ref7 0 - - 6 am_ref6 0 - - 5 am_ref5 0 - - 4 am_ref4 0 - - 3 am_ref3 0 - - 2 am_ref2 0 - - 1 am_ref1 0 - - 0 am_ref0 0 - - 1. Default setting takes place at power-up and after Set Default command. DS11793 Rev 4 111/131 117 ST25R3911B 1.3.52 Amplitude Measurement Auto-Averaging Display Register Address: 34h Type: R Table 82. Amplitude Measurement Auto-Averaging Display Register(1) Bit Name Default Function Comments 7 amd_aad7 0 - - 6 amd_aad6 0 - - 5 amd_aad5 0 - - 4 amd_aad4 0 - - 3 amd_aad3 0 - - 2 amd_aad2 0 - - 1 amd_aad1 0 - - 0 amd_aad0 0 - - 1. At power-up and after Set Default command content of this register is set to 0. 1.3.53 Amplitude Measurement Display Register Address: 35h Type: R Table 83. Amplitude Measurement Display Register(1) Bit Name Default Function Comments 7 am_amd7 0 - - 6 am_amd6 0 - - 5 am_amd5 0 - - 4 am_amd4 0 - - 3 am_amd3 0 - - 2 am_amd2 0 - - 1 am_amd1 0 - - 0 am_amd0 0 - - 1. At power-up and after Set Default command content of this register is set to 0. 112/131 DS11793 Rev 4 ST25R3911B 1.3.54 Phase Measurement Configuration Register Address: 36h Type: RW Table 84. Phase Measurement Configuration Register(1) Bit Name Default 7 pm_d3 0 6 pm_d2 0 5 pm_d1 0 4 pm_d0 0 3 pm_aam 0 2 pm_aew1 0 1 0 pm_aew0 Comments Definition of pm (difference to reference that triggers interrupt) 0 pm_ae Function 0 - 0: Exclude the IRQ measurement 1: Include the IRQ measurement Include/exclude the measurement that causes IRQ (having difference > pm to reference) in auto-averaging 00: 4 01: 8 10: 16 11: 32 Define weight of last measurement result for auto-averaging 0: Use Phase Measurement Reference Register 1: Use phase measurement auto-averaging as reference Select reference value for phase measurement Wake-Up mode 1. Default setting takes place at power-up and after Set Default command. 1.3.55 Phase Measurement Reference Register Address: 37h Type: RW Table 85. Phase Measurement Reference Register(1) Bit Name Default Function Comments 7 pm_ref7 0 - - 6 pm_ref6 0 - - 5 pm_ref5 0 - - 4 pm_ref4 0 - - 3 pm_ref3 0 - - 2 pm_ref2 0 - - 1 pm_ref1 0 - - 0 pm_ref0 0 - - 1. Default setting takes place at power-up and after Set Default command. DS11793 Rev 4 113/131 117 ST25R3911B 1.3.56 Phase Measurement Auto-Averaging Display Register Address: 38h Type: R Table 86. Phase Measurement Auto-Averaging Display Register(1) Bit Name Default Function Comments 7 pm_aad7 0 - - 6 pm_aad6 0 - - 5 pm_aad5 0 - - 4 pm_aad4 0 - - 3 pm_aad3 0 - - 2 pm_aad2 0 - - 1 pm_aad1 0 - - 0 pm_aad0 0 - - 1. At power-up and after Set Default command content of this register is set to 0. 1.3.57 Phase Measurement Display Register Address: 39h Type: R Table 87. Phase Measurement Display Register(1) Bit Name Default Function Comments 7 pm_amd7 0 0 - 6 pm_amd6 0 0 - 5 pm_amd5 0 0 - 4 pm_amd4 0 0 - 3 pm_amd3 0 0 - 2 pm_amd2 0 0 - 1 pm_amd1 0 0 - 0 pm_amd0 0 0 - 1. At power-up and after Set Default command content of this register is set to 0. 114/131 DS11793 Rev 4 ST25R3911B 1.3.58 Capacitance Measurement Configuration Register Address: 3Ah Type: RW Table 88. Capacitance Measurement Configuration Register(1) Bit Name Default 7 cm_d3 0 6 cm_d2 0 5 cm_d1 0 4 cm_d0 0 3 cm_aam 0 2 cm_aew1 0 1 0 cm_aew0 0 cm_ae 0 Function Comments Definition of cm (difference to reference that triggers interrupt) - 0: Exclude the IRQ measurement 1: Include the IRQ measurement Include/exclude the measurement that causes IRQ (having difference > cm to reference) in auto-averaging 00: 4 01: 8 10: 16 11: 32 Define weight of last measurement result for auto-averaging 0: Use Capacitance Measurement Reference Register Select reference value for capacitance 1: Use capacitance measurement measurement Wake-Up mode auto-averaging as reference 1. Default setting takes place at power-up and after Set Default command. 1.3.59 Capacitance Measurement Reference Register Address: 3Bh Type: RW Table 89. Capacitance Measurement Reference Register(1) Bit Name Default Function Comments 7 cm_ref7 0 - - 6 cm_ref6 0 - - 5 cm_ref5 0 - - 4 cm_ref4 0 - - 3 cm_ref3 0 - - 2 cm_ref2 0 - - 1 cm_ref1 0 - - 0 cm_ref0 0 - - 1. Default setting takes place at power-up and after Set Default command. DS11793 Rev 4 115/131 117 ST25R3911B 1.3.60 Capacitance Measurement Auto-Averaging Display Register Address: 3Ch Type: R Table 90. Capacitance Measurement Auto-Averaging Display Register(1) Bit Name Default Function Comments 7 cm_aad7 0 - - 6 cm_aad6 0 - - 5 cm_aad5 0 - - 4 cm_aad4 0 - - 3 cm_aad3 0 - - 2 cm_aad2 0 - - 1 cm_aad1 0 - - 0 cm_aad0 0 - - 1. At power-up and after Set Default command content of this register is set to 0. 1.3.61 Capacitance Measurement Display Register Address: 3Dh Type: R Table 91. Capacitance Measurement Display Register(1) Bit Name Default Function Comments 7 cm_amd7 0 - - 6 cm_amd6 0 - - 5 cm_amd_ 0 - - 4 cm_amd_ 0 - - 3 cm_amd3 0 - - 2 cm_amd2 0 - - 1 cm_amd1 0 - - 0 cm_amd0 0 - - 1. At power-up and after Set Default command content of this register is set to 0. 116/131 DS11793 Rev 4 ST25R3911B 1.3.62 IC Identity Register Address: 3Fh Type: R Table 92. IC Identity Register Bit Name Default 7 ic_type4 - 6 ic_type3 - 5 ic_type2 - 4 ic_type1 - 3 ic_type0 - 2 ic_rev2 - 1 ic_rev1 - 0 ic_rev0 - Function Comments Code for ST25R3911B: 00001 5-bit IC type code 010: silicon r3.1 011: silicon r3.3 100: silicon r4.0 101: silicon r4.1 3-bit IC revision code DS11793 Rev 4 117/131 117 Pinouts and pin description 2 ST25R3911B Pinouts and pin description The ST25R3911B pin and pad assignments are described in Figure 30 . &6, 961B$ ,54 0,62 0&8B&/. 026, 9''B,2 6&/. 66 Figure 30. ST25R3911B QFN32 pinout(1) $*' &62 5), 963B' 5), ;72 966 ;7, 75,0B 961B' 75,0B 963B$ 75,0B 75,0B 4)1 75,0B 75,0B 75,0B 961B5) 5)2 963B5) 75,0B 5)2 9'' 069 1. The above figure shows the package top view. Table 93. ST25R3911B pin definitions - QFN32 package Pin number Pin name Pin type 1 VDD_IO Supply pad 2 CSO 3 VSP_D 4 XTO 5 XTI Analog input / Digital input 6 VSN_D Supply pad 7 VSP_A Analog output 8 VDD Supply pad 9 VSP_RF 10 RFO1 11 RFO2 12 VSN_RF 118/131 Description Positive supply for peripheral communication Capacitor sensor output Analog output Digital supply regulator output Xtal oscillator output Xtal oscillator input Digital ground Analog supply regulator output External positive supply Supply regulator output for antenna drivers Analog output Supply pad DS11793 Rev 4 Antenna driver output Ground of antenna drivers ST25R3911B Pinouts and pin description Table 93. ST25R3911B pin definitions - QFN32 package (continued) Pin number Pin name Pin type Description 13 TRIM1_3 14 TRIM2_3 15 TRIM1_2 16 TRIM2_2 17 TRIM1_1 18 TRIM2_1 19 TRIM1_0 20 TRIM2_0 21 VSS 22 RFI1 23 RFI2 24 AGD Analog I/O 25 CSI Analog input Capacitor sensor input 26 VSN_A Supply pad Analog ground 27 IRQ 28 MCU_CLK 29 MISO 30 MOSI 31 SCLK 32 /SS 33 VSS Analog I/O Input to trim antenna resonant circuit Supply pad Ground, die substrate potential Analog input Receiver input Digital output Digital output / tristate Analog reference voltage Interrupt request output Microcontroller clock output Serial Peripheral Interface data output Serial Peripheral Interface data input Digital input Serial Peripheral Interface clock Serial Peripheral Interface enable (active low) Supply DS11793 Rev 4 Ground, die substrate potential, connected to VSS on PCB 119/131 119 Electrical characteristics ST25R3911B 3 Electrical characteristics 3.1 Absolute maximum ratings Stresses beyond those listed Table 94, Table 95 and Table 96 may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated in Section 3.2: Operating conditions is not guaranteed. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 94. Electrical parameters Symbol Parameter Min Max Unit Comments DC supply voltage -0.5 6.0 V - VDD_IO DC_IO supply voltage -0.5 6.0 V - VINTRIM Input pin voltage TRIM pins -0.5 25.0 V - VIN Input pin voltage for peripheral communication pins -0.5 6.5 V - VINA Input pin voltage for analog pins -0.5 6.0 V - Iscr Input current (latch-up immunity) -100 100 mA Norm: JEDEC 78 0 600 mA - VDD Ioutmax Drive capability of output driver Table 95. Electrostatic discharge Symbol ESD Parameter Electrostatic discharge Min Max Unit Comments 2 kV Standard JS-001-2014 (Human Body Model) 500 V Standard JS-001-2014 (Human Body Model) Valid for TRIMx_x pins (pins 13 - 20) Table 96. Temperature ranges and storage conditions Symbol Tstrg Parameter Min Max Unit Comments Storage temperature -55 125 C - Tbody Package body temperature - 260 C The reflow peak soldering temperature (body temperature) is specified according to IPC/JEDEC J-STD-020 "Moisture/Reflow Sensitivity Classification for Non-hermetic Solid State Surface Mount Devices." The lead finish for Pb-free leaded packages is matte tin (100% Sn). RHNC Relative Humidity non-condensing 5 85 % - MSL Moisture Sensitivity Level 120/131 3 DS11793 Rev 4 - Represents a max. floor life time of 168 h ST25R3911B 3.2 Electrical characteristics Operating conditions All limits are guaranteed. The parameters with Min and Max values are guaranteed with production tests or SQC (Statistical Quality Control) methods. All defined tolerances for external components in this specification need to be assured over the whole operating conditions range and over lifetime. Table 97. Operating conditions Symbol VDD VDD_IO VSS VINTRIM TJUN VRFI_A RFO Parameter Min Max Unit Comments Positive supply voltage 2.4 5.5 V Peripheral communication supply voltage 1.65 5.5 V In case power supply is lower than 2.6 V, PSSR cannot be improved using internal regulators (minimum regulated voltage is 2.4 V). Negative supply voltage 0 0 V - Input pin voltage TRIM pins - 20 V - -40 125 C - Junction temperature RFI input amplitude Driver current 0.150 3 Vpp Minimum RFI input signal definition is meant for NFC receive mode. In HF reader mode and NFC transmit mode the recommended signal level is 2.5 Vpp. 0 500 mA - 3.3 DC/AC characteristics for digital inputs and outputs 3.3.1 CMOS inputs Valid for input pins \SS, MOSI, and SCLK. Table 98. CMOS inputs Symbol Min Max Unit VIH High level input voltage 0.7 * VDD_IO VDD_IO V VIL Low level input voltage VSS 0.3 * VDD_IO V -1 1 A ILEAK 3.3.2 Parameter Input leakage current CMOS outputs Valid for output pins MISO, IRQ and MCU_CLK, io_18=0 (IO Configuration Register 2). Table 99. CMOS outputs Symbol Parameter VOH High level output voltage VOL Low level output voltage Conditions ISOURCE/SINK = 1mA, measured at VDDIO = 2.4 V ISOURCE/SINK = 0.5 mA, measured at VDDIO = 1.65 V DS11793 Rev 4 Min Typ Max Unit 0.9 * VDD_IO - VDD_IO V 0 - 0.1 * VDD_IO V 121/131 124 Electrical characteristics ST25R3911B Table 99. CMOS outputs (continued) Symbol Parameter Conditions Min Typ Max Unit CL Capacitive load - 0 - 50 pF RO Output resistance - 0 250 550 RPD Pull-down resistance pin MISO Pull-down can be enabled while MISO output is in tristate. The activation is controlled by register setting. 5 10 15 k 3.4 Electrical specifications VDD= 3.3 V, temperature 25 C unless noted otherwise. 3.3 V supply mode, regulated voltages set to 3.4 V, 27.12 MHz Xtal connected to XTO and XTI. Table 100. Electrical specifications Symbol IPD INFCT Parameter Supply current in Power-down mode Supply current in initial NFC Target mode IWU Supply current in Wakeup mode ICS Capacitive sensor supply current IRD IAL 122/131 Supply current in Ready mode Supply current, all active Min - - - - - - Typ 0.7 3.5 3.6 1.1 5.4 8.7 Max 2 7 8 2 7.5 12.5 Unit Comments A Register 00h set to 0Fh (no clock on MCU_CLK), register 01h set to 80h (3 V supply mode), register 02hset to 00h register 03h set to 08h, other registers in default state. A Register 00h set to 0Fh (no clock on MCU_CLK), register 01h set to 80h (3 V supply mode), register 02hset to 00h register 03h set to 80h (enable NFC Target mode), other registers in default state. A Register 00h set to 0Fh (no clock on MCU_CLK), register 01h set to 80h (3 V supply mode), register 02h set to 04h (enable Wake-up mode), register 03hset to 08h, register 31h set to 08h (100 ms timeout, IRQ at every timeout), other registers in default state. mA Register 00h set to 0Fh (no clock on MCU_CLK), register 01h set to 80h (3 V supply mode), register 02h set to 00h, analog test mode 14, other registers in default state. mA Register 00h set to 0Fh (no clock on MCU_CLK), register 01h set to C0h (3 V supply mode, disable VSP_D), register 02h set to 80h, register 03h set to 08h, other registers in default state, short VSP_A and VSP_D. mA Register 00h set to 0Fh, register 01h set to C0h (3 V supply mode, disable VSP_D), register 02h set to E8h (one channel Rx, enable Tx), register 03h set to 08h, register 0Bh set to 00h, register 27h set to FFh (all RFO segments disabled), other registers in default state, short VSP_A and VSP_D. DS11793 Rev 4 ST25R3911B Electrical characteristics Table 100. Electrical specifications (continued) Symbol ILP Parameter Supply current, all active, low power receiver mode Min - Typ 6.8 Max 10 Unit Comments mA Register 00h set to 0Fh, register 01h set to C0h (3 V supply mode, disable VSP_D), register 02h set to E8h (one channel Rx, enable Tx), register 03h set to 08, register 0Bh set to 80 (low power mode), register 27h set to FFh (all RFO segments disabled), other registers in default state, short VSP_A and VSP_D. RRFO RFO1 and RFO2 driver output resistance 0.25 0.6 1.8 IRFO = 10 mA The following measurement procedure that cancels resistance of measurement setup is used: - All driver segments are switched on, resistance is measured, - All driver segments except the MSB segment are switched on, resistance is measured, - Difference between the two measurements is resistance of MSB segment, - Resistance of MSB segment multiplied by two is the value of RRFO. Zload Load impedance across RFO1 and RFO2 8 10 50 Using Load impedance lower than minimum value can result in permanent damage of the device VRFI RFI input sensitivity - 0.5 - mVrms RRFI RFI input resistance 5 10 15 k - VPOR Power on Reset voltage 1.31 1.5 1.75 V - V Register 00h set to 0Fh (no clock on MCU_CLK), register 01h set to C0h (3 V supply mode, disable VSP_D), register 02h set to 80h, register 03h set to 08h, other registers in default state, short VSP_A and VSP_D. V Manual regulator mode, regulated voltage set to 3.0 V, measured on pin VSP_RF: register 00h set to 0Fh, register 01h set to 80h (3 V supply mode), register 02h set to E8h (one channel Rx, enable Tx), register 2Ah set to D8h. ms 13.56 MHz or 27.12 MHz crystal ESRMAX= 150 max, load capacitance according to crystal specification, IRQ is issued once the oscillator frequency is stable. This parameter changes with ESRMAX parameter. VAGD VREG TOSC AGD voltage Regulated voltage Oscillator start-up time 1.4 2.80 0.65 1.5 3.0 0.7 1.6 3.32 10 fSUB=848 kHz, AM channel with peak detector input stage selected. DS11793 Rev 4 123/131 124 Electrical characteristics ST25R3911B 3.5 Typical operating characteristics 3.5.1 Thermal resistance and maximum power dissipation Figure 31. TCASE vs. power with different copper area at Tamb = 25C 7FDVH YV 3RZHU 4)1 ZLWK GLIIHUHQW FRSSHU DUHD 7DPE & [PP [PP [PP 7FDVH>&@ [PP [PP [PP [PP [PP 3RZHU 'LVVLSDWLRQ >:@ 06Y9 Figure 32. RthCA vs. copper area 5WKB&$>.:@YV&RSSHU$UHD 5WKB&$>.:@ $UHD>FP@ 06Y9 124/131 DS11793 Rev 4 ST25R3911B 4 Package information Package information In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK(R) packages, depending on their level of environmental compliance. ECOPACK(R) specifications, grade definitions and product status are available at www.st.com. ECOPACK(R) is an ST trademark. 4.1 QFN32 package information The ST25R3911B is available in a 32-pin QFN (5 mm x 5 mm) package (see Figure 33). Dimensions are detailed in Table 101. Figure 33. QFN32 package outline 1. Dimensioning and tolerances conform to ASME Y14.5M-1994. 2. Co-planarity applies to the exposed heat slug as well as to the terminal. 3. Radius on terminal is optional. 4. N is the total number of terminals. 5. This drawing is subject to change without notice. DS11793 Rev 4 125/131 126 Package information ST25R3911B Table 101. QFN32 5 mm x 5 mm dimensions(1) Symbol (as specified in Figure 33) Min. Typ. Max. A 0.80 0.90 1.00 A1 0 0.02 0.05 A2 - 0.65 1.00 A3 - 0.20 - L 0.35 0.40 0.45 q 0 - 14 b 0.18 0.25 0.30 D - 5.00 (with BSC) - E - 5.00 (with BSC) - e - 0.50 (with BSC) - D2 3.40 3.50 3.60 E2 3.40 3.50 3.60 D1 - 4.75 (with BSC) - E1 - 4.75 (with BSC) - aaa - 0.15 - bbb - 0.10 - ccc - 0.10 - ddd - 0.05 - eee - 0.08 - fff - 0.10 - N(2) 32 1. All dimensions are in mm. All angles are in degrees. 2. Total number of terminals. 126/131 DS11793 Rev 4 ST25R3911B 5 Ordering information Ordering information Table 102. Ordering information scheme Example: ST25 R 39 11B - A QF T Device type ST25 = NFC/RFID tags and readers Product type R = Reader Frequency range 39 = HF products Product feature 11B = High performance HF reader / NFC initiator with 1.4 W supporting VHBR and AAT Temperature range A = -40 C to 125 C Package/Packaging QF = 32-pin QFN (5 mm x 5 mm) Tape and Reel T = 4000 pcs/reel Note: Parts marked as "ES", "E" or accompanied by an Engineering Sample notification letter, are not yet qualified and therefore not approved for use in production. ST is not responsible for any consequences resulting from such use. In no event will ST be liable for the customer using any of these engineering samples in production. ST's Quality department must be contacted prior to any decision to use these engineering samples to run a qualification activity. DS11793 Rev 4 127/131 130 Ordering information ST25R3911B Table 103. Ordering information scheme (unsawn wafer)(1) Example: ST25 R 39 11B - A SW B Device type ST25 = NFC/RFID tags and readers Product type R = Reader Frequency range 39 = HF products Product feature 11B = High performance HF reader / NFC initiator with 1.4 W supporting VHBR and AAT Temperature range A = -40 C to 125 C Delivery form SW = Sorted wafer Delivery medium B = Wafer box 1. For all information concerning the ST25R3911B delivered in unsawn wafer contact your nearest ST Sales Office. 128/131 DS11793 Rev 4 ST25R3911B 6 Revision history Revision history Table 104. Document revision history Date Revision 26-Sept-2016 1 Initial release. 2 Updated document title and image on cover page. Updated Features and Description. Updated Section 1: Functional overview, Section 1.1.1: Transmitter, Section 1.1.2: Receiver, Section 1.1.3: Phase and amplitude detector, Section 1.1.5: Capacitive sensor, Section 1.1.7: Quartz crystal oscillator, Section 1.1.8: Power supply regulators, Section 1.1.9: POR and Bias, Section 1.1.10: RC oscillator and Wake-Up timer, Section 1.2.2: Transmitter, Demodulation stage, Filtering and gain stages, Digitizing stage, Squelch, Receiver in NFCIP-1 active communication mode, Section 1.2.4: Capacitive sensor, Section 1.2.5: Wake-Up mode, Autoaveraging, Section 1.2.8: A/D converter, Section 1.2.12: Communication with an external microcontroller and Section 4.1: QFN32 package information. Added Section 1.2.13: Direct commands. Updated Table 11: Register preset bits, Table 17: Registers map. Table 18: IO Configuration Register 1, Table 21: Mode Definition Register, Table 28: ISO14443B Settings Register 1, Table 34: Auxiliary Definition Register, Table 36: Receiver Configuration Register 2, Table 37: Receiver Configuration Register 3, Table 42: General Purpose and No-Response Timer Control Register, Table 46: Mask Main Interrupt Register, Table 47: Mask Timer and NFC Interrupt Register, Table 48: Mask Error and Wake-Up Interrupt Register, Table 51: Error and WakeUp Interrupt Register, Table 53: FIFO Status Register 2, Table 54: Collision Display Register, Table 56: Number of Transmitted Bytes Register 2, Table 59: Antenna Calibration Control Register, Table 64: RFO AM Modulated Level Definition Register, Table 65: RFO Normal Level Definition Register, Table 66: External Field Detector Threshold Register, Table 69: Regulator Voltage Control Register, Table 70: Regulator and Timer Display Register, Table 72: RSSI Display Register, Table 75: Capacitive Sensor Control Register, Table 77: Auxiliary Display Register, Table 80: Amplitude Measurement Configuration Register, Table 84: Phase Measurement Configuration Register, Table 88: Capacitance Measurement Configuration Register, Table 92: IC Identity Register, Table 93: ST25R3911B pin definitions - QFN32 package, Table 95: Electrostatic discharge, Table 100: Electrical specifications, Table 102: Ordering information scheme and Table 103: Ordering information scheme (unsawn wafer). Removed footnote from Table 30: Minimum TR1 codings. Updated figure 4 in Section 1.2.3: Receiver, figure 8 in Section 1.2.11: Power supply system, figures 10 to 18 in Section 1.2.12: Communication with an external microcontroller, figures 19 and 20 in NFC Field ON commands, figure 22 in Setting up the ST25R3911B for ISO 14443A anticollision, figure 24 in Section 1.2.18: FeliCaTM reader mode and figure 26 in Section 1.2.21: Antenna tuning. Updated Figure 30: ST25R3911B QFN32 pinout(1). Updated titles of Figure 33: QFN32 package outline and of Table 101: QFN32 5 mm x 5 mm dimensions. 16-Dec-2016 Changes DS11793 Rev 4 129/131 130 Revision history ST25R3911B Table 104. Document revision history (continued) Date 19-Jul-2017 26-Feb-2018 130/131 Revision Changes 3 Updated Features and Description. Updated Clear, FIFO water level and FIFO status registers and Test mode entry and access to test registers. Updated Table 6: SPI operation modes, Table 9: Direct commands, Table 16: Setting mod bits, Table 53: FIFO Status Register 2 and its footnotes, Table 73: RSSI, Table 92: IC Identity Register and Table 100: Electrical specifications. 4 Updated Table 2: Low pass control, Table 6: SPI operation modes, Table 9: Direct commands and Table 26: ISO14443A and NFC 106kb/s Settings Register. Updated Example and Section 1.3.62: IC Identity Register. Updated title of Section 5: Ordering information and Note:. DS11793 Rev 4 ST25R3911B IMPORTANT NOTICE - PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST's terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers' products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. (c) 2018 STMicroelectronics - All rights reserved DS11793 Rev 4 131/131 131