• Programmable I/O Voltage Levels From 1.8 VDC
to 5.5 VDC
• Programmable System Clock Frequency Output
(RF, RF/2, RF/4) from 13.56-MHz or 27.12-MHz
Crystal or Oscillator
1.2Applications
•Public Transport or Event Ticketing
•Passport or Payment (POS) Reader Systems
•Product Identification or Authentication
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
• Integrated Voltage Regulator Output for Other
System Components (MCU, Peripherals,
Indicators), 20 mA (Max)
• Programmable Modulation Depth
• Dual Receiver Architecture With RSSI for
Elimination of "Read Holes" and Adjacent Reader
System or Ambient In-Band Noise Detection
• Programmable Power Modes for Ultra Low-Power
System Design (Power Down <1 µA)
• Parallel or SPI Interface (With 127-Byte FIFO)
• Temperature Range: –40°C to 110°C
• 32-Pin QFN Package (5 mm × 5 mm)
•Medical Equipment or Consumables
•Access Control, Digital Door Locks
1.3Description
The TRF7964A device is an integrated analog front end (AFE) and multiprotocol data-framing device for a
13.56-MHz NFC/RFID reader and writer system supporting ISO/IEC 14443 A and B, Sony FeliCa, and
ISO/IEC 15693. Pin-to-pin and firmware compatible with the superset device TRF7970A. Built-in
programming options make the device suitable for a wide range of applications for proximity and vicinity
identification systems.
The device is configured by selecting the desired protocol in the control registers. Direct access to all
control registers allows fine tuning of various reader parameters as needed.
The TRF7964A device supports data rates up to 848 kbps with all framing and synchronization tasks for
the ISO protocols onboard. Other standards and even custom protocols can be implemented by using one
of the direct modes the device offers. These direct modes let the user fully control the AFE and also gain
access to the raw subcarrier data or the unframed, but already ISO-formatted, data and the associated
(extracted) clock signal.
The receiver system has a dual-input receiver architecture to maximize communication robustness. The
receivers also include various automatic and manual gain control options. The received signal strength
from transponders, ambient sources, or internal levels is available in the RSSI register.
A SPI or parallel interface can be used for the communication between the MCU and the TRF7964A
device. When the built-in hardware encoders and decoders are used, transmit and receive functions use a
127-byte FIFO register. For direct transmit or receive functions, the encoders or decoders can be
bypassed so the MCU can process the data in real time.
The TRF7964A device supports a wide supply voltage range of 2.7 V to 5.5 V and data communication
levels from 1.8 V to 5.5 V for the MCU I/O interface.
The transmitter has selectable output power levels of 100 mW (+20 dBm) or 200 mW (+23 dBm)
equivalent into a 50-Ω load when using a 5-V supply and supports OOK and ASK modulation with
selectable modulation depth.
1
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
For information about other devices in this family of products or related products, see the following links.
Products for TI Wireless Connectivity Connect more with the industry’s broadest wireless connectivity
portfolio.
Products for NFC / RFID TI provides one of the industry’s most differentiated NFC and RFID product
portfolios and is your solution to meet a broad range of NFC connectivity and RFID
identification needs.
Companion Products for TRF7964A Review products that are frequently purchased or used with this
product.
Reference Designs for TRF7964AThe TI Designs Reference Design Library is a robust reference
design library that spans analog, embedded processor, and connectivity. Created by TI
experts to help you jump start your system design, all TI Designs include schematic or block
diagrams, BOMs, and design files to speed your time to market. Search and download
designs at ti.com/tidesigns.
Figure 4-1 shows the pinout for the 32-pin RHB package.
www.ti.com
Figure 4-1. 32-Pin RHB Package (Top View)
4.2Signal Descriptions
Table 4-1 describes the signals.
TERMINAL
NAMENO.
V
DD_A
V
IN
V
DD_RF
V
DD_PA
TX_OUT5OUTRF output (selectable output power, 100 mW or 200 mW, with VDD= 5 V)
V
SS_PA
V
SS_RX
RX_IN18INPMain RX input
RX_IN29INPAuxiliary RX input
V
SS
BAND_GAP11OUTBandgap voltage (VBG= 1.6 V); internal analog voltage reference
ASK/OOK12BID
1OUTInternal regulated supply (2.7 V to 3.4 V) for analog circuitry
2SUPExternal supply input to chip (2.7 V to 5.5 V)
3OUTInternal regulated supply (2.7 V to 5 V), normally connected to V
4INPSupply for PA; normally connected externally to V
6SUPNegative supply for PA; normally connected to circuit ground
7SUPNegative supply for RX inputs; normally connected to circuit ground
Selection between ASK and OOK modulation (0 = ASK, 1 = OOK) for direct mode 0 or 1.
Can be configured as an output to provide the received analog signal output.
Submit Documentation Feedback
Product Folder Links: TRF7964A
DD_RF
(pin 3)
(pin 4)
www.ti.com
SLOS787J –MAY 2012–REVISED MARCH 2020
Table 4-1. Terminal Functions (continued)
TERMINAL
NAMENO.
IRQ13OUTInterrupt request
MOD14
V
SS_A
V
DD_I/O
15SUPNegative supply for internal analog circuits; connected to GND
16INPSupply for I/O communications (1.8 V to VIN) level shifter. VINshould be never exceeded.
I/O_017BIDI/O pin for parallel communication
I/O_118BIDI/O pin for parallel communication
I/O_219BID
I/O_320BID
I/O_421BID
I/O_522BID
I/O_623BID
I/O_724BID
EN225INP
DATA_CLK26INPData clock input for MCU communication (parallel and serial)
(1)
TYPE
DESCRIPTION
INPExternal data modulation input for direct mode 0 or 1
OUTSubcarrier digital data output (see registers 0x1A and 0x1B)
I/O pin for parallel communication
TX enable (in special direct mode)
I/O pin for parallel communication
TX data (in special direct mode)
I/O pin for parallel communication
Slave select signal in SPI mode
I/O pin for parallel communication
Data clock output in direct mode 1 and special direct mode
I/O pin for parallel communication
MISO for serial communication (SPI)
Serial bit data output in direct mode 1 or subcarrier signal in direct mode 0
I/O pin for parallel communication.
MOSI for serial communication (SPI)
Selection of power down mode. If EN2 is connected to VIN, then V
down mode 2 (for example, to supply the MCU).
is active during power
DD_X
TRF7964A
If EN = 1 (EN2 = don't care) the system clock for MCU is configured. Depending on the crystal
that is used, options are as follows (see register 0x09):
SYS_CLK27OUT
13.56-MHz crystal: Off, 3.39 MHz, 6.78 MHz, or 13.56 MHz
27.12-MHz crystal: Off, 6.78 MHz, 13.56 MHz, or 27.12 MHz
If EN = 0 and EN2 = 1, then system clock is set to 60 kHz
EN28INPChip enable input (If EN = 0, then chip is in sleep or power-down mode).
V
SS_D
29SUPNegative supply for internal digital circuits
OSC_OUT30OUTCrystal or oscillator output
OSC_IN31
V
DD_X
32OUT
INPCrystal or oscillator input
OUTCrystal oscillator output
Internally regulated supply (2.7 V to 3.4 V) for digital circuit and external devices (for example,
over operating free-air temperature range (unless otherwise noted)
MINMAXUNIT
V
I
IN
T
T
Input voltage range–0.36V
IN
Maximum current V
Maximum operating virtual junction temperature
J
Storage temperature–55150°C
STG
IN
Any condition140°C
Continuous operation, long-term reliability
(3)
150mA
125°C
(1) Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings
only and functional operation of the device at these or any other conditions beyond those indicated under Recommended Operating
Conditions are not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
(2) All voltage values are with respect to substrate ground terminal VSS.
(3) The maximum junction temperature for continuous operation is limited by package constraints. Operation above this temperature may
result in reduced reliability or lifetime of the device.
5.2ESD Ratings
VALUEUNIT
Human-body model (HBM), per ANSI/ESDA/JEDEC JS-001, all pins
V
(ESD)
Electrostatic discharge
Charged-device model (CDM), per JEDEC specification JESD22-C101, all
(2)
pins
Machine model (MM)±200V
(1) JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process. Pins listed as ±2000
V may actually have higher performance.
(2) JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process. Pins listed as ±500 V
may actually have higher performance.
(1)
±2000V
±500V
5.3Recommended Operating Conditions
over operating free-air temperature range (unless otherwise noted)
V
T
T
V
V
Operating input voltage2.755.5V
IN
Operating ambient temperature–4025110°C
A
Operating virtual junction temperature–4025125°C
J
Input voltage, logic low
IL
Input voltage threshold, logic high
IH
I/O lines, IRQ, SYS_CLK, DATA_CLK,
EN, EN2, ASK/OOK, MOD
I/O lines, IRQ, SYS_CLK, DATA_CLK,
EN, EN2, ASK/OOK, MOD
TYP operating conditions are TA= 25°C, VIN = 5 V, full-power mode (unless otherwise noted)
MIN and MAX operating conditions are over recommended ranges of supply voltage and operating free-air temperature
(unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYPMAX UNIT
V
OL
V
OH
Low-level output voltage
High-level output voltage
All building blocks disabled, including
I
I
PD1
PD2
Supply current in power down mode 1
Supply current in power down mode 2
(sleep mode)
supply-voltage regulators; measured after
500-ms settling time (EN = 0, EN2 = 0)
The SYS_CLK generator and V
remain active to support external circuitry;
DD_X
measured after 100-ms settling time
(EN = 0, EN2 = 1)
Oscillator running, supply-voltage
I
STBY
I
ON1
I
ON2
I
ON3
V
POR
V
BG
V
DD_A
V
DD_X
I
VDD_Xmax
R
RFOUT
R
RFIN
V
RF_INmax
V
RF_INmin
f
SYS_CLK
f
C
t
CRYSTAL
f
D_CLKmax
R
OUT
R
SYS_CLK
Supply current in stand-by mode
regulators in low-consumption mode
(EN = 1, EN2 = x)
Supply current without antenna driver
current
Supply current, TX (half power)
Supply current, TX (full power)
Power-on-reset voltageInput voltage at V
Oscillator, regulators, RX and AGC
active, TX is off
Oscillator, regulators, RX and AGC and
TX active, P
OUT
= 100 mW
Oscillator, regulators, RX and AGC and
TX active, P
OUT
= 200 mW
IN
1.422.6V
Bandgap voltage (pin 11)Internal analog reference voltage1.51.61.7V
Regulated output voltage for analog
circuitry (pin 1)
VIN= 5 V3.13.43.8V
Regulated supply for external circuitryOutput voltage pin 32, VIN= 5 V3.13.43.8V
Maximum output current of V
DD_X
Antenna driver output resistance
(1)
Output current pin 32, VIN= 5 V20mA
Half-power mode, VIN= 2.7 V to 5.5 V812
Full-power mode, VIN= 2.7 V to 5.5 V46
RX_IN1 and RX_IN2 input resistance41020kΩ
Maximum RF input voltage at RX_IN1
and RX_IN2
Minimum RF input voltage at RX_IN1
and RX_IN2 (input sensitivity)
(2)
V
RF_INmax
f
SUBCARRIER
f
SUBCARRIER
should not exceed V
IN
= 424 kHz1.42.5
= 848 kHz2.13
SYS_CLK frequencyIn power mode 2, EN = 0, EN2 = 12560120kHz
Carrier frequencyDefined by external crystal13.56MHz
Crystal run-in time
Maximum DATA_CLK frequency
(4)
Time until oscillator stable bit is set
(register 0x0F)
Depends on capacitive load on the I/O
lines, TI recommends 2 MHz
(3)
(4)
Output resistance I/O_0 to I/O_7500800Ω
Output resistance R
SYS_CLK
(1) Antenna driver output resistance
(2) Measured with subcarrier signal at RX_IN1 or RX_IN2 and measured the digital output at MOD pin with register 0x1A bit 6 = 1.
(3) Depends on the crystal parameters and components
(4) TI recommends a DATA_CLK speed of 2 MHz. Higher data clock depends on the capacitive load. Maximum SPI clock speed should not
exceed 10 MHz. This clock speed is acceptable only when external capacitive load is less than 30 pF. MISO driver has a typical output
resistance of 400 Ω (12-ns time constant when 30-pF load used).
(1) This data was taken using the JEDEC standard high-K test PCB.
(2) Power rating is determined with a junction temperature of 125°C. This is the temperature at which distortion starts to increase
substantially. Thermal management of the final PCB should strive to keep the junction temperature at or below 125°C for best
performance and long-term reliability.
(2)
5.6Switching Characteristics
TYP operating conditions are TA= 25°C, VIN = 5 V, full-power mode (unless otherwise noted)
MIN and MAX operating conditions are over recommended ranges of supply voltage and operating free-air temperature
(unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYPMAX UNIT
t
LO/HI
t
STE,LEAD
t
STE,LAG
t
STE,DIS
t
SU,SI
t
HD,SI
t
SU,SO
t
HD,SO
t
VALID,SO
DATA_CLK time high or low, one half of DATA_CLK at
50% duty cycle
Slave select lead time, slave select low to clock200ns
Slave select lag time, last clock to slave select high200ns
Slave select disable time, slave select rising edge to
next slave select falling edge
MOSI input data setup time15ns
MOSI input data hold time15ns
MISO input data setup time15ns
MISO input data hold time15ns
MISO output data valid time
Depends on capacitive load on the
I/O lines
(1)
DATA_CLK edge to MISO valid,
CL≤ 30 pF
25062.550ns
300ns
305075ns
(1) TI recommends a DATA_CLK speed of 2 MHz. Higher data clock depends on the capacitive load. Maximum SPI clock speed should not
exceed 10 MHz. This clock speed is acceptable only when external capacitive load is less than 30 pF. MISO driver has a typical output
resistance of 400 Ω (12-ns time constant when 30-pF load used).
The is a high-performance 13.56-MHz HF RFID transceiver IC composed of an integrated analog front
end (AFE) and a built-in data framing engine for ISO/IEC 15693, ISO/IEC 14443 A and B, and FeliCa.
This includes data rates up to 848 kbps for ISO/IEC 14443 with all framing and synchronization tasks on
board (in default mode). This architecture lets the customer build a complete cost-effective yet highperformance multiprotocol 13.56-MHz RFID system together with a low-cost microcontroller.
Other standards and even custom protocols can be implemented by using either of the direct modes that
the device offers. These direct modes (0 and 1) allow the user to fully control the analog front end (AFE)
and also gain access to the raw subcarrier data or the unframed but already ISO formatted data and the
associated (extracted) clock signal.
The receiver system has a dual input receiver architecture. The receivers also include various automatic
and manual gain control options. The received input bandwidth can be selected to cover a broad range of
input subcarrier signal options.
The received signal strength from transponders, ambient sources, or internal levels is available through
the RSSI register. The receiver output is selectable among a digitized subcarrier signal and any of the
integrated subcarrier decoders. The selected subcarrier decoder delivers the data bit stream and the data
clock as outputs.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
The TRF7964A also includes a receiver framing engine. This receiver framing engine performs the CRC
or parity check, removes the EOF and SOF settings, and organizes the data in bytes for ISO/IEC 14443 A
and B, ISO/IEC 15693, and FeliCa protocols. Framed data is then accessible to the microcontroller (MCU)
through a 127-byte FIFO register.
Figure 6-1. Application Block Diagram
A parallel or serial interface (SPI) can be used for the communication between the MCU and the
TRF7964A reader. When the built-in hardware encoders and decoders are used, transmit and receive
functions use a 127-byte FIFO register. For direct transmit or receive functions, the encoders and
decoders can be bypassed so that the MCU can process the data in real time. The TRF7964A supports
data communication voltage levels from 1.8 V to 5.5 V for the MCU I/O interface. The transmitter has
selectable output-power levels of 100 mW (+20 dBm) or 200 mW (+23 dBm) equivalent into a 50-Ω load
when using a 5-V supply.
The transmitter supports OOK and ASK modulation with selectable modulation depth. The TRF7964A also
includes a data transmission engine that comprises low-level encoding for ISO/IEC 15693, ISO/IEC 14443
A and B, and FeliCa. Included with the transmit data coding is the automatic generation of Start Of Frame
(SOF), End Of Frame (EOF), Cyclic Redundancy Check (CRC), and parity bits.
Several integrated voltage regulators ensure a proper power-supply noise rejection for the complete
reader system. The built-in programmable auxiliary voltage regulator V
20 mA to supply a microcontroller and additional external circuits within the reader system.
6.2System Block Diagram
Figure 6-2 shows a block diagram of the TRF7964A.
(pin 32), is able to deliver up to
DD_X
www.ti.com
6.3Power Supplies
The TRF7964A positive supply input VIN(pin 2) sources three internal regulators with output voltages
V
DD_RF
, V
DD_A
and V
be connected as indicated in reference schematics. These regulators provide a high power supply reject
ratio (PSRR) as required for RFID reader systems. All regulators are supplied by VIN(pin 2).
The regulators are not independent and have common control bits in register 0x0B for output voltage
setting. The regulators can be configured to operate in either automatic or manual mode (register 0x0B,
bit 7). The automatic regulator setting mode ensures an optimal compromise between PSRR and the
highest possible supply voltage for RF output (to ensure maximum RF power output). The manual mode
allows the user to manually configure the regulator settings. For applications in which the TRF7964A may
be subjected to external noise, manually reducing the regulator settings can improve RF performance.
. All regulators use external bypass capacitors for supply noise filtering and must
DD_X
Submit Documentation Feedback
Product Folder Links: TRF7964A
www.ti.com
6.3.1Supply Arrangements
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Regulator Supply Input: V
IN
The positive supply at VIN(pin 2) has an input voltage range of 2.7 V to 5.5 V. VINprovides the supply
input sources for three internal regulators with the output voltages V
DD_RF
, V
DD_A
, and V
DD_X
. External
bypass capacitors for supply noise filtering must be used (per reference schematics).
NOTE
VINmust be the highest voltage supplied to the TRF7964A.
RF Power Amplifier Regulator: V
The V
(pin 3) regulator is supplying the RF power amplifier. The voltage regulator can be set for
DD_RF
DD_RF
either 5-V or 3-V operation. External bypass capacitors for supply noise filtering must be used (per
reference schematics). When configured for 5-V manual-operation, the V
output voltage can be set
DD_RF
from 4.3 V to 5 V in 100-mV steps. In 3-V manual-operation, the output can be programmed from 2.7 V to
3.4 V in 100-mV steps. The maximum output current capability for 5-V operation is 150 mA and for 3-V
operation is 100 mA.
Analog Supply Regulator: V
Regulator V
(pin 1) supplies the analog circuits of the device. The output voltage setting depends on
DD_A
DD_A
the input voltage and can be set for 5-V and 3-V operation. When configured for 5-V manual-operation,
the output voltage is fixed at 3.4 V. External bypass capacitors for supply noise filtering must be used (per
reference schematics). When configured for 3-V manual-operation, the V
output can be set from 2.7 V
DD_A
to 3.4 V in 100-mV steps (see Table 6-2).
NOTE
The configuration of V
V
output current should not exceed 20 mA.
DD_X
Digital Supply Regulator: V
The digital supply regulator V
DD_X
and V
DD_A
(pin 32) provides the power for the internal digital building blocks and
DD_X
regulators are not independent from each other. The
DD_X
can also be used to supply external electronics within the reader system. When configured for 3-V
operation, the output voltage can be set from 2.7 to 3.4 V in 100-mV steps. External bypass capacitors for
supply noise filtering must be used (per reference schematics).
NOTE
The configuration of the V
The V
output current should not exceed 20 mA.
DD_X
DD_A
and V
regulators are not independent from each other.
DD_X
By default, the regulators are set in automatic regulator setting mode. In this mode, the regulators are
automatically set every time the system is activated by setting EN input High or each time the automatic
regulator setting bit, B7 in register 0x0B is set to a 1. The action is started on the 0 to 1 transition. This
means that, if the user wants to rerun the automatic setting from a state in which the automatic setting bit
is already high, the automatic setting bit (B7 in register 0x0B) should be changed: 1-0-1.
By default, the regulator setting algorithm sets the regulator outputs to a "Delta Voltage" of 400 mV below
VIN, but not higher than 5 V for V
The power amplifier of the TRF7964A is supplied through V
RF power amplifier is externally connected to the regulator output V
I/O Level Shifter Supply: V
The TRF7964A has a separate supply input V
DD_PA
DD_I/O
(pin 4). The positive supply pin for the
DD_PA
(pin 3).
DD_RF
(pin 16) for the built-in I/O level shifter. The supported
DD_I/O
input voltage ranges from 1.8 V to VIN, not exceeding 5.5 V. Pin 16 is used to supply the I/O interface pins
(I/O_0 to I/O_7), IRQ, SYS_CLK, and DATA_CLK pins of the reader. In typical applications, V
directly connected to V
DD_X
, while V
also supplies the MCU. This ensures that the I/O signal levels of
DD_X
DD_I/O
the MCU match the logic levels of the TRF7964A.
Negative Supply Connections: VSS, V
The negative supply connections V
SS_X
The substrate connection is VSS(pin 10), the analog negative supply is V
supply is V
the RF receiver V
(pin 29), the RF output stage negative supply is V
SS_D
(pin 7).
SS_RX
SS_TX
, V
SS_RX
, V
SS_A
, V
SS_PA
of each functional block are all externally connected to GND.
The input supply voltage mode of the reader needs to be selected. This is done in the Chip Status Control
register (0x00). Bit 0 in register 0x00 selects between 5-V or 3-V input supply voltage. The default
configuration is 5 V, which reflects an operating supply voltage range of 4.3 V to 5.5 V. If the supply
voltage is below 4.3 V, the 3-V configuration should be used.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
As V
is increased, the system can become more susceptible to noise coupling on the RX lines. For
DD_RF
minimum noise coupling, TI recommends using the value of 0x00. For improved range, higher V
voltages may be set, but complete system testing is required to determine the value which provides
optimal performance.
The various regulators can be configured to operate in automatic or manual mode. This is done in the
Regulator and I/O Control register (0x0B), as shown in Table 6-1 and Table 6-2.
The chip has several power states, which are controlled by two input pins (EN and EN2) and several bits
in the chip status control register (0x00) (see Table 6-3 and Table 6-4).
www.ti.com
Table 6-3. 3.3-V Operation Power Modes
CHIP
(0x00)
REGULATOR
CONTROL
REGISTER
(0x0B)
TRANSMITTERRECEIVER
MODEEN2EN
Power down00XXXXOFFOFFOFFOFFOFF<0.001Sleep mode10XXXXOFFOFFOFFONON0.120Standby mode at +3.3 VDCX18000OFFOFFONXON2Mode 1 at +3.3 VDCX10000OFFOFFONXON3Mode 2 at +3.3 VDCX10200OFFONONXON9Mode 3 (half power) at
+3.3 VDC
Mode 4 (full power) at
+3.3 VDC
X13007ONONONXON5314.5
X12007ONONONXON6717
STATUS
CONTROL
REGISTER
(1)
SYS_CLK
(13.56 MHz)
SYS_CLK
(60 kHz)
TYPICAL
V
CURRENT
DD_X
(mA)
TYPICAL
POWER
OUT (dBm)
(1) X = Don't care
Table 6-4. 5-V Operation Power Modes
CHIP
(0x00)
REGULATOR
CONTROL
REGISTER
(0x0B)
TRANSMITTERRECEIVER
MODEEN2EN
Power down00XXXXOFFOFFOFFOFFOFF<0.001Sleep mode10XXXXOFFOFFOFFONON0.120Standby mode at +5 VDCX18107OFFOFFONXON3Mode 1 at +5 VDCX10107OFFOFFONXON5Mode 2 at +5 VDCX10307OFFONONXON10.5Mode 3 (half power) at
+5 VDC
Mode 4 (full power) at
+5 VDC
X13107ONONONXON7020
X12107ONONONXON13023
STATUS
CONTROL
REGISTER
(1)
SYS_CLK
(13.56 MHz)
SYS_CLK
(60 kHz)
TYPICAL
V
CURRENT
DD_X
(mA)
TYPICAL
POWER
OUT (dBm)
(1) X = Don't care
16
Table 6-3 and Table 6-4 show the configuration for the different power modes when using a 3.3-V or 5-V
system supply, respectively. The main reader enable signal is pin EN. When EN is set high, all of the
reader regulators are enabled, the 13.56-MHz oscillator is running and the SYS_CLK (output clock for
external microcontroller) is also available.
The input pin EN2 has two functions:
•A direct connection from EN2 to VINto ensure the availability of the regulated supply V
DD_X
and an
auxiliary clock signal (60 kHz, SYS_CLK) for an external MCU. This mode (EN = 0, EN2 = 1) is
intended for systems in which the MCU is also being supplied by the reader supply regulator (V
DD_X
and the MCU clock is supplied by the SYS_CLK output of the reader. This allows the MCU supply and
clock to be available during sleep mode.
•EN2 enables the start-up of the reader system from complete power down (EN = 0, EN2 = 0). In this
case the EN input is being controlled by the MCU (or other system device) that is without supply
voltage during complete power down (thus unable to control the EN input). A rising edge applied to the
EN2 input (which has an approximately 1-V threshold level) starts the reader supply system and 13.56MHz oscillator (identical to condition EN = 1).
When user MCU is controlling EN and EN2, a delay of 1 ms between EN and EN2 must be used. If the
MCU controls only EN, TI recommends connecting EN2 to either VINor GND, depending on the
application MCU requirements for V
Figure 6-3. Nominal Start-up Sequence Using SPI With SS (MCU Controls EN2)
Figure 6-4. Nominal Start-up Sequence Using Parallel (MCU Controls EN2)
This start-up mode lasts until all of the regulators have settled and the 13.56-MHz oscillator has stabilized.
If the EN input is set high (EN = 1) by the MCU (or other system device), the reader stays active. If the EN
input is not set high (EN = 0) within 100 µs after the SYS_CLK output is switched from auxiliary clock (60
kHz) to high-frequency clock (derived from the crystal oscillator), the reader system returns to complete
Power-Down Mode 1. This option can be used to wake-up the reader system from complete Power Down
(PD Mode 1) by using a pushbutton switch or by sending a single pulse.
After the reader EN line is high, the other power modes are selected by control bits within the chip status
control register (0x00). The power mode options and states are listed in Table 6-3.
When EN is set high (or on rising edge of EN2 and then confirmed by EN = 1) the supply regulators are
activated and the 13.56-MHz oscillator is started. When the supplies are settled and the oscillator
frequency is stable, the SYS_CLK output is switched from the auxiliary frequency of 60 kHz to the 13.56MHz frequency derived from the crystal oscillator. At this point, the reader is ready to communicate and
perform the required tasks. When this occurs, osc_ok (B6) of the RSSI Level and Oscillator Status register
is set. The MCU can then program the Chip Status Control register 0x00 and select the operation mode
by programming the additional registers.
•Standby Mode (bit 7 = 1 of register 0x00), the reader is capable of recovering to full operation in
100 µs.
•Mode 1 (active mode with RF output disabled, bit 5 = 0 and bit 1 = 0 of register 0x00) is a low power
mode which allows the reader to recover to full operation within 25 µs.
•Mode 2 (active mode with only the RF receiver active, bit 1 = 1 of register 0x00) can be used to
measure the external RF field (as described in RSSI measurements paragraph) if reader-to-reader
anticollision is implemented.
•Modes 3 and 4 (active modes with the entire RF section active, bit 5 = 1 of register 0x00) are the
normal modes used for normal transmit and receive operations.
The TRF7964A has two receiver inputs: RX_IN1 (pin 8) and RX_IN2 (pin 9). Each of the input is
connected to an external capacitive voltage divider to ensure that the modulated signal from the tag is
available on at least one of the two inputs. This architecture eliminates any possible communication holes
that may occur from the tag to the reader.
The two RX inputs (RX_IN1 and RX_IN2) are multiplexed into two receivers - the main receiver and the
auxiliary receiver. Only the main receiver is used for reception, the auxiliary receiver is used for signal
quality monitoring. Receiver input multiplexing is controlled by bit B3 in the Chip Status Control register
(address 0x00).
After start-up, RX_IN1 is multiplexed to the main receiver which is composed of an RF envelope detection,
first gain and band-pass filtering stage, second gain and filtering stage with AGC. Only the main receiver
is connected to the digitizing stage which output is connected to the digital processing block. The main
receiver also has an RSSI measuring stage, which measures the strength of the demodulated signal
(subcarrier signal).
The primary function of the auxiliary receiver is to monitor the RX signal quality by measuring the RSSI of
the demodulated subcarrier signal (internal RSSI). After start-up, RX_IN2 is multiplexed to the auxiliary
receiver. The auxiliary receiver has an RF envelope detection stage, first gain and filtering with AGC stage
and finally the auxiliary RSSI block.
www.ti.com
The default MUX setting is RX_IN1 connected to the main receiver and RX_IN2 connected to the auxiliary
receiver. To determine the signal quality, the response from the tag is detected by the "main" (pin RX_IN1)
and "auxiliary" (pin RX_IN2) RSSI. Both values measured and stored in the RSSI Levels and Oscillator
Status register (address 0x0F). The MCU can read the RSSI values from the TRF7964A RSSI register
and make the decision if swapping the input- signals is preferable or not. Setting B3 in Chip Status Control
register (address 0x00) to 1 connects RX_IN1 (pin 8) to the auxiliary received and RX_IN2 (pin 9) to the
main receiver.
The main and auxiliary receiver input stages are RF envelope detectors. The RF amplitude at RX_IN1 and
RX_IN2 should be approximately 3 VPP for a VINsupply level greater than 3.3 V. If the VINlevel is lower,
the RF input peak-to-peak voltage level should not exceed the VINlevel.
6.4.2Receiver Gain and Filter Stages
The first gain and filtering stage has a nominal gain of 15 dB with an adjustable band-pass filter. The
band-pass filter has programmable 3-dB corner frequencies between 110 kHz to 450 kHz for the highpass filter and 570 kHz to 1500 kHz for the low-pass filter. After the band-pass filter, there is another gainand-filtering stage with a nominal gain of 8 dB and with frequency characteristics identical to the first bandpass stage.
The internal filters are configured automatically depending on the selected ISO communication standard in
the ISO Control register (address 0x01). If required, additional fine tuning can be done by writing directly
to the RX Special Setting registers (address 0x0A).
Table 6-5 shows the various settings for the receiver analog section. Setting B4, B5, B6, and B7 to 0
results in a band-pass characteristic of 240 kHz to 1.4 MHz, which is appropriate for ISO/IEC 14443 B
106 kbps, ISO/IEC 14443 A and B data rates of 212 kbps and 424 kbps, and FeliCa 424 kbps.
Function: Sets the gains and filters directly
Default: 0x40 at POR = H or EN = L, and at each write to the ISO Control register (0x01). When bits B7, B6, B5 and B4 are all zero, the
filters are set for ISO/IEC 14443 B (240 kHz to 1.4 MHz).
BitNameFunctionDescription
B7C212Band-pass 110 kHz to 570 kHzAppropriate for 212-kHz subcarrier system (FeliCa)
B6C424Band-pass 200 kHz to 900 kHzAppropriate for 424-kHz subcarrier used in ISO/IEC 15693
B5M848Band-pass 450 kHz to 1.5 MHz
B4hbt
B3gd100 = Gain reduction 0 dB
B2gd2
B1Reserved
B0Reserved
Band-pass 100 kHz to 1.5 MHz
Gain reduced for 18 dB
01 = Gain reduction for 5 dB
10 = Gain reduction for 10 dB
11 = Gain reduction for 15 dB
Appropriate for Manchester-coded 848-kHz subcarrier used in
ISO/IEC 14443 A and B
Appropriate for highest bit rate (848 kbps) used in high-bit-rate
ISO/IEC 14443
Sets the RX gain reduction and reduces sensitivity
6.5Receiver – Digital Section
The output of the TRF7964A analog receiver block is a digitized subcarrier signal and is the input to the
digital receiver block, which consists of two sections that partly overlap. The digitized subcarrier signal is a
digital representation of the modulation signal on the RF envelope. The two sections of the digital receiver
block are the protocol bit decoder section and the framing logic section.
The protocol bit decoder section converts the subcarrier coded signal into a serial bit stream and a data
clock. The decoder logic is designed for maximum error tolerance. This tolerance lets the decoder section
successfully decode even partly corrupted subcarrier signals that would otherwise be lost due to noise or
interference.
The framing logic section formats the serial bit stream data from the protocol bit decoder stage into data
bytes. During the formatting process, special signals such as the start of frame (SOF), end of frame
(EOF), start of communication, and end of communication are automatically removed. The parity bits and
CRC bytes are also checked and removed. The end result is "clean or raw" data that is sent to the 127byte FIFO register where it can be read by the external microcontroller system. Providing the data this
way, in conjunction with the timing register settings of the TRF7964A, means that the firmware developer
does not need to know the finer details of the ISO protocols to create a very robust application, especially
in low-cost platforms in which code space is at a premium and high performance is still required.
The start of the receive operation (successfully received SOF) sets the IRQ flags in the IRQ Status
register (0x0C). The end of the receive operation is signaled to the external system MCU by setting pin 13
(IRQ) to high. When data is received in the FIFO, an interrupt is sent to the MCU to signal that there is
data to be read from the FIFO. The FIFO Status register (0x1C) should be used to provide the number of
bytes that should be clocked out during the actual FIFO read. Additionally, an interrupt is sent to the MCU
when the received data occupies 75% of the FIFO capacity to signal that the data should be removed
from the FIFO. By default, that interrupt is triggered once the received data packet is longer than 124
bytes. This setting can be modified in the Adjustable FIFO IRQ Levels register (0x14).
Any error in the data format, parity, or CRC is detected and notified to the external system by setting pin
13 (IRQ) to high. The source condition of the interrupt is available in the IRQ Status register (0x0C).
Section 6.14.3.3.1 describes the bit coding description of this register.
The framing section also supports bit-collision detection as specified in ISO/IEC 14443 A and
ISO/IEC 15693. When a bit collision is detected, an interrupt request is sent and a flag is set in the IRQ
Status register (0x0C). For ISO/IEC 14443 A specifically, the position of the bit collision is written in two
registers: partly in the Collision Position register (0x0E) and partly in the Collision Position and Interrupt
Mask register (0x0D) (bits B6 and B7).
This collision position is presented as sequential bit number, where the count starts immediately after the
start bit. This means a collision in the first bit of a UID would give the value 00 0001 0000 in these
registers when their contents are combined after being read (the count starts with 0 and the first 16 bits
are the command code and the number of valid bits [NVB] byte).
The receive section also contains two timers.
The RX wait time timer is controlled by the value in the RX Wait Time register (0x08). This timer defines
the time interval after the end of the transmit operation during which the receive decoders are not active
(held in reset state). This prevents false detections resulting from transients following the transmit
operation. The value of the RX Wait Time register (0x08) defines the time in increments of 9.44 µs. This
register is preset at every write to the ISO Control register (0x01) according to the minimum tag response
time defined by each standard.
The RX no response timer is controlled by the RX No Response Wait Time register (0x07). This timer
measures the time from the start of the slot in the anticollision sequence until the start of tag response. If
there is no tag response in the defined time, an interrupt request is sent and a flag is set in the IRQ Status
register (0x0C). This enables the external controller to be relieved of the task of detecting empty slots. The
wait time is stored in the register in increments of 37.76 µs. This register is also preset automatically for
every new protocol selection.
The main register controlling the digital part of the receiver is the ISO Control register (0x01). By writing to
this register, the user selects the protocol to be used. With each new write in this register, all related
registers are preset to their defaults for the protocol, so no further adjustments in other registers are
needed for proper operation. Table 6-6 describes the bit fields of the ISO Control register (0x01).
www.ti.com
NOTE
If changes to other registers are needed to fine-tune the system, those changes must be
made after setting the ISO Control register (0x01).
0 = Output is subcarrier data
1 = Output is bit stream and clock from decoder selected by ISO bits
0 = RFID reader mode
1 = Reserved (should be set to 0)
See Table 6-7 for B0:B4 settings based on ISO protocol used by application.
See Table 6-7 for B0:B4 settings based on ISO protocol used by application.
See Table 6-7 for B0:B4 settings based on ISO protocol used by application.
See Table 6-7 for B0:B4 settings based on ISO protocol used by application.
See Table 6-7 for B0:B4 settings based on ISO protocol used by application.
Table 6-7. Coding of the ISO Control Register For RFID Mode (B5 = 0)
Iso_4Iso_3Iso_2Iso_1Iso_0PROTOCOLREMARKS
00000ISO/IEC 15693 low bit rate, one subcarrier, 1 out of 4
00001ISO/IEC 15693 low bit rate, one subcarrier, 1 out of 256
00010ISO/IEC 15693 high bit rate, one subcarrier, 1 out of 4Default for RFID IC
00011ISO/IEC 15693 high bit rate, one subcarrier, 1 out of 256
00100ISO/IEC 15693 low bit rate, double subcarrier, 1 out of 4
00101ISO/IEC 15693 low bit rate, double subcarrier, 1 out of 256
00110ISO/IEC 15693 high bit rate, double subcarrier, 1 out of 4
00111ISO/IEC 15693 high bit rate, double subcarrier, 1 out of 256
01000ISO/IEC 14443 A, bit rate 106 kbps
01001ISO/IEC 14443 A high bit rate 212 kbps
01010ISO/IEC 14443 A high bit rate 424 kbps
01011ISO/IEC 14443 A high bit rate 848 kbps
01100ISO/IEC 14443 B, bit rate 106 kbps
01101ISO/IEC 14443 B high bit rate 212 kbps
01110ISO/IEC 14443 B high bit rate 424 kbps
01111ISO/IEC 14443 B high bit rate 848 kbps
10011Reserved
10100Reserved
11010FeliCa 212 kbps
11011FeliCa 424 kbps
RX bit rate when TX rate
different from RX rate (see
register 0x03)
RX bit rate when TX rate
different from RX rate (see
register 0x03)
RSSI Levels and Oscillator Status Register Value (0x0F)
www.ti.com
6.5.1Received Signal Strength Indicator (RSSI)
The TRF7964A incorporates in total three independent RSSI building blocks: Internal Main RSSI, Internal
Auxiliary RSSI, and External RSSI. The internal RSSI blocks measure the amplitude of the subcarrier
signal, and the external RSSI block measures the amplitude of the RF carrier signal at the receiver input.
6.5.1.1Internal RSSI – Main and Auxiliary Receivers
Each receiver path has its own RSSI block to measure the envelope of the demodulated RF signal
(subcarrier). Internal Main RSSI and Internal Auxiliary RSSI are identical however connected to different
RF input pins. The Internal RSSI is intended for diagnostic purposes to set the correct RX path conditions.
The internal RSSI values can be used to adjust the RX gain settings or determine which RX path (main or
auxiliary) provides the greater amplitude and, hence, to determine if the MUX may need to be
reprogrammed to swap the RX input signal. The measuring system latches the peak value, so the RSSI
level can be read after the end of each receive packet. The RSSI register values are reset with every
transmission (TX) by the reader. This ensures an updated RSSI measurement for each new tag response.
The Internal RSSI has 7 steps (3 bit) with a typical increment of approximately 4 dB. The operating range
is between 600 mVPPand 4.2 VPPwith a typical step size of approximately 600 mV. Both Internal Main
and Internal Auxiliary RSSI values are stored in the RSSI Levels and Oscillator Status register (0x0F). The
nominal relationship between the input RF peak level and the RSSI value is shown in Figure 6-5.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 6-5. Digital Internal RSSI (Main and Auxiliary) Value vs RF Input Level in VPP(V)
This RSSI measurement is done during the communication to the Tag; this means the TX must be on. Bit
1 in the Chip Status Control register (0x00) defines if Internal RSSI or the External RSSI value is stored in
the RSSI Levels and Oscillator Status register (0x0F). Direct command 0x18 is used to trigger an Internal
RSSI measurement.
6.5.1.2External RSSI
The external RSSI is mainly used to check for any external 13.56-MHz signals at the receiver RX_IN1
input. The external RSSI measurement should be used before turning on the transmitter to prevent RF
field collisions. This is especially important for active mode, when both devices emit their own RF field.
The level of the RF signal received at the antenna is measured and stored in the RSSI Levels and
Oscillator Status register (0x0F). Figure 6-6 shows the relationship between the voltage at the RX_IN1
input and the 3-bit code.
RSSI Levels and Oscillator Status Register Value (0x0F)
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 6-6. Digital External RSSI Value vs RF Input Level in VPP(mV)
www.ti.com
The relation between the 3-bit code and the external RF field strength (A/m) sensed by the antenna must
be determined by calculation or by experiments for each antenna design. The antenna Q-factor and
connection to the RF input influence the result. Direct command 0x19 is used to trigger an external RSSI
measurement.
For clarity, to check the internal or external RSSI value independent of any other operation, the user must:
1. Set transmitter to desired state (on or off) using Bit 5 of Chip Status Control register (0x00) and enable
receiver using Bit 1.
2. Check internal or external RSSI using direct commands 0x18 or 0x19, respectively. This action places
the RSSI value in the RSSI register.
3. Delay at least 50 µs.
4. Read the RSSI register using direct command 0x0F; values range from 0x40 to 0x7F.
5. Repeat steps 1 to 4 as needed. The register is reset when it is read.
6.6Oscillator Section
The 13.56-MHz or 27.12-MHz crystal (or oscillator) is controlled by the Chip Status Control register (0x00)
and the EN and EN2 terminals. The oscillator generates the RF frequency for the RF output stage as well
as the clock source for the digital section. The buffered clock signal is available at pin 27 (SYS_CLK) for
any other external circuits. B4 and B5 inside the Modulation and SYS_CLK register (0x09) can be used to
divide the external SYS_CLK signal at pin 27 by 1, 2, or 4.
Typical start-up time from complete power down is in the range of 3.5 ms.
During Power Down Mode 2 (EN = 0, EN2 = 1) the frequency of SYS_CLK is switched to 60 kHz (typical).
The crystal needs to be connected between pin 30 and pin 31. The external shunt capacitors values for C
and C2must be calculated based on the specified load capacitance of the crystal being used. The external
shunt capacitors are calculated as two identical capacitors in series plus the stray capacitance of the
TRF7964A and parasitic PCB capacitance in parallel to the crystal.
The parasitic capacitance (CS, stray and parasitic PCB capacitance) can be estimated at 4 to 5 pF
(typical).
As an example, using a crystal with a required load capacitance (CL) of 18 pF, the calculation is shown in
A 27-pF capacitor must be placed on pins 30 and 31 to ensure proper crystal oscillator operation.
Any crystal used with TRF7964A should meet the minimum characteristics in Table 6-8.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 6-7. Crystal Block Diagram
Table 6-8. Minimum Crystal Recommendations
PARAMETERSPECIFICATION
Frequency13.56 MHz or 27.12 MHz
Mode of operationFundamental
Type of resonanceParallel
Frequency tolerance±20 ppm
Aging< 5 ppm/year
Operation temperature range–40°C to 85°C
As an alternative, an external clock oscillator source can be connected to pin 31 to provide the system
clock; pin 30 can be left open.
6.7Transmitter – Analog Section
The 13.56-MHz oscillator generates the RF signal for the PA stage. The power amplifier consists of a
driver with selectable output resistance of nominal 4 Ω or 8 Ω. The transmit power level is set by bit B4 in
the Chip Status Control register (0x00). The transmit power levels are selectable between 100 mW (half
power) or 200 mW (full power) when configured for 5-V automatic operation. The transmit power levels
are selectable between 33 mW (half power) or 70 mW (full power) when configured for 3-V automatic
operation.
The ASK modulation depth is controlled by bits B0, B1, and B2 in the Modulator and SYS_CLK Control
register (0x09). The ASK modulation depth range can be adjusted between 7% to 30% or 100% (OOK).
External control of the transmit modulation depth is possible by setting the ISO Control register (0x01) to
direct mode. While operating the TRF7964A in direct mode, the transmit modulation is made possible by
selecting the modulation type ASK or OOK at pin 12. External control of the modulation type is made
possible only if enabled by setting B6 in the Modulator and SYS_CLK Control register (0x09) to 1.
In normal operation mode, the length of the modulation pulse is defined by the protocol selected in the
ISO Control register (0x01). With a high-Q antenna, the modulation pulse is typically prolonged, and the
tag detects a longer pulse than intended. For such cases, the modulation pulse length needs to be
corrected by using the TX Pulse Length Control register (0x06).
If the register contains all zeros, then the pulse length is governed by the protocol selection. If the register
contains a value other than 0x00, the pulse length is equal to the value of the register multiplied by
73.7 ns; therefore, the pulse length can be adjusted between 73.7 ns and 18.8 µs in 73.7-ns increments.
The digital part of the transmitter is a mirror of the receiver. The settings controlled the ISO Control
register (0x01) are applied to the transmitter just like the receiver. In the TRF7964A default mode the
TRF7964A automatically adds these special signals: start of communication, end of communication, SOF,
EOF, parity bits, and CRC bytes.
The data is then coded to modulation pulse levels and sent to the RF output stage modulation control unit.
Similar to working with the receiver, this means that the external system MCU must only load the FIFO
with data, and all the microcoding is done automatically, again saving the firmware developer code space
and time. Additionally, all of the registers used for transmit parameter control are automatically preset to
optimum values when a new selection is entered into the ISO Control register (0x01).
The FIFO must be reset before starting any transmission with direct command 0x0F.
There are two ways to start the transmit operation:
•Send the transmit command and the number of bytes to be transmitted first, and then start to send the
data to the FIFO. The transmission starts when first data byte is written into the FIFO.
•Load the number of bytes to be sent into registers 0x1D and 0x1E and load the data to be sent into the
FIFO (address 0x1F), followed by sending a transmit command (see Direct Commands section). The
transmission then starts when the transmit command is received.
www.ti.com
NOTE
NOTE
If the data length is longer than the FIFO, the TRF7964A notifies the external system MCU
when most of the data from the FIFO has been transmitted by sending an interrupt request
with a flag in the IRQ register to indicate a FIFO low or high status. The external system
should respond by loading the next data packet into the FIFO.
At the end of a transmit operation, the external system MCU is notified by interrupt request (IRQ) with a
flag in IRQ register (0x0C) indicating TX is complete (example value = 0x80).
The TX Length registers also support incomplete byte transmission. The high two nibbles in register 0x1D
and the nibble composed of bits B4 through B7 in register 0x1E store the number of complete bytes to be
transmitted. Bit B0 in register 0x1E is a flag indicating that there are also additional bits to be transmitted
that do not form a complete byte. The number of bits is stored in bits B1 through B3 of the same register
(0x1E).
Some protocols have options, and there are two sublevel configuration registers to select the TX protocol
options.
•ISO/IEC 14443 B TX Options register (0x02). This register controls the SOF and EOF selection and
EGT selection for the ISO/IEC 14443 B protocol.
•ISO/IEC 14443 A High Bit Rate Options and Parity register (0x03). This register enables the use of
different bit rates for RX and TX operations in the ISO/IEC 14443 high bit rate protocol and also
selects the parity method in the ISO/IEC 14443 A high bit rate protocol.
The digital section also has a timer. The timer can be used to start the transmit operation at a specified
time in accordance with a selected event.
6.9Transmitter – External Power Amplifier and Subcarrier Detector
The TRF7964A can be used in conjunction with an external TX power amplifier or external subcarrier
detector for the receiver path. In this case, certain registers must be programmed as shown here:
•Bit B6 of the Regulator and I/O Control register (0x0B) must be set to 1. This setting has two functions:
first, to provide a modulated signal for the transmitter if needed, and second, to configure the
TRF7964A receiver inputs for an external demodulated subcarrier input.
•Bit B3 of the Modulation and SYS_CLK Control register (0x09) must be set to 1 (see
Section 6.14.3.2.8). This function configures the ASK/OOK pin for either a digital or analog output
(B3 = 0 enables a digital output, B3 = 1 enables an analog output). The design of an external power
amplifier requires detailed RF knowledge. There are also readily designed and certified high-power HF
reader modules on the market.
6.10 TRF7964A IC Communication Interface
6.10.1 General Introduction
The communication interface to the reader can be configured in two ways: with a eight line parallel
interface (D0:D7) plus DATA_CLK, or with a 4-wire Serial Peripheral Interface (SPI). The SPI interface
uses traditional Master Out/Slave In (MOSI), Master In/Slave Out (MISO), Slave Select, and DATA_CLK
lines.
These communication modes are mutually exclusive; that is, only one mode can be used at a time in the
application.
TRF7964A
When the SPI interface is selected, the unused I/O_2, I/O_1, and I/O_0 pins must be hard-wired as shown
in Table 6-9. At power up, the TRF7964A samples the status of these three pins and then enters one of
the possible SPI modes.
The TRF7964A always behaves as the slave device, and the microcontroller (MCU) behaves as the
master device. The MCU initiates all communications with the TRF7964A, and the TRF7964A makes use
of the Interrupt Request (IRQ) pin in both parallel and SPI modes to prompt the MCU for servicing
attention.
Table 6-9. Pin Assignment in Parallel and Serial Interface Connection or Direct Mode
PINPARALLELPARALLEL (DIRECT MODE)SPI WITH SSSPI WITHOUT SS
DATA_ CLKDATA_CLKDATA_CLKDATA_CLK from masterDATA_CLK from master
I/O_7A/D[7]Not usedMOSI
I/O_6A/D[6]
(4)
I/O_5
I/O_4A/D[4]Not usedSS – slave select
I/O_3A/D[3]Not usedNot usedNot used
I/O_2A/D[2]Not usedAt VDDAt VDD
I/O_1A/D[1]Not usedAt VDDAt V
I/O_0A/D[0]Not usedAt V
(1) FIFO is not accessible in SPI without SS mode. See the TRF7970A Silicon Errata for detailed information.
(2) MOSI = master out, slave in
(3) MISO = master in, slave out
(4) I/O_5 pin is used only for information when data is put out of the chip (for example, reading 1 byte from the chip). It is necessary first to
write in the address of the register (8 clocks) and then to generate another 8 clocks for reading out the data. The I/O_5 pin goes high
during the second 8 clocks. But for normal SPI operations, I/O_5 pin is not used.
Communication is initialized by a start condition, which is expected to be followed by an
Address/Command word (Adr/Cmd). The Adr/Cmd word is 8 bits long, and Table 6-10 shows its format.
Table 6-10. Address and Command Word Bit Distribution
B4Address/Command bit 4Adr 4Cmd 4
B3Address/Command bit 3Adr 3Cmd 3
B2Address/Command bit 2Adr 2Cmd 2
B1Address/Command bit 1Adr 1Cmd 1
B0Address/Command bit 0Adr 0Cmd 0
The MSB (bit 7) determines if the word is to be used as a command or as an address. The last two
columns of Table 6-10 show the function of the separate bits if either address or command is written. Data
is expected once the address word is sent. In continuous-address mode (Cont. mode = 1), the first data
that follows the address is written (or read) to (from) the given address. For each additional data, the
address is incremented by one. Continuous mode can be used to write to a block of control registers in a
single stream without changing the address; for example, setup of the predefined standard control
registers from the MCU nonvolatile memory to the reader. In noncontinuous address mode (simple
addressed mode), only one data word is expected after the address.
0 = Address
1 = Command
0 = Write
1 = Read
www.ti.com
01
R/W0
Address Mode is used to write or read the configuration registers or the FIFO. When writing more than 12
bytes to the FIFO, the Continuous Address Mode should be set to 1.
Command Mode is used to enter a command resulting in reader action (for example, initialize
transmission, enable reader, and turn reader on or off).
The following sections give examples of the expected communications between an MCU and the
TRF7964A.
Table 6-13 summarizes the direct command mode communication. Figure 6-12 shows the signals
between the MCU and the TRF7964A.
StartCmd x(Optional data or command)Stop
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Table 6-13. Direct Command Mode
Figure 6-12. Direct Command Example of Sending 0x0F (Reset) Using SPI With SS
Section 6.13 describes the other direct command codes from the MCU to the TRF7964A IC.
6.10.1.4 FIFO Operation
The FIFO is a 127-byte register at address 0x1F with byte storage locations 0 to 126. FIFO data is loaded
in a cyclical manner and can be cleared by a reset command (0x0F) (see Figure 6-12 showing this direct
command).
Associated with the FIFO are two counters and three FIFO status flags. The first counter is a 7-bit FIFO
byte counter (bits B0 to B6 in register 0x1C) that tracks the number of bytes loaded into the FIFO. If the
number of bytes in the FIFO is n, the register value is n (number of bytes in FIFO register). For example, if
8 bytes are in the FIFO, the FIFO counter (Register 0x1C) has the hexadecimal value of 0x08 (binary
value of 00001000).
A second counter (12 bits wide) indicates the number of bytes being transmitted (registers 0x1D and
0x1E) in a data frame. An extension to the transmission-byte counter is a 4-bit broken-byte counter also
provided in register 0x1E (bits B0 to B3). Together these counters make up the TX length value that
determines when the reader generates the EOF byte.
During transmission, the FIFO is checked for an almost-empty condition, and during reception for an
almost-full condition. The maximum number of bytes that can be loaded into the FIFO in a single
sequence is 127 bytes.
The number of bytes in a frame, transmitted or received, can be greater than 127 bytes.
During transmission, the MCU loads the TRF7964A FIFO (or during reception the MCU removes data
from the FIFO), and the FIFO counter counts the number of bytes being loaded into the FIFO. Meanwhile,
the byte counter keeps track of the number of bytes being transmitted. An interrupt request is generated if
the number of bytes in the FIFO triggers the watermark levels, which are configured in the Adjustable
FIFO IRQ Levels register (0x14). The default setting is for the interrupt to be triggered when receiving
124 bytes during RX or having 4 bytes remaining during TX. These watermark levels are used so that
MCU can send new data or read the data as necessary. The MCU must also validate the number of data
bytes to be sent, so as to not surpass the value defined in the TX Length Byte registers (0x1D and 0x1E).
The MCU also signals the transmit logic when the last byte of data is sent or was removed from the FIFO
during reception.
Figure 6-13 shows an example of checking the FIFO Status register using SPI with SS.
www.ti.com
Figure 6-13. Example of Checking the FIFO Status Register Using SPI With SS
6.10.2 Parallel Interface Mode
In parallel mode, the start condition is generated on the rising edge of the I/O_7 pin while the CLK is high.
This is used to reset the interface logic. Figure 6-14, Figure 6-15, and Figure 6-16 show the sequence of
the data, with an 8-bit address word first, followed by data.
Communication is ended by:
•The StopSmpl condition, where a falling edge on the I/O_7 pin is expected while CLK is high.
•The StopCont condition, where the I/O_7 pin must have a successive rising and falling edge while CLK
is low to reset the parallel interface and be ready for the new communication sequence.
•The StopSmpl condition is also used to terminate the direct mode.
32
Figure 6-14. Parallel Interface Communication With Simple Stop Condition (StopSmpl)
Figure 6-15. Parallel Interface Communication With Continuous Stop Condition (StopCont)
Figure 6-16. Example of Parallel Interface Communication With Continuous Stop Condition
6.10.3 Reception of Air Interface Data
At the start of a receive operation (when SOF is successfully detected), B6 is set in the IRQ Status
register. An RX complete interrupt request is sent to the MCU at the end of the receive operation if the
receive data string is shorter than or equal to the number of bytes configured in the Adjustable FIFO IRQ
Levels register (0x14). An IRQ_FIFO interrupt request is sent to the MCU during the receive operation if
the data string is greater than the level set in the Adjustable FIFO IRQ Levels register (0x14). After
receiving an IRQ_FIFO or RX complete interrupt, the MCU must read the FIFO Status register (0x1C) to
determine the number of bytes to be read from the FIFO. Next, the MCU must read the data in the FIFO.
It is optional but recommended to read the FIFO Status register (0x1C) after reading FIFO data to
determine if the receive is complete. In the case of an IRQ_FIFO, the MCU should expect either another
IRQ_FIFO or RX complete interrupt. This is repeated until an RX complete interrupt is generated. The
MCU receives the interrupt request, then checks to determine the reason for the interrupt by reading the
IRQ Status register (0x0C), after which the MCU reads the data from the FIFO.
If the reader detects a receive error, the corresponding error flag is set (framing error, CRC error) in the
IRQ Status register, indicating to the MCU that reception was not completed correctly.
Before beginning data transmission, the FIFO should always be cleared with a reset command (0x0F).
Data transmission is initiated with a selected command (see Section 6.13). The MCU then commands the
reader to do a continuous write command (0x3D) starting from register 0x1D. Data written into register
0x1D is the TX Length Byte 1 (upper and middle nibbles), while the following byte in register 0x1E is the
TX Length Byte 2 (lower nibble and broken byte length) (see Table 6-47 and Table 6-48) . Note that the
TX byte length determines when the reader sends the end of frame (EOF) byte. After the TX length bytes
are written, FIFO data is loaded in register 0x1F with byte storage locations 0 to 127. Data transmission
begins automatically after the first byte is written into the FIFO. The loading of TX length bytes and the
FIFO can be done with a continuous-write command, as the addresses are sequential.
At the start of transmission, the flag B7 (IRQ_TX) is set in the IRQ Status register, and at the end of the
transmit operation, an interrupt is sent to inform the MCU that the task is complete.
6.10.5 Serial Interface Communication (SPI)
When an SPI interface is used, I/O pins I/O_2, I/O_1, and I/O_0 must be hard wired according to Table 6-
9. On power up, the TRF7964A looks for the status of these pins and then enters into the corresponding
mode.
The serial communications work in the same manner as the parallel communications with respect to the
FIFO, except for the following condition. On receiving an IRQ from the reader, the MCU reads the
TRF7964A IRQ Status register to determine how to service the reader. After this, the MCU must to do a
dummy read to clear the reader's IRQ status register. The dummy read is required in SPI mode because
the reader's IRQ status register needs an additional clock cycle to clear the register. This is not required in
parallel mode because the additional clock cycle is included in the Stop condition. When first establishing
communications with the TRF7964A, the SOFT_INIT (0x03) and IDLE (0x00) commands should be sent
first from the MCU (see Table 6-14).
www.ti.com
The procedure for a dummy read is as follows (see Figure 6-17 and Figure 6-18):
1. Start the dummy read:
1. When using slave select (SS): set SS bit low.
2. When not using SS: start condition is when Data Clock is high (see Table 6-9).
2. Send address word to IRQ status register (0x0C) with read and continuous address mode bits set to 1
(see Table 6-9).
3. Read 1 byte (8 bits) from IRQ status register (0x0C).
4. Dummy-read 1 byte from register 0x0D (collision position and interrupt mask).
5. Stop the dummy read:
1. When using slave select (SS): set SS bit high.
2. When not using SS: stop condition when Data Clock is high.
Figure 6-18. Example of Dummy Read Using SPI With SS
6.10.5.1 Serial Interface Mode With Slave Select (SS)
The serial interface is in reset while the Slave Select signal is high. Serial data in (MOSI) changes on the
rising edge, and is validated in the reader on the falling edge, as shown in Figure 6-19. Communication is
terminated when the Slave Select signal goes high.
All words must be 8 bits long with the MSB transmitted first.
No Data Transitions (All High or Low)No Data Transitions (All High or Low)
B7 B6 B5 B4 B3 B2 B1 B0
B7 B6 B5 B4 B3 B2 B1 B0B7 B6 B5 B4 B3 B2 B1 B0
b0MISO
MOSI
DATA_CLK
Write
MOSI Transitions on Data Clock
Rising Edge
MOSI Valid on Data Clock Falling Edge
t
STE,LEAD
b7
t
LO/HItLO/HI
b6…b1b0
t
SU,SItHD,SI
1/f
UCxCLK
t
STE,DIS
b6...b1
t
VALID,SO
t
STE,LAG
t
HD,SO
Don’t Care
Read
Data Transition is on Data Clock
Rising Edge
MISO Valid on Data Clock Falling Edge
t
SU,SO
b7
No Data Transitions
(All High or Low)
Slave Select
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 6-19. SPI With Slave Select Timing Diagram
The read command is sent out on the MOSI pin, MSB first, in the first eight clock cycles. MOSI data
changes on the rising edge, and is validated in the reader on the falling edge, as shown in Figure 6-19.
During the write cycle, the serial data out (MISO) is not valid. After the last read command bit (B0) is
validated at the eighth falling edge of SCLK, valid data can be read on the MISO pin at the falling edge of
SCLK. It takes eight clock edges to read out the full byte (MSB first). See Section 5.4 for electrical
specifications related to Figure 6-19.
www.ti.com
Figure 6-20 and Figure 6-21 show the continuous read operation.
Figure 6-20. Continuous Read Operation Using SPI With Slave Select
Submit Documentation Feedback
Product Folder Links: TRF7964A
TRF7964A
www.ti.com
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 6-21. Continuous Read of Registers 0x00 to 0x05 Using SPI With SS
Figure 6-22 shows an example of performing a single slot inventory command. Reader registers (in this example)
are configured for 5 VDC in and default operation.
Figure 6-22. Inventory Command Sent From MCU to TRF7964A
The TRF7964A takes these bytes from the MCU and then send out Request Flags, Inventory Command,
and Mask over the air to the ISO/IEC 15693 transponder. After these three bytes have been transmitted,
an interrupt occurs to indicate back to the reader that the transmission has been completed. In the
example in Figure 6-23, this IRQ occurs approximately 1.6 ms after the SS line goes high after the
Inventory command is sent out.
The IRQ status register read (0x6C) yields 0x80, which indicates that TX is indeed complete. This is
followed by a dummy clock. Then, if a tag is in the field and no error is detected by the reader, a second
interrupt is expected and occurs (in this example) approximately 4 ms after first IRQ is read and cleared.
In the continuation of the example (see Figure 6-24), the IRQ Status Register is read using method
previously recommended, followed by a single read of the FIFO Status register, which indicates that there
are 10 bytes to be read out.
38
Figure 6-24. Read IRQ Status Register After Inventory Command
This is then followed by a continuous read of the FIFO (see Figure 6-25). The first byte is (and should be)
0x00 for no error. The next byte is the DSFID (usually shipped by manufacturer as 0x00), then the UID,
shown here up to the next most significant byte, the MFG code [shown as 0x07 (TI silicon)].
Figure 6-25. Continuous Read of FIFO After Inventory Command
TI recommends resetting the FIFO after receiving data. Additionally, the RSSI value of the tag can be read
out at this point. In the example in Figure 6-26, the transponder is very close to the antenna, so value of
0x7F is recovered.
Direct mode allows the user to configure the reader in one of two ways. Direct mode 0 (bit 6 = 0, as
defined in ISO Control register) allows the user to use only the front-end functions of the reader,
bypassing the protocol implementation in the reader. For transmit functions, the user has direct access to
the transmit modulator through the MOD pin (pin 14). On the receive side, the user has direct access to
the subcarrier signal (digitized RF envelope signal) on I/O_6 (pin 23).
Direct mode 1 (bit 6 = 1, as defined in ISO Control register) uses the subcarrier signal decoder of the
selected protocol (as defined in ISO Control register). This means that the receive output is not the
subcarrier signal but the decoded serial bit stream and bit clock signals. The serial data is available on
I/O_6 (pin 23) and the bit clock is available on I/O_5 (pin 22). The transmit side is identical; the user has
direct control over the RF modulation through the MOD input. This mode is provided so that the user can
implement a protocol that has the same bit coding as one of the protocols implemented in the reader, but
needs a different framing format.
To select direct mode, the user must first choose which direct mode to enter by writing B6 in the ISO
Control register. This bit determines if the receive output is the direct subcarrier signal (B6 = 0) or the
serial data of the selected decoder. If B6 = 1, then the user must also define which protocol should be
used for bit decoding by writing the appropriate setting in the ISO Control register.
The reader actually enters the direct mode when B6 (direct) is set to 1 in the chip status control register.
Direct mode starts immediately. The write command should not be terminated with a stop condition (see
communication protocol), because the stop condition terminates the direct mode and clears B6. This is
necessary as the direct mode uses one or two I/O pins (I/O_6, I/O_5). Normal parallel communication is
not possible in direct mode. Sending a stop condition terminates direct mode.
www.ti.com
Figure 6-27 shows the different configurations available in direct mode.
•In mode 0, the reader is used as an AFE only, and protocol handling is bypassed.
•In mode 1, framing is not done, but SOF and EOF are present. This allows for a user-selectable
framing level based on an existing ISO standard.
•In mode 2, data is ISO-standard formatted. SOF, EOF, and error checking are removed, so the
microprocessor receives only bytes of raw data through a 127-byte FIFO.
NOTE
An additional direct mode known as special direct mode can be used to communicate with
certain tags not compliant with ISO standards. For full details on how to use this feature, see
The steps to enter direct mode are listed below, using SPI with SS communication method only as one
example, as direct modes are also possible with parallel and SPI without SS. The must enter direct mode
0 to accommodate card type communications that are not compliant with ISO standards. Direct mode can
be entered at any time, so if a card type started with ISO standard communications, then deviated from
the standard after being identified and selected, the ability to go into direct mode 0 is very useful.
Step 1: Configure Pins I/O_0 to I/O_2 for SPI with SS
Step 2: Set Pin 12 of the TRF7964A (ASK/OOK pin) to 0 for ASK or 1 for OOK
Step 3: Program the TRF7964A registers
The following registers must be explicitly set before going into the direct mode.
1. ISO Control register (0x01) to the appropriate standard
2. Modulator and SYS_CLK register (0x09) to the appropriate clock speed and modulation
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
– 0x02 for ISO/IEC 15693 High Data Rate
– 0x08 for ISO/IEC 14443 A (106 kbps)
– 0x1A for FeliCa 212 kbps
– 0x1B for FeliCa 424 kbps
– 0x21 for 6.78 MHz Clock and OOK (100%) modulation
– 0x20 for 6.78 MHz Clock and ASK 10% modulation
– 0x22 for 6.78 MHz Clock and ASK 7% modulation
– 0x23 for 6.78 MHz Clock and ASK 8.5% modulation
– 0x24 for 6.78 MHz Clock and ASK 13% modulation
– 0x25 for 6.78 MHz Clock and ASK 16% modulation
(See register 0x09 definition for all other possible values)
Example register setting for ISO/IEC 14443 A at 106 kbps:
•ISO Control register (0x01) to 0x08
•RX No Response Wait Time register (0x07) to 0x0E
•RX Wait Time register (0x08) to 0x07
•Modulator control register (0x09) to 0x21 (or any custom modulation)
The following registers must be programmed to enter direct mode 0:
1. Set bit B6 of the Modulator and SYS_CLK Control register (0x09) to 1.
2. Set bit B6 of the ISO Control (Register 01) to 0 for direct mode 0 (default its 0)
3. Set bit B6 of the Chip Status Control register (0x00) to 1 to enter direct mode
4. Send extra eight clock cycles (see Figure 6-28, this step is TRF7964A specific)
•It is important that the last write is not terminated with a stop condition. For SPI, this
means that Slave Select (I/O_4) stays low.
•Sending a Stop condition terminates the direct mode and clears bit B6 in the Chip Status
Control register (0x00).
Access to Registers, FIFO, and IRQ is not available during direct mode 0.
The reader enters the direct mode 0 when bit 6 of the Chip Status Control register (0x00) is set to a 1 and
stays in direct mode 0 until a stop condition is sent from the microcontroller.
www.ti.com
NOTE
NOTE
NOTE
The write command should not be terminated with a stop condition (for example, in SPI
mode this is done by bringing the Slave Select line high after the register write), because the
stop condition terminates the direct mode and clears bit 6 of the Chip Status Control register
(0x00), making it a 0.
Drive the MOD pin
according to the data coding
specified by the standard
Decode the subcarrier
information according
to the standard
MOD
(Pin 14)
I/O_6
(Pin 23)
www.ti.com
Step 5: Transmit Data Using Direct Mode
The application now has direct control over the RF modulation through the MOD input (see Figure 6-29).
The microcontroller is responsible for generating data according to the coding specified by the particular
standard. The microcontroller must generate SOF, EOF, Data, and CRC. In direct mode, the FIFO is not
used and no IRQs are generated. See the applicable ISO standard to understand bit and frame
definitions. Figure 6-30 shows an example of what the developer sees when using DM0 in an actual
application. This figure clearly shows the relationship between the MOD pin being controlled by the MCU
and the resulting modulated 13.56-MHz carrier signal.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 6-29. Direct Control Signals
Figure 6-30. TX Sequence Out in DM0
Step 6: Receive Data Using Direct Mode
After the TX operation is complete, the tag responds to the request and the subcarrier data is available on
pin I/O_6. The microcontroller needs to decode the subcarrier signal according to the standard. This
includes decoding the SOF, data bits, CRC, and EOF. The CRC then needs to be checked to verify data
integrity. The receive data bytes must be buffered locally.
As an example of the receive data bits and framing level according to the ISO/IEC 14443 A standard is
shown in Figure 6-31 (taken from ISO/IEC 14443 specification and TRF7964A air interface).
Figure 6-32 shows an example of what the developer should expect on the I/O_6 line during the RX
process while in direct mode 0.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 6-32. RX Sequence on I/O_6 in DM0 (Analog Capture)
Step 7: Terminating Direct Mode 0
After the EOF is received, data transmission is over, and direct mode 0 can be terminated by sending a
Stop Condition (in the case of SPI, make the Slave Select go high). The TRF7964A is returned to default
state.
6.11 TRF7964A Initialization
To properly initialize the TRF7964A, perform these steps:
1. Raise the EN, EN2, and SS lines at the correct intervals after power up (for timing diagrams, see
Figure 6-3 and Figure 6-4).
2. Issue a Software Initialization direct command (0x03), followed by an Idle direct command (0x00) to
soft reset the TRF7964A.
Table 6-16 lists the initial register settings for the TRF7964A after the Software Initialization
command.
3. Delay 1 ms to allow the TRF7964A to fully process the soft reset.
4. Issue a Reset FIFO direct command (0x0F).
5. Write the Modulator and SYS_CLK Control register (0x09) with the appropriate application-specific
setting for the crystal and system clock settings.
6. Write the Regulator and I/O Control register (0x0B) with the appropriate application-specific setting.
NOTE
6.12 Special Direct Mode for Improved MIFARE™ Compatibility
Table 6-14. Address and Command Word Bit Distribution
www.ti.com
COMMAND
CODE
0x00Idle
0x03Software initializationSame as Power on Reset
0x0FReset FIFO
0x10Transmission without CRC
0x11Transmission with CRC
0x12Delayed transmission without CRC
0x13Delayed transmission with CRC
0x14End of frame and transmit next time slotUsed for ISO/IEC 15693 only
0x16Block receiver
0x17Enable receiver
0x18Test internal RF (RSSI at RX input with TX off)
0x19Test external RF (RSSI at RX input with TX on)
COMMANDCOMMENTS
The command code values from Table 6-14 are substituted in Table 6-15, bits 0 through 4. Also, the mostsignificant bit (MSB) in Table 6-15 must be set to 1. (Table 6-15 is same as Table 6-10, shown here again
for easy reference).
Table 6-15. Address and Command Word Bit Distribution
B4Address/Command bit 4Adr 4Cmd 4
B3Address/Command bit 3Adr 3Cmd 3
B2Address/Command bit 2Adr 2Cmd 2
B1Address/Command bit 1Adr 1Cmd 1
B0Address/Command bit 0Adr 0Cmd 0
0 = Address
1 = Command
0 = Write
1 = Read
01
R/W0
The MSB determines if the word is to be used as a command or address. The last two columns of
Table 6-15 show the function of each bit, depending on whether address or command is written.
Command mode is used to enter a command resulting in reader action (initialize transmission, enable
reader, and turn reader on or off).
6.13.1.1 Idle (0x00)
This command issues dummy clock cycles. In parallel mode, one cycle is issued. In SPI mode, eight
cycles are issued. This command should be sent after a Software Initialization command to allow the
command to finish operation.
6.13.1.2 Software Initialization (0x03)
This command starts a power-on reset. After sending this command, the register values change as shown
in Table 6-16.
Table 6-16. Register Values After Sending Software
Initialization (0x03)
ADDRESSREGISTERVALUE
0x00Chip status control0x01
0x01ISO control0x21
0x02ISO/IEC 14443 B TX options0x00
0x03ISO/IEC 14443 A high bit rate options0x00
0x04TX timer high byte control0xC1
0x05TX timer low byte control0xC1
0x06TX pulse length control0x00
0x07RX no response wait time0x0E
0x08RX wait time0x07
0x09Modulator and SYS_CLK control0x91
0x0ARX special setting0x10
0x0BRegulator and I/O control0x87
0x0CIRQ status0x00
0x0DCollision position and interrupt mask0x3E
0x0ECollision position0x00
0x0FRSSI levels and oscillator status0x40
0x10Special function0x00
0x11Special function0x00
0x12RAM0x00
0x13RAM0x00
0x14Adjustable FIFO IRQ levels0x00
0x1ATest0x00
0x1BTest0x00
0x1CFIFO status0x00
(1)
(1)
(1)
(1)
(1)
TRF7964A
(1) Differs from default at POR
6.13.1.3 Reset FIFO (0x0F)
The reset command clears the FIFO contents and FIFO Status register (0x1C). It also clears the register
storing the collision error location (0x0E).
6.13.1.4 Transmission With CRC (0x11)
The transmission command must be sent first, followed by transmission length bytes, and FIFO data. The
reader starts transmitting after the first byte is loaded into the FIFO. The CRC byte is included in the
transmitted sequence.
6.13.1.5 Transmission Without CRC (0x10)
Same as Section 6.13.1.4 with CRC excluded.
6.13.1.6 Delayed Transmission With CRC (0x13)
The transmission command must be sent first, followed by the transmission length bytes, and FIFO data.
The reader transmission is triggered by the TX timer.
When this command is received, the reader transmits the next slot command. The next slot sign is defined
by the protocol selection. This is used by the ISO/IEC 15693 protocol.
6.13.1.9 Block Receiver (0x16)
The block receiver command puts the digital part of receiver (bit decoder and framer) in reset mode. This
is useful in an extremely noisy environment, where the noise level could otherwise cause a constant
switching of the subcarrier input of the digital part of the receiver. The receiver (if not in reset) would try to
catch a SOF signal, and if the noise pattern matched the SOF pattern, an interrupt would be generated,
falsely signaling the start of an RX operation. A constant flow of interrupt requests can be a problem for
the external system (MCU), so the external system can stop this by putting the receive decoders in reset
mode. The reset mode can be terminated in two ways. The external system can send the enable receiver
command. The reset mode is also automatically terminated at the end of a TX operation. The receiver can
stay in reset after end of TX if the RX wait time register (0x08) is set. In this case, the receiver is enabled
at the end of the wait time following the transmit operation.
6.13.1.10 Enable Receiver (0x17)
This command clears the reset mode in the digital part of the receiver if the reset mode was entered by
the block receiver command.
www.ti.com
6.13.1.11 Test Internal RF (RSSI at RX Input With TX ON) (0x18)
The level of the RF carrier at RF_IN1 and RF_IN2 inputs is measured. Operating range between 300 mV
and 2.1 VP(step size is 300 mV). The two values are displayed in the RSSI Levels and Oscillator Status
register (0x0F). The command is intended for diagnostic purposes to set correct RF_IN levels. Optimum
RFIN input level is approximately 1.6 VPor code 5 to 6. The nominal relationship between the RF peak
level and RSSI code is shown in Table 6-17 and in Section 6.5.1.1.
NOTE
If the command is executed immediately after power-up and before any communication with
a tag is performed, the command must be preceded by Enable RX command. The Check RF
commands require full operation, so the receiver must be activated by Enable RX or by a
normal Tag communication for the Check RF command to work properly.
Table 6-17. Test Internal RF Peak Level to RSSI Codes
6.13.1.12 Test External RF (RSSI at RX Input with TX OFF) (0x19)
This command can be used in active mode when the RF receiver is switched on but RF output is switched
off. This means bit B1 = 1 in Chip Status Control Register. The level of RF signal received on the antenna
is measured and displayed in the RSSI Levels and Oscillator Status register (0x0F). The relation between
the 3 bit code and the external RF field strength [A/m] must be determinate by calculation or by
experiments for each antenna type as the antenna Q and connection to the RF input influence the result.
The nominal relation between the RF peak to peak voltage in the RF_IN1 input and RSSI code is shown
in Table 6-18 and in Section 6.5.1.2.
If the command is executed immediately after power-up and before any communication with
a tag is performed, the command must be preceded by an Enable RX command. The Check
RF commands require full operation, so the receiver must be activated by Enable RX or by a
normal Tag communication for the Check RF command to work properly.
Table 6-18. Test External RF Peak Level to RSSI Codes
After power up and the EN pin low-to-high transition, the reader is in the default mode. The default
configuration is ISO/IEC 15693, single subcarrier, high data rate, 1-out-of-4 operation. The low-level option
registers (0x02 to 0x0B) are automatically set to adapt the circuitry optimally to the appropriate protocol
parameters. When entering another protocol (by writing to the ISO Control register 0x01), the low-level
option registers (0x02 to 0x0B) are automatically configured to the new protocol parameters. After
selecting the protocol, it is possible to change some low-level register contents if needed. However,
changing to another protocol and then back, reloads the default settings, and so then the custom settings
must be reloaded.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
NOTE
The Clo0 and Clo1 register (0x09) bits, which define the microcontroller frequency available on the
SYS_CLK pin, are the only 2 bits in the configuration registers that are not cleared during protocol
selection.
Table 6-20 describes the Chip Status Control register.
Table 6-20. Chip Status Control Register (0x00)
Function: Control of Power mode, RF on or off, Active or Passive mode, Direct mode
Default: 0x01, preset at EN = L or POR = H
BitNameFunctionDescription
Standby mode keeps all supply regulators and the 13.56-MHz SYS_CLK
oscillator running. (Typical start-up time to full operation is 100 µs.)
Provides user direct access to AFE (direct mode 0) or allows user to add
custom framing (direct mode 1). Bit 6 of the ISO Control register must be set by
user before entering direct mode 0 or 1.
TX_OUT (pin 5) = 8-Ω output impedance P = 100 mW (20 dBm) at 5 V,
P = 33 mW (+15 dBm) at 3.3 V
TX_OUT (pin 5) = 4-Ω output impedance P = 200 mW (+23 dBm) at 5 V,
P = 70 mW (+18 dBm) at 3.3 V
Forced enabling of receiver and TX oscillator. Used for external field
measurement.
Selects the VINvoltage range
B7stby
B6direct
B5rf_on
B4rf_pwr
B3pm_on
B2Reserved
B1rec_on
B0vrs5_3
1 = Standby mode
0 = Active modeActive mode (default)
1 = Direct mode 0 or 1
0 = Direct l 2 (default)Uses SPI or parallel communication with automatic framing and ISO decoders
1 = RF output activeTransmitter on, receivers on
0 = RF output not activeTransmitter off
1 = Half output power
0 = Full output power
1 = Selects aux RX inputRX_IN2 input is used
0 = Selects main RX inputRX_IN1 input is used
1 = Receiver activated for
external field measurement
0 = Automatic enableAllows enable of the receiver by bit 5 of this register (0x00)
1 = 5-V operation
0 = 3-V operation
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
6.14.3.1.2 ISO Control Register (0x01)
Table 6-21 describes the ISO Control register.
Table 6-21. ISO Control Register (0x01)
Function: Controls the selection of ISO standard protocol, direct mode and receive CRC
Default: 0x02 (ISO/IEC 15693 high bit rate, one subcarrier, 1 out of 4); it is preset at EN = L or POR = H
BitNameFunctionDescription
B7rx_crc_nCRC Receive selection
B6dir_modeDirect mode type selection
B5rfidRFID / Reserved
B4iso_4RFID
B3iso_3RFID
B2iso_2RFID
B1iso_1RFID
(1) Only applicable to ISO/IEC 14443 A and ISO/IEC 15693
0 = RX CRC (CRC is present in the response)
1 = no RX CRC (CRC is not present in the response)
0 = Direct Mode 0
1 = Direct mode 1
0 = RFID mode
1 = Reserved (should be set to 0)
RFID: See Table 6-22 for B0:B4 settings based on ISO protocol in application
RFID: See Table 6-22 for B0:B4 settings based on ISO protocol in application
RFID: See Table 6-22 for B0:B4 settings based on ISO protocol in application
RFID: See Table 6-22 for B0:B4 settings based on ISO protocol in application
Table 6-21. ISO Control Register (0x01) (continued)
www.ti.com
B0iso_0RFID
RFID: See Table 6-22 for B0:B4 settings based on ISO protocol in application
Table 6-22. ISO Control Register ISO_x Settings, RFID Mode
ISO_4ISO_3ISO_2ISO_1ISO_0PROTOCOLREMARKS
00000ISO/IEC 15693 low bit rate, 6.62 kbps, one subcarrier, 1 out of 4
00001ISO/IEC 15693 low bit rate, 6.62 kbps, one subcarrier, 1 out of 256
00010ISO/IEC 15693 high bit rate, 26.48 kbps, one subcarrier, 1 out of 4Default for reader
00011ISO/IEC 15693 high bit rate, 26.48 kbps, one subcarrier, 1 out of 256
00100ISO/IEC 15693 low bit rate, 6.67 kbps, double subcarrier, 1 out of 4
00101
00110ISO/IEC 15693 high bit rate, 26.69 kbps, double subcarrier, 1 out of 4
00111
01000ISO/IEC 14443 A RX bit rate, 106 kbpsRX bit rate
01001ISO/IEC 14443 A RX high bit rate, 212 kbps
01010ISO/IEC 14443 A RX high bit rate, 424 kbps
01011ISO/IEC 14443 A RX high bit rate, 848 kbps
01100ISO/IEC 14443 B RX bit rate, 106 kbpsRX bit rate
01101ISO/IEC 14443 B RX high bit rate, 212 kbps
01110ISO/IEC 14443 B RX high bit rate, 424 kbps
01111ISO/IEC 14443 B RX high bit rate, 848 kbps
10011Reserved
10100Reserved
11010FeliCa 212 kbps
11011FeliCa 424 kbps
(1) For ISO/IEC 14443 A or B, when bit rate of TX is different from RX, settings can be done in register 0x02 or 0x03.
ISO/IEC 15693 low bit rate, 6.67 kbps, double subcarrier, 1 out of
256
ISO/IEC 15693 high bit rate, 26.69 kbps, double subcarrier,
1 out of 256
Defines the time when delayed transmission is started.
RX wait range is 590 ns to 9.76 ms (1 to 16383)
Step size is 590 ns
All bits low = timer disabled (0x00)
Preset 0x00 for all other protocols
6.14.3.2.5 TX Pulse Length Control Register (0x06)
The length of the modulation pulse is defined by the protocol selected in the ISO Control register 0x01.
With a high Q antenna, the modulation pulse is typically prolonged, and the tag detects a longer pulse
than intended. For such cases, the modulation pulse length can be corrected by using the TX Pulse
Length Control register (0x06). If the register contains all zeros, then the pulse length is governed by the
protocol selection. If the register contains a value other than 0x00, the pulse length is equal to the value of
the register in 73.7-ns increments. This means the range of adjustment can be 73.7 ns to 18.8 µs.
Table 6-27 describes the TX Pulse Length Control register.
Table 6-27. TX Pulse Length Control Register (0x06)
Function: Controls the length of TX pulse
Default: 0x00 at POR = H or EN = L and at each write to ISO Control register.
The pulse range is 73.7 ns to 18.8 µs (1….255), step size 73.7 ns.
All bits low (00): pulse length control is disabled.
The following default timings are preset by the ISO Control register (0x01):
1.4 µs → ISO/IEC 14443 A at 212 kbps
737 ns → ISO/IEC 14443 A at 424 kbps
442 ns → ISO/IEC 14443 A at 848 kbps; pulse length control disabled
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
6.14.3.2.6 RX No Response Wait Time Register (0x07)
The RX No Response timer is controlled by the RX NO Response Wait Time Register 0x07. This timer
measures the time from the start of slot in the anticollision sequence until the start of tag response. If there
is no tag response in the defined time, an interrupt request is sent and a flag is set in IRQ status control
register 0x0C. This enables the external controller to be relieved of the task of detecting empty slots. The
wait time is stored in the register in increments of 37.76 µs. This register is also preset, automatically, for
every new protocol selection. Sending a Reset FIFO (0x0F) direct command after a TX Complete interrupt
will disable this feature.
Table 6-28 describes the RX No Response Wait Time register.
Table 6-28. RX No Response Wait Time Register (0x07)
Function: Defines the time when "no response" interrupt is sent; only for ISO/IEC 15693
Default: 0x0E at POR = H or EN = L and at each write to ISO Control register
Defines the time when "no response" interrupt is sent. It starts from the end of
TX EOF. RX no response wait range is 37.76 µs to 9628 µs (1 to 255), step
size is: 37.76 µs.
The following default timings are preset by the ISO Control register (0x01):
390 µs → Reserved
529 µs → for all protocols supported, but not listed here
604 µs → Reserved
755 µs → ISO/IEC 15693 high data rate (TI Tag-It HF-I)
1812 µs → ISO/IEC 15693 low data rate (TI Tag-It HF-I)
The RX-wait-time timer is controlled by the value in the RX wait time register 0x08. This timer defines the
time after the end of the transmit operation in which the receive decoders are not active (held in reset
state). This prevents incorrect detections resulting from transients following the transmit operation. The
value of the RX wait time register defines this time in increments of 9.44 µs. This register is preset at
every write to ISO Control register 0x01 according to the minimum tag response time defined by each
standard.
Table 6-29 describes the RX Wait Time register.
Table 6-29. RX Wait Time Register (0x08)
Function: Defines the time after TX EOF when the RX input is disregarded for example, to block out electromagnetic disturbance
generated by the responding card.
Default: 0x1F at POR = H or EN = L and at each write toISO control register.
BitNameFunctionDescription
B7Rxw7
B6Rxw6
B5Rxw5
B4Rxw4
B3Rxw3
B2Rxw2
B1Rxw1
B1Rxw0
RX wait time
Defines the time after the TX EOF during which the RX input is ignored. Time
starts from the end of TX EOF.
RX wait range is 9.44 µs to 2407 µs (1 to 255), Step size 9.44 µs.
The following default timings are preset by the ISO Control register (0x01):
9.44 µs → FeliCa
66 µs → ISO/IEC 14443 A and B
180 µs → Reserved
293 µs → ISO/IEC 15693 (TI Tag-It HF-I)
6.14.3.2.8 Modulator and SYS_CLK Control Register (0x09)
The frequency of SYS_CLK (pin 27) is programmable by the bits B4 and B5 of this register. The frequency
of the TRF7964A system clock oscillator is divided by 1, 2 or 4 resulting in available SYS_CLK
frequencies of 13.56 MHz or 6.78 MHz or 3.39 MHz.
The ASK modulation depth is controlled by bits B0, B1 and B2. The range of ASK modulation is 7% to
30% or 100% (OOK). The selection between ASK and OOK (100%) modulation can also be done using
direct input OOK (pin 12). The direct control of OOK/ASK using OOK pin is only possible if the function is
enabled by setting B6 = 1 (en_ook_p) in this register (0x09) and the ISO Control Register (0x01, B6 = 1).
When configured this way, the MOD (pin 14) is used as input for the modulation signal.
Table 6-30 describes the Modulator and SYS_CLK Control register.
Table 6-30. Modulator and SYS_CLK Control Register (0x09)
Function: Controls the modulation input and depth, ASK / OOK control and clock output to external system (MCU)
Default: 0x91 at POR = H or EN = L, and at each write to ISO control register, except Clo1 and Clo0.
For test and measurement purpose. ASK/OOK pin 12 can be used to monitor
the analog subcarrier signal before the digitizing with DC level equal to AGND.
Table 6-31 describes the RX Special Setting register.
Table 6-31. RX Special Setting Register (0x0A)
Function: Sets the gains and filters directly
Default: 0x40 at POR = H or EN = L, and at each write to the ISO Control register 0x01. When bits B7, B6, B5 and B4 are all zero, the
filters are set for ISO/IEC 14443 B (240 kHz to 1.4 MHz).
BitNameFunctionDescription
B7C212Band-pass 110 kHz to 570 kHzAppropriate for 212-kHz subcarrier system (FeliCa)
B6C424Band-pass 200 kHz to 900 kHzAppropriate for 424-kHz subcarrier used in ISO/IEC 15693
B5M848Band-pass 450 kHz to 1.5 MHz
B4hbt
B3gd100 = Gain reduction 0 dB
B2gd2
B1Reserved
B0Reserved
Band-pass 100 kHz to 1.5 MHz
Gain reduced for 18 dB
01 = Gain reduction for 5 dB
10 = Gain reduction for 10 dB
11 = Gain reduction for 15 dB
Appropriate for Manchester-coded 848-kHz subcarrier used in
ISO/IEC 14443 A and B
Appropriate for highest bit rate (848 kbps) used in high-bit-rate
ISO/IEC 14443
Sets the RX gain reduction and reduces sensitivity
NOTE
The setting of bits B4, B5, B6 and B7 to 0 selects bandpass characteristic of 240 kHz to 1.4
MHz. This is appropriate for ISO/IEC 14443 B, FeliCa protocol, and ISO/IEC 14443 A higher
bit rates of 212 kbps and 424 kbps.
6.14.3.2.10 Regulator and I/O Control Register (0x0B)
Table 6-32 describes the Regulator and I/O Control register.
Table 6-32. Regulator and I/O Control Register (0x0B)
Function: Control the three voltage regulators
Default: 0x87 at POR = H or EN = L
BitNameFunctionDescription
0 = Manual settings; see B0
B7auto_reg
Table 6-34
1 = Automatic setting (see
Table 6-35 and Table 6-36)
to B2 in Table 6-33 and
B6en_ext_pa
B5io_low
Support for external power
amplifier
1 = enable low peripheral
communication voltage
B4UnusedNo functionDefault is 0.
B3UnusedNo functionDefault is 0.
B2vrs2
B1vrs1
Voltage set MSB voltage
set LSB
B0vrs0
Auto system sets V
V
= VIN– 250 mV, but not higher than 3.4 V.
DD_X
= VIN– 250 mV and V
DD_RF
Internal peak detectors are disabled, receiver inputs (RX_IN1 and RX_IN2)
accept externally demodulated subcarrier. At the same time ASK/OOK pin 12
becomes modulation output for external TX amplifier.
When B5 = 1, maintains the output driving capabilities of the I/O pins connected
to the level shifter under low voltage operation. Should be set 1 when V
voltage is between 1.8 V to 2.7 V.
Vrs3_5 = L: V
Table 6-34
DD_RF
, V
DD_A
, V
range 2.7 V to 3.4 V; see Table 6-33 and
DD_X
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
= VIN– 250 mV and
DD_A
DD_I/O
Table 6-33. Supply-Regulator Setting – Manual 5-V System
Table 6-35. Supply-Regulator Setting – Automatic 5-V System
www.ti.com
REGISTER
0015-V system
0B1x
(1) x = don't care
OPTION BITS SETTING IN CONTROL REGISTER
B7B6B5B4B3B2B1B0
(1)
00Automatic regulator setting 400-mV difference
ACTION
Table 6-36. Supply-Regulator Setting – Automatic 3-V System
REGISTER
0003-V system
0B1x
(1) x = don't care
OPTION BITS SETTING IN CONTROL REGISTER
B7B6B5B4B3B2B1B0
(1)
00Automatic regulator setting 400-mV difference
ACTION
6.14.3.3 Status Registers
6.14.3.3.1 IRQ Status Register (0x0C)
Table 6-37 describes the IRQ Status register.
Table 6-37. IRQ Status Register (0x0C)
Function: Information available about TRF7964A IRQ and TX/RX status
Default: 0x00 at POR = H or EN = L, and at each write to the ISO Control Register 0x01. It is also automatically reset at the end of a read
phase. The reset also removes the IRQ flag.
BitNameFunctionDescription
B7Irq_txIRQ set due to end of TX
B6Irg_srxIRQ set due to RX start
B5Irq_fifoSignals the FIFO level
B4Irq_err1CRC error
B3Irq_err2Parity errorIndicates parity error for ISO/IEC 14443 A
B2Irq_err3Byte framing or EOF errorIndicates framing error
B1Irq_colCollision error
B0Irq_norespNo response time interrupt
Signals that TX is in progress. The flag is set at the start of TX but the interrupt
request (IRQ = 1) is sent when TX is finished.
Signals that RX SOF was received and RX is in progress. The flag is set at the
start of RX but the interrupt request (IRQ = 1) is sent when RX is finished.
Signals FIFO high or low as set in the Adjustable FIFO IRQ Levels (0x14)
register
Indicates receive CRC error only if B7 (no RX CRC) of ISO Control register is
set to 0.
Collision error for ISO/IEC 14443 A and ISO/IEC 15693 single subcarrier. Bit is
set if more then 6 or 7 (as defined in register 0x10) are detected in 1 bit period
of ISO/IEC 14443 A 106 kbps. Collision error bit can also be triggered by
external noise.
No response within the "No-response time" defined in RX No Response Wait
Time register (0x07). Signals the MCU that the next slot command can be sent.
Only for ISO/IEC 15693.
60
To reset (clear) the register 0x0C and the IRQ line, the register must be read. During Transmit the
decoder is disabled, only bits B5 and B7 can be changed. During Receive only bit B6 can be changed, but
does not trigger the IRQ line immediately. The IRQ signal is set at the end of Transmit and Receive
phase.
6.14.3.3.2 Interrupt Mask Register (0x0D) and Collision Position Register (0x0E)
Table 6-38 describes the Interrupt Mask register. Table 6-39 describes the Collision Position register.
Table 6-38. Interrupt Mask Register (0x0D)
Default: 0x3E at POR = H and EN = L. Collision bits reset automatically after read operation.
BitNameFunctionDescription
B7Col9Bit position of collision MSB Supports ISO/IEC 14443 A
B6Col8Bit position of collision
B5En_irq_fifoInterrupt enable for FIFODefault = 1
B4En_irq_err1Interrupt enable for CRCDefault = 1
B3En_irq_err2Interrupt enable for ParityDefault = 1
B2En_irq_err3
B1En_irq_col
B0En_irq_noresp
Interrupt enable for Framing
error or EOF
Interrupt enable for collision
error
Enables no-response
interrupt
Default = 1
Default = 1
Default = 0
Table 6-39. Collision Position Register (0x0E)
Function: Displays the bit position of collision or error
Default: 0x00 at POR = H and EN = L. Automatically reset after read operation.
BitNameFunctionDescription
B7Col7Bit position of collision MSB
B6Col6
B5Col5
B4Col4
B3Col3
B2Col2
B1Col1
B0Col0Bit position of collision LSB
ISO/IEC 14443 A mainly supported, in the other protocols this register shows
the bit position of error. Frame, SOF, EOF, parity, or CRC error.
Auxiliary channel is by default RX_IN2. The input can be swapped by B3 = 1
(Chip Status Control register 0x00). If "swapped", the Auxiliary channel is
connected to RX_IN1 and, hence, the Auxiliary RSSI represents the signal level
at RX_IN1.
Active channel is default and can be set with option bit B3 = 0 of Chip Status
Control register 0x00.
RSSI measurement block is measuring the demodulated envelope signal (except in case of direct
command for RF amplitude measurement described later in direct commands section). The measuring
system is latching the peak value, so the RSSI level can be read after the end of receive packet. The
RSSI value is reset during next transmit action of the reader, so the new tag response level can be
measured. The RSSI levels calculated to the RF_IN1 and RF_IN2 are presented in Section 6.5.1.1 and
Section 6.5.1.2. The RSSI has 7 steps (3 bits) with 4-dB increment. The input level is the peak-to-peak
modulation level of RF signal measured on one side envelope (positive or negative).
6.14.3.3.4 Special Functions Register (0x10)
Table 6-41 describes the Special Functions register at address 0x10.
Table 6-41. Special Functions Register (0x10)
Function: User configurable options for ISO/IEC 14443 A specific operations
BitNameFunctionDescription
B7ReservedReserved
B6ReservedReserved
B5par43
B4next_slot_37us
B3Sp_dir_mode
B24_bit_RX
B114_anticoll
B0col_7_6
Disables parity checking for
ISO/IEC 14443 A
0 = 18.88 µs
1 = 37.77 µs
Bit stream transmit for
MIFARE at 106 kbps
0 = normal receive
1 = 4-bit receive
0 = anticollision framing
(0x93, 0x95, 0x97)
1 = normal framing (no
broken bytes)
0 = 7 subcarrier pulses
1 = 6 subcarrier pulses
Sets the time grid for next slot command in ISO/IEC 15693
Enables direct mode for transmitting ISO/IEC 14443 A data, bypassing the
FIFO and feeding the data bit stream directly onto the encoder.
Enable 4-bit replay for example, ACK, NACK used by some cards; for example,
MIFARE Ultralight
Disable anticollision frames for ISO/IEC 14443 A (this bit should be set to 1
after anticollision is finished)
Selects the number of subcarrier pulses that trigger collision error in
ISO/IEC 14443 A at 106 kbps
MOD pin becomes input for TX modulation control by the MCU
o_sel = L: First stage output used for analog out and digitizing
o_sel = H: Second Stage output used for analog out and digitizing
www.ti.com
6.14.3.4.2 Test Register (0x1B)
Table 6-45 describes the Test register at address 0x1B.
Table 6-45. Test Register (0x1B) (for Test or Direct Use)
Default: 0x00 at POR = H and EN = L. When a test_dec or test_io is set IC is switched to test mode. Test Mode persists until a stop
condition arrives. At stop condition the test_dec and test_io bits are cleared.
BitNameFunctionDescription
B7
B6
B5
B4
B3test_io1
B2test_io0
B1test_decDecoder test mode
B0clock_suCoder clock 13.56 MHzFor faster test of coders
Section 6.14.3.5.1 describes the FIFO Status register.
6.14.3.5.1 FIFO Status Register (0x1C)
Table 6-46. FIFO Status Register (0x1C)
Function: Number of bytes available to be read from FIFO (= N number of bytes, in hexadecimal)
BitNameFunctionDescription
B7FoverflowFIFO overflow errorBit is set when FIFO has more than 127 bytes presented to it
B6Fb6FIFO bytes fb[6]
B5Fb5FIFO bytes fb[5]
B4Fb4FIFO bytes fb[4]
B3Fb3FIFO bytes fb[3]
B2Fb2FIFO bytes fb[2]
B1Fb1FIFO bytes fb[1]
B0Fb0FIFO bytes fb[0]
Bits B0:B6 indicate how many bytes are in the FIFO to be read out (= N
number of bytes, in hex)
Table 6-47 describes the TX Length Byte1 register. Table 6-48 describes the TX Length Byte2 register.
Table 6-47. TX Length Byte1 Register (0x1D)
Function: High 2 nibbles of complete, intended bytes to be transferred through FIFO
Register default is set to 0x00 at POR and EN = 0. It is also automatically reset at TX EOF
BitNameFunctionDescription
B7Txl11
B6Txl10
B5Txl9
B4Txl8
B3Txl7
B2Txl6
B1Txl5
B0Txl4
Number of complete byte
bn[11]
Number of complete byte
bn[10]
Number of complete byte
bn[9]
Number of complete byte
bn[8]
Number of complete byte
bn[7]
Number of complete byte
bn[6]
Number of complete byte
bn[5]
Number of complete byte
bn[4]
High nibble of complete, intended bytes to be transmitted
Middle nibble of complete, intended bytes to be transmitted
www.ti.com
Table 6-48. TX Length Byte2 Register (0x1E)
Function: Low nibbles of complete bytes to be transferred through FIFO; Information about a broken byte and number of bits to be
transferred from it
Default: 0x00 at POR and EN = 0. It is also automatically reset at TX EOF
BitNameFunctionDescription
B7Txl3
B6Txl2
B5Txl1
B4Txl0
B3Bb2
B2Bb1
B1Bb0
B0BbfBroken byte flagB0 = 1 indicates that last byte is not complete 8 bits wide.
Number of complete byte
bn[3]
Number of complete byte
bn[2]
Number of complete byte
bn[1]
Number of complete byte
bn[0]
Broken byte number of bits
bb[2]
Broken byte number of bits
bb[1]
Broken byte number of bits
bb[0]
Low nibble of complete, intended bytes to be transmitted
Number of bits in the last broken byte to be transmitted.
Valid only when broken byte flag is set.
Information in the following Applications section is not part of the TI component specification,
and TI does not warrant its accuracy or completeness. TI's customers are responsible for
determining suitability of components for their purposes. Customers should validate and test
their design implementation to confirm system functionality.
7.1TRF7964A Reader System Using SPI With SS Mode
7.1.1General Application Considerations
Figure 7-1 shows and application schematic optimized for all TRF7964A modes using the Serial Port
Interface (SPI). Short SPI lines, proper isolation of radio frequency lines, and a proper ground area are
essential to avoid interference. The recommended clock frequency on the DATA_CLK line is 2 MHz. This
figure also shows matching to a 50-Ω port, which allows connecting to a properly matched 50-Ω antenna
circuit or RF measurement equipment (for example, a spectrum analyzer or power meter).
7.1.2Schematic
Figure 7-1 shows a sample application schematic for SPI with an SS mode MCU interface.
TRF7964A
SLOS787J –MAY 2012–REVISED MARCH 2020
Figure 7-1. Application Schematic – SPI With SS Mode MCU Interface
Minimum MCU requirements depend on application requirements and coding style. If only one ISO
protocol or a limited command set of a protocol needs to be supported, MCU Flash and RAM
requirements can be significantly reduced. Recursive inventory and anticollision commands require more
RAM than single slotted operations. For example, an ISO/IEC 15693-only application that supports
anticollision needs approximately 7KB of flash memory and 500 bytes of RAM. In contrast, a full NFC
stack that supports peer-to-peer, card emulation, and reader/writer modes needs 65KB of flash memory
and 4KB of RAM. An MCU that can run its GPIOs at 13.56 MHz is required for direct mode 0 operations.
Keep all decoupling capacitors as close to the IC as possible, with the high-frequency decoupling
capacitors (10 nF) closer than the low-frequency decoupling capacitors (2.2 µF).
Place ground vias as close as possible to the ground side of the capacitors and reader IC pins to minimize
possible ground loops.
TI recommends not using any inductor sizes smaller than 0603, as the output power can be compromised.
If smaller inductors are necessary, output performance must be confirmed in the final application.
Pay close attention to the required load capacitance of the crystal, and adjust the two external shunt
capacitors accordingly. Follow the recommendations of the crystal manufacturer for those values.
There should be a common ground plane for the digital and analog sections. The multiple ground sections
or islands should have vias that tie the different sections of the planes together.
Ensure that the exposed thermal pad at the center of the reader IC is properly laid out. It should be tied to
ground to help dissipate any heat from the package.
All trace line lengths should be made as short as possible, particularly the RF output path, crystal
connections, and control lines from the reader to the microprocessor. Proper placement of the TRF7964A,
microprocessor, crystal, and RF connection or connector help facilitate this.
Avoid crossing of digital lines under RF signal lines. Also, avoid crossing of digital lines with other digital
lines when possible. If the crossings are unavoidable, 90° crossings should be used to minimize coupling
of the lines.
www.ti.com
Depending on the production test plan, consider possible implementations of test pads or test vias for use
during testing. The necessary pads or vias should be placed in accordance with the proposed test plan to
enable easy access to those test points.
If the system implementation is complex (for example, if the RFID reader module is a subsystem of a
greater system with other modules (microprocessors and clocks), special considerations should be taken
to ensure that there is no noise coupling into the supply lines. If needed, special filtering or regulator
considerations should be used to minimize or eliminate noise in these systems.
For more information/details on layout considerations, see the TRF796x HF-RFID Reader Layout Design
Guide.
7.3Impedance Matching TX_Out (Pin 5) to 50 Ω
The output impedance of the TRF7964A when operated at full power out setting is nominally 4 + j0 (4 Ω
real). This impedance must be matched to a resonant circuit and TI recommends matching circuit from
4 Ω to 50 Ω, as commercially available test equipment (for example, spectrum analyzers, power meters,
and network analyzers) are 50-Ω systems. Figure 7-2 shows an impedance-matching reference circuit.
Figure 7-3 shows a Smith chart simulation based on this circuit. This section explains how the values were
calculated.
Starting with the 4-Ω source, the process of going from 4 Ω to 50 Ω can be represented on a Smith Chart
simulator (available from http://www.fritz.dellsperger.net/). The elements are combined where appropriate
(see Figure 7-2).
Resulting power out can be measured with a power meter or spectrum analyzer with power meter function
or other equipment capable of making a "hot" measurement. Observe maximum power input levels on test
equipment and use attenuators whenever available to avoid damage to equipment. Expected output
power levels under various operating conditions are shown in Table 6-20.
7.4Reader Antenna Design Guidelines
For HF antenna design considerations using the TRF7964A, see these documents:
For more information on the TI NFC/RFID devices and the tools and software that are available to help
with your development, visit Overview for NFC / RFID.
8.2Device Nomenclature
To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of
devices. Each commercial family member has one of three prefixes: x, p, or no prefix. These prefixes
represent evolutionary stages of product development from engineering prototypes (with prefix x) through
fully qualified production devices (with no prefix).
Device development evolutionary flow:
xTRF... – Experimental device that is not necessarily representative of the electrical specifications of the
final device
pTRF... – Final device that conforms to the electrical specifications of the final product but has not
completed quality and reliability verification
TRF... – Fully qualified production device
Devices with a prefix of x or p are shipped against the following disclaimer:
www.ti.com
"Developmental product is intended for internal evaluation purposes."
Production devices have been characterized fully, and the quality and reliability of the device have been
demonstrated fully. TI's standard warranty applies.
Predictions show that prototype devices have a greater failure rate than the standard production devices.
TI recommends that these devices not be used in any production system because their expected end-use
failure rate still is undefined. Only qualified production devices are to be used.
TI device nomenclature also includes a suffix with the device family name. This suffix indicates the
package type and, optionally, the temperature range. Figure 8-1 provides a legend for reading the
complete device name.
BoosterPack plug-in module (DLP-7970ABP) is an add-on board designed to fit all of TI’s
MCU LaunchPad development kits. This BoosterPack plug-in module lets the software
application developer get familiar with the functionality of the TRF7970A multiprotocol fully
integrated 13.56 MHz NFC and HF RFID IC on their TI embedded microcontroller platform of
choice without having to worry about developing the RF section.
8.4Documentation Support
The following documents describe the TRF7964A device. Copies of these documents are available on the
Internet at www.ti.com.
Receiving Notification of Document Updates
To receive notification of documentation updates—including silicon errata—go to the product folder for
your device on ti.com (for example, TRF7964A). In the upper-right corner, click the "Alert me" button. This
registers you to receive a weekly digest of product information that has changed (if any). For change
details, check the revision history of any revised document.
Application Notes
Minimizing TRF79xx Current Use During Power‑‑Down ModeThisapplicationreportprovides
recommendations on circuit and firmware design to reduce current consumption in powerdown mode for the TRF79xx family of devices (TRF796x, TRF796xA, and TRF7970A).
Various designs are considered, and they are analyzed based on their current consumption.
This application report is particularly targeted for dual-voltage systems that are powered by
battery.
NFC/HF RFID Reader/Writer Using the TRF7970A The near field communication (NFC) market is
emerging into multiple fields including medical, consumer, retail, industrial, automotive, and
smart grid. Reader/writer is one of the three operational modes supported by the TRF7970A.
When using reader/writer mode, the user can configure the TRF7970A to read type 2, type
3, type 4A, type 4B, and type 5 tag platforms, also called transponders. The tags can store
NFC data exchange format (NDEF) messages or proprietary defined data. This application
report describes the fundamental concepts of reader/writer mode and how to properly
configure the TRF7907A transceiver for each supported technology.
TRF7970A NFC Reader Antenna MultiplexingThis application report describes the implementation of
multiple reader antennas with a single TRF7970A NFC transceiver IC. For demonstration
purposes, the MSP430F5529 LaunchPad development kit with TRF7970A BoosterPack
plug-in module are used. The demo supports ISO/IEC 15693, and ISO/IEC 14443 A and B
communication protocols.
NFC/RFID Reader Ultra-Low-Power Card Presence Detect With MSP430 and TRF79xxA NFCand
RFID reader battery-powered applications must have a defined and limited energy
consumption budget as well as low cost for a product to be realized. Techniques and
strategies have emerged over the years for the card presence detection that attempt to
address both concerns. The intent of this application report is to contribute to these
techniques and strategies by offering an advancement expressed by adding a simple circuit
and small firmware control logic loop to an existing design, which offers dramatic
improvement over previously identified card detection solutions.
8.5Support Resources
TI E2E™ support forums are an engineer's go-to source for fast, verified answers and design help —
straight from the experts. Search existing answers or ask your own question to get the quick design help
you need.
Linked content is provided "AS IS" by the respective contributors. They do not constitute TI specifications
and do not necessarily reflect TI's views; see TI's Terms of Use.
8.6Trademarks
E2E is a trademark of Texas Instruments.
MIFARE is a trademark of NXP Semiconductors.
FeliCa is a trademark of Sony Corporation.
8.7Electrostatic Discharge Caution
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with
appropriate precautions. Failure to observe proper handling and installation procedures can cause damage.
ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more
susceptible to damage because very small parametric changes could cause the device not to meet its published specifications.
www.ti.com
8.8Glossary
SLYZ022 — TI Glossary.
This glossary lists and explains terms, acronyms and definitions.
The following pages include mechanical, packaging, and orderable information. This information is the
most current data available for the designated devices. This data is subject to change without notice and
revision of this document. For browser-based versions of this data sheet, refer to the left-hand navigation.
TRF7964ARHBRACTIVEVQFNRHB323000RoHS & GreenNIPDAULevel-2-260C-1 YEAR-40 to 110TRF
TRF7964ARHBTACTIVEVQFNRHB32250RoHS & GreenNIPDAULevel-2-260C-1 YEAR-40 to 110TRF
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
Package Type Package
(1)
Drawing
Pins Package
Qty
Eco Plan
(2)
Lead finish/
Ball material
(6)
MSL Peak Temp
(3)
Op Temp (°C)Device Marking
(4/5)
7964A
7964A
(2)
RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead finish/Ball material - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material values may wrap to two
lines if the finish value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Images above are just a representation of the package family, actual package may vary.
Refer to the product data sheet for package details.
www.ti.com
4224745/A
PACKAGE OUTLINE
PIN 1 INDEX AREA
1 MAX
0.05
0.00
28X 0.5
SCALE 3.000
VQFN - 1 mm max heightRHB0032E
PLASTIC QUAD FLATPACK - NO LEAD
A
9
8
5.1
4.9
2X 3.5
3.45 0.1
16
B
5.1
4.9
EXPOSED
THERMAL PAD
17
OPTIONAL METAL THICKNESS
C
SEATING PLANE
0.08 C
SEE SIDE WALL
DETAIL
(0.1)
SIDE WALL DETAIL
20.000
(0.2) TYP
2X
3.5
PIN 1 ID
(OPTIONAL)
33
1
32
SYMM
32X
25
0.5
0.3
SYMM
24
0.3
32X
0.2
0.1C A B
0.05
C
4223442/B 08/2019
NOTES:
1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing
per ASME Y14.5M.
2. This drawing is subject to change without notice.
3. The package thermal pad must be soldered to the printed circuit board for thermal and mechanical performance.
www.ti.com
32X (0.6)
32
EXAMPLE BOARD LAYOUT
VQFN - 1 mm max heightRHB0032E
PLASTIC QUAD FLATPACK - NO LEAD
( 3.45)
SYMM
25
32X (0.25)
28X (0.5)
( 0.2) TYP
VIA
(R0.05)
TYP
1
33
8
9
(4.8)
(1.475)
16
24
(1.475)
SYMM
(4.8)
17
LAND PATTERN EXAMPLE
SCALE:18X
0.07 MAX
ALL AROUND
METAL
SOLDER MASK
OPENING
NON SOLDER MASK
DEFINED
(PREFERRED)
0.07 MIN
ALL AROUND
SOLDER MASK
OPENING
METAL UNDER
SOLDER MASK
SOLDER MASK
DEFINED
SOLDER MASK DETAILS
4223442/B 08/2019
NOTES: (continued)
4. This package is designed to be soldered to a thermal pad on the board. For more information, see Texas Instruments literature
number SLUA271 (www.ti.com/lit/slua271).
5. Vias are optional depending on application, refer to device data sheet. If any vias are implemented, refer to their locations shown
on this view. It is recommended that vias under paste be filled, plugged or tented.
www.ti.com
(R0.05) TYP
32X (0.6)
32
EXAMPLE STENCIL DESIGN
VQFN - 1 mm max heightRHB0032E
PLASTIC QUAD FLATPACK - NO LEAD
4X ( 1.49)
(0.845)
25
32X (0.25)
28X (0.5)
METAL
TYP
1
33
8
9
SYMM
16
24
(0.845)
SYMM
(4.8)
17
(4.8)
SOLDER PASTE EXAMPLE
BASED ON 0.125 mm THICK STENCIL
EXPOSED PAD 33:
75% PRINTED SOLDER COVERAGE BY AREA UNDER PACKAGE
NOTES: (continued)
6. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate
design recommendations.
SCALE:20X
4223442/B 08/2019
www.ti.com
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third
party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims,
damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on
ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable
warranties or warranty disclaimers for TI products.