• Completely Integrated Protocol Handling• Parallel 8-Bit or Serial 4-Pin SPI Interface With
• Separate Internal High-PSRR Power Supplies
for Analog, Digital, and PA Sections Provide• Ultra-Small 32-Pin QFN Package
Noise Isolation for Superior Read Range and(5 mm × 5 mm)
Reliability
• Dual Receiver Inputs With AM and PM
Demodulation to Minimize Communication
Holes
• Receiver AM and PM RSSI
• Reader-to-Reader Anti-Collision
• High Integration Reduces Total BOM and Board
Area
– Single External 13.56-MHz Crystal Oscillator
– MCU-Selectable Clock-Frequency Output of
RF, RF/2, or RF/4
– Adjustable 20-mA, High-PSRR LDO for
Powering External MCU
• Easy to Use With High Flexibility
– Auto-Configured Default Modes for Each
Supported ISO Protocol
– 12 User-Programmable Registers
– Selectable Receiver Gain and AGC
– Programmable Output Power
(100 mW or 200 mW)
– Adjustable ASK Modulation Range
(8% to 30%)
– Built-In Receiver Band-Pass Filter With
User-Selectable Corner Frequencies
• Wide Operating Voltage Range of 2.7 V to 5.5 V
• Ultra-Low-Power Modes
– Power Down < 1 μA
– Standby 120 μA
– Active (Rx only) 10 mA
MCU Using 12-Byte FIFO
• Available Tools
– Reference Design/EVM With Development
Software
– Source Code Available for MSP430
1.2APPLICATIONS
•Secure Access Control
•Product Authentication
– Printer Ink Cartridges
– Blood Glucose Monitors
•Contactless Payment Systems
•Medical Systems
1.3Description
The TRF7960/61 is an integrated analog front end and data-framing system for a 13.56-MHz RFID reader
system. Built-in programming options make it suitable for a wide range of applications for proximity and
vicinity RFID systems.
The reader 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.
1
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas
Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
2Tag-it is a trademark of Texas Instruments Incorporated.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testingof all parameters.
A parallel or serial interface can be implemented for communication between the MCU and reader.
Transmit and receive functions use internal encoders and decoders with a 12-byte FIFO register. For
direct transmit or receive functions, the encoders / decoders can be bypassed so the MCU can process
the data in real time. The transmitter has selectable output power levels of 100 mW (20 dBm) or 200 mW
(23 dBm) into a 50-Ω load (5 -V supply) and is capable of ASK or OOK modulation. Integrated voltage
regulators ensure power-supply noise rejection for the complete reader system.
www.ti.com
Figure 2-1. Typical Application
Data transmission comprises low-level encoding for ISO15693, modified Miller for ISO14443-A,
high-bit-rate systems for ISO14443 and Tag-it coding systems. Included with the data encoding is
automatic generation of SOF, EOF, CRC, and / or parity bits.
The receiver system enables AM and PM demodulation using a dual-input architecture. The receiver also
includes an automatic gain control option and selectable gain. Also included is a selectable bandwidth to
cover a broad range of input sub-carrier signal options. The received signal strength for AM and PM
modulation is accessible via the RSSI register. The receiver output is a digitized sub-carrier signal among
a selectable protocol and bit rate as outlined in Table 5-11. A selected decoder delivers bit stream and a
data clock as outputs.
The receiver system also includes a framing system. This system performs CRC and / or parity check,
removes the EOF and SOF settings, and organizes the data in bytes. Framed data is then accessible to
the MCU via a 12-byte FIFO register and MCU interface. The framing supports ISO14443 and ISO15693
protocols.
The TRF7960/61 supports data communication levels from 1.8 V to 5.5 V for the MCU I/O interface, while
also providing a data synchronization clock. An auxiliary 20-mA regulator (pin 32) is available for
additional system circuits.
VDD_A1OUTInternal regulated supply (2.7 V – 3.4 V) for analog circuitry
VIN2SUPExternal supply input to chip (2.7 V – 5.5 V)
VDD_RF3OUTInternal regulated supply (2.7 V – 5 V), normally connected to VDD_PA (pin 4)
VDD_PA4INPSupply for PA; normally connected externally to VDD_RF (pin 3)
TX_OUT5OUTRF output (selectable output power, 100 mW at 8 Ω or 200 mW at 4 Ω, with VDD = 5 V)
VSS_RF6SUPNegative supply for PA; normally connected to circuit ground
VSS_RX7SUPNegative supply for RX inputs; normally connected to circuit ground
RX_IN18INPRX input, used for AM reception
RX_IN29INPRX input, used for PM reception
VSS10SUPChip substrate ground
BAND_GAP11OUTBand-gap voltage (1.6 V); internal analog voltage reference; must be ac-bypassed to ground.
ASK/OOK12BID
IRQ13OUTInterrupt request
MOD14INPDirect mode, external modulation input
VSS_A15SUPNegative supply for internal analog circuits; normally connected to circuit ground
VDD_I/O16SUP
I/O_017BIDI/O pin for parallel communication
I/O_118BIDI/O pin for parallel communication
I/O_219BIDI/O pin for parallel communication
I/O_320BIDI/O pin for parallel communication
I/O_421BIDI/O pin for parallel communication
TYPE
(1)
Also can be configured to provide the received analog signal output (ANA_OUT)
Direct mode, selection between ASK and OOK modulation (0 = ASK, 1 = OOK)
Supply for I/O communications (1.8 V – 5.5 V). Should be connected to VIN for 5-V
communication, VDD_X for 3.3-V communication, or any other voltage from 1.8 V to 5.5 V.
I/O_522BIDStrobe out clock for serial communication
I/O_623BIDMISO for serial communication (SPI)
I/O_724BID
EN225INPactive during power down to support the MCU. Pin can also be used for pulse wake-up from
DATA_CLK26INPClock input for MCU communication (parallel and serial)
SYS_CLK27OUT
EN28INPChip enable input (If EN = 0, then chip is in power-down mode).
VSS_D29SUPNegative supply for internal digital circuits; normally connected to circuit ground
OSC_OUT30OUTCrystal oscillator output
OSC_IN31INPCrystal oscillator input
VDD_X32OUTInternally regulated supply (2.7 V – 3.4 V) for external circuitry (MCU)
Thermal PadConnected to circuit ground
TYPE
(1)
I/O pin for parallel communication
Data clock output in direct mode
I/O pin for parallel communication
Serial bit data output in direct mode 1 or sub-carrier signal in direct mode 0
I/O pin for parallel communication.
MOSI for serial communication (SPI)
Pulse enable and selection of power down mode. If EN2 is connected to VIN, then VDD_X is
power-down mode.
Clock for MCU (3.39 / 6.78 / 13.56 MHz) at EN = 1 and EN2 = don't care
If EN = 0 and EN2 = 1, then system clock is set to 60 kHz
DESCRIPTION
3.2PACKAGING/ORDERING INFORMATION
PACKAGED DEVICESPACKAGE TYPE
TRF7960RHBTTape and reel250
TRF7960RHBRTape and reel3000
TRF7961RHBTTape and reel250
TRF7961RHBRTape and reel3000
(1) For the most current package and ordering information, see the Package Option Addendum at the end of this document, or see the TI
Web site at www.ti.com.
(2) Package drawings, standard packing quantities, thermal data, symbolization, and PCB design guidelines are available at
over operating free-air temperature range (unless otherwise noted)
VINSupply voltage6V
I
O
T
J
T
stg
(1) The absolute maximum ratings under any condition is limited by the constraints of the silicon process. Stresses above these ratings may
(2) The maximum junction temperature for continuous operation is limited by package constraints. Operation above this temperature may
Output current150mA
Continuous power dissipationSee Dissipation Ratings Table
Maximum junction temperature, any condition
Maximum junction temperature, continuous operation, long-term reliability
Storage temperature range–55 to 150°C
Lead temperature 1,6 mm (1/16 inch) from case for 10 seconds300°C
HBM (human body model)2kV
ESDS ratingCDM (charged device model)500
MM (machine model)200
cause permanent damage. Exposure to absolute maximum conditions for extended periods may degrade device reliability. These are
stress ratings only and functional operation of the device at these or any other conditions beyond those specified are not implied.
result in reduced reliability and/or lifetime of the device.
(2)
(1)
VALUEUNIT
140°C
(2)
125°C
V
4.2DISSIPATION RATINGS TABLE
θ
PACKAGE
RHB (32)3136.42.7 W1.1 W
(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 point where 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.
JC
(°C/W)(°C/W)
(1)
θ
JA
TA≤ 25°CTA= 85°C
POWER RATING
(2)
4.3RECOMMENDED OPERATING CONDITIONS
over operating free-air temperature range (unless otherwise noted)
MINTYPMAXUNIT
VINSupply voltage2.755.5V
T
J
T
A
Operating virtual junction temperature range–40125°C
Operating ambient temperature range–4025110°C
The positive supply pin, VIN (pin 2) has an input voltage range of 2.7 V to 5.5 V. The positive supply input
sources three internal regulators with output voltages V
capacitors for supply noise filtering. These regulators provide enhanced PSRR for the RFID reader
system.
The regulators are not independent and have common control bits for output voltage setting. The
regulators can be configured to operate in either automatic or manual mode. The automatic regulator
mode setting ensures an optimal compromise between regulator PSRR and highest possible supply
voltage for RF output power. Whereas, the manual mode allows the user to manually configure the
regulator settings.
V
DD_RF
V
DD_A
The regulator V
be set for either 5-V or 3-V operation. When configured for the 5-V operation, the output
voltage can be set from 4.3 V to 5 V in 100-mV steps. The current sourcing capability for 5-V
operation is 150 mA maximum over the adjusted output voltage range.
When configured for 3-V operation, the output can be set from 2.7 V to 3.4 V, also in 100-mV
steps. The current sourcing capability for 3-V operation is 100 mA maximum over the adjusted
output voltage range.
Regulator V
setting is divided in two ranges. When configured for 5-V operation, the output voltage is fixed
at 3.5 V.
SLOU186F–AUGUST 2006–REVISED AUGUST 2010
, V
DD_RF
(pin 3) is used to source the RF output stage. The voltage regulator can
DD_RF
(pin 1) supplies voltage to analog circuits within the reader chip. The voltage
DD_A
DD_A
and V
that use external bypass
DD_X
When configured for 3-V operation, the output can be set from 2.7 V to 3.4 V in 100-mV steps.
Note that when configured, both V
(their settings are not independent).
V
DD_X
Regulator V
(pin 32) can be used to source the digital I/O of the reader chip together with
DD_X
other external system components. When configured for 5-V operation, the output voltage is
fixed at 3.4 V.
When configured for 3-V operation, the output voltage can be set from 2.7 to 3.4 V in 100-mV
steps. The total current sourcing capability of the V
adjusted output range. Note that when configured, both V
configured together (their settings are not independent).
V
DD_PA
The V
pin (pin 4) is the positive supply pin for the RF output stage and is externally
DD_PA
connected to the regulator output V
5.1.1Negative Supply Connections
The negative supply connections are all externally connected together (to GND). The substrate connection
is VSS(pin 10), the analog negative supply is V
the RF output stage negative supply is V
V
SS_RX
(pin 7).
5.1.2Digital I/O Interface
To allow compatible I/O signal levels, the TRF7960/61 has a separate supply input V
an input voltage range of 1.8 V to 5.5 V. This pin 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
V
to ensure that the I/O signal levels of the MCU are the same as the internal logic levels of the
DD_X
reader.
and V
DD_A
(pin 3).
DD_RF
(pin 15), the logic negative supply is V
SS_A
(pin 6), and the negative supply for the RF receiver input is
The supply regulators can be automatically or manually configured by the control bits. The available
options are shown in Table 5-1 through Table 5-4. Table 5-1 shows a 5-V system and the manual-mode
regulator settings. Table 5-2 shows manual mode for selection of a 3-V system. Table 5-3 and Table 5-4
show the automatic-mode gain settings for 5-V and 3-V systems.
The automatic mode is the default configuration. In automatic mode, the regulators are automatically set
every time the system is activated by asserting the EN input HIGH. The internal regulators are also
automatically reconfigured every time the automatic regulator selection bit is set HIGH (on the rising
edge).
The user can re-run the automatic mode setting from a state in which the automatic setting bit is already
high by changing the automatic setting bit from high to low to high. The regulator-configuration algorithm
adjusts the regulator outputs 250 mV below the VINlevel, but not higher than 5 V for V
V
, and 3.4 V for V
DD_A
maintaining an adequate PSRR (power supply rejection ratio). As an example, the user can improve the
PSRR if there is a noisy supply voltage from V
V
regulator as shown for automatic regulator settings in Table 5-3 and Table 5-4.
DD_X
Table 5-1. Supply-Regulator Setting – Manual – 5-V System
The chip has seven power states, which are controlled by two input pins (EN and EN2) and three bits in
the chip status control register (00h).
The main reader enable input is EN (which has a threshold level of 1 V minimum). Any input signal level
from 1.8 V to VINcan be used. When EN is set high, all of the reader regulators are enabled, together with
the 13.56-MHz oscillator, while the SYS_CLK (output clock for external micro controller) is made available.
The auxiliary-enable input EN2 has two functions. A direct connection from EN2 to VINensures availability
of the regulated supply (V
) and an auxiliary clock signal (60 kHz) on the SYS_CLK output (same for
DD_X
the case EN = 0). This mode is intended for systems in which the MCU controlling the reader is also being
supplied by the reader supply regulator (V
) and the MCU clock is supplied by the SYS_CLK output of
DD_X
the reader. This allows the MCU supply and clock to be available during power-down.
A second function of the EN2 input is to enable 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 a 1-V threshold level) starts the reader supply system and 13.56-MHz
oscillator (identical to condition EN = 1). 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 by the MCU (or other system
device), the reader stays active. If the EN input is not set high 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. This option can be used to wake the reader system
from complete power down by using a push-button switch or by sending a single pulse.
After the reader EN line is high, the other power modes are selected by control bits. The power mode
options and functions are listed in Table 5-5.
Table 5-5. Power Modes
ByteOption Bits Setting in Chip Status Control RegisterENEN2 FunctionalityCurrent
Address
B7B6B5B4B3B2B1B0
STBYRFONRF PWRREC ON
0000Complete power down<1 μA
0001VDD_X available120 μA
SYS_CLK auxiliary frequency 60 kHz is ON
001xxx1xAll supply regulators active and in low power1.5 mA
mode
13.56-MHz oscillator ON
SYS_CLK clock available
0000x01xAll supply regulators active3.5 mA
13.56-MHz oscillator ON
SYS_CLK clock available
0000x11xAll supply regulators active10 mA
13.56-MHz oscillator ON
SYS_CLK clock available
Receiver active
00011x1xAll supply regulators active70 mA
13.56-MHz oscillator ON(at 5 V)
SYS_CLK clock available
Receiver active
Transmitter active – half-power mode
00010x1xAll supply regulators active120 mA
13.56-MHz oscillator running(at 5 V)
SYS_CLK clock available
Receiver active
Transmitter active – full-power mode
During reader inactivity, the TRF7960/61 can be placed in power down-mode (EN = 0). The power down
can be complete (EN = 0, EN2 = 0) with no function running, or partial (EN = 0, EN2 = 1) where the
regulated supply (V
) and auxiliary clock 60 kHz (SYS_CLK) are available to the MCU or other system
DD_X
device.
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 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 selected
frequency derived from the crystal oscillator. At this point, the reader is ready to communicate and perform
the required tasks. The control system (MCU) can then write appropriate bits to the chip status control
register (address 00) and select the operation mode.
The STANDBY mode (bit 7 = 1 of register 00) is the active mode with the lowest current consumption. The
reader is capable of recovering from this mode to full operation in 100 μs.
The active mode with RF section disabled (bit 5 = 0 and bit 1 = 0 of register 00) is the next active mode
with low power consumption. The reader is capable of recovering from this mode to full operation in 25 μs.
The active mode with only the RF receiver section active (bit 1 = 1 of register 00) can be used to measure
the external RF field (as described in RSSI measurements paragraph) if reader-to-reader anticollision is
implemented.
The active mode with the entire RF section active (bit 5 = 1 of register 00) is the normal mode used for
transmit and receive operations.
The TRF7960/61 has two receiver inputs, RX_IN1 (pin 8) and RX_IN2 (pin 9). The two inputs are
connected to an external filter to ensure that AM modulation from the tag is available on at least one of the
two inputs. The external filter provides a 45° phase shift for the RX_IN2 input to allow further processing of
a received PM-modulated signal (if it appears) from the tag. This architecture eliminates any possible
communication holes that may occur from the tag to the reader.
The two RX inputs are multiplexed to two receiver channels: the main receiver and the auxiliary receiver.
Receiver input multiplexing is controlled by control bit B3 (pm-on) in the chip status control register
(address 00). The main receiver is composed of an RF-detection stage, gain, filtering with AGC, and a
digitizing stage whose 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.
The primary function of the auxiliary receiver is to measure the RSSI of the modulation signal. It also has
similar RF-detection, gain, filtering with AGC, and RSSI blocks.
The default setting is RX_IN1 connected to the main receiver and RX_IN2 connected to the auxiliary
receiver (bit pm_on = 0). When a response from the tag is detected by the RSSI, values on both inputs
are measured and stored in the RSSI level register (address 0F). The control system reads the RSSI
values and switches to the stronger receiver input (RX_IN1 or RX_IN2 by setting pm_on = 1).
The receiver input stage is an RF level detector. The RF amplitude level on RX_IN1 and RX_IN2 inputs
should be approximately 3 VPPfor 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. Note: VINis the main supply voltage to
the device at pin 2.
SLOU186F–AUGUST 2006–REVISED AUGUST 2010
The first gain and filtering stage following the RF-envelope detector has a nominal gain of 15 dB with an
adjustable bandpass filter. The bandpass filter has adjustable 3-dB frequency steps (100 kHz to 400 kHz
for high pass and 600 kHz to 1500 kHz for low pass). Following the bandpass filter is another
gain-and-filtering stage with a nominal gain of 8 dB and with frequency characteristics identical to the first
stage.
The internal filters are configured automatically, with internal presets for each new selection of a
communication standard in the ISO control register (address 01). If required, additional fine tuning can be
accomplished by writing directly to the RX special setting registers (address 0A).
The second receiver gain stage and digitizer stage are included in the AGC loop. The AGC loop is
activated by setting the bit B2 = 1 (agc-on) in the chip status control register (address 00). When
activated, the AGC continuously monitors the input signal level. If the signal level is significantly higher
than an internal threshold level, gain reduction is activated. AGC activation is by default five times the
internal threshold level. It can be reduced to three times the internal level by setting bit B1 = 1 (agcr) in the
RX special setting register (address 0A). The AGC action is fast, typically finishing after four sub-carrier
pulses. By default, the AGC action is blocked after the first few pulses of the sub-carrier signal. This
prevents the AGC from interfering with the reception of the remaining data packet. In certain situations,
this type of blocking is not optimal, so it can be removed by setting B0 = 1 (no_lim) in the RX specialsetting register (address 0A).
The bits of the RX special settings register (address 0A), which control the receiver analog section, are
shown in Table 5-20.
5.2.1Received Signal Strength Indicator (RSSI)
The RSSI measurement block measures the demodulated signal (except in the case of a direct command
for RF-amplitude measurement described in the Direct Commands section). The measuring system
latches the peak value, so the RSSI level can be read after the end of the receive packet. The RSSI
register values reset with every transmission by the reader. This allows an updated RSSI measurement
for each new tag response.
As an example, from Table 5-7, let B2 = 1, B1 = 1, B0 = 0; this yields an RSSI value of 6. From Table 5-6
a Bit value of 6 would yield an RSSI level of 20 mVpp.
Table 5-7. RSSI Bit Value and Oscillator Status Register (0F)
BitSignal NameFunctionComments
B7Unused
B6osc_okCrystal oscillator stable
B5rssi_x2MSB of auxiliary receiver RSSI
B4rssi_x1Auxiliary receiver RSSI
B3rssi_x1LSB of auxiliary receiver RSSI
B2rssi_2MSB of main receiver RSSI
B1rssi_1Main receiver RSSI
B0rssi_0LSB of main receiver RSSI
4 dB per step
www.ti.com
5.2.2Receiver – Digital Section
The received sub-carrier is digitized to form a digital representation of the modulated RF envelope. This
digitized signal is applied to digital decoders and framing circuits for further processing.
The digital part of the receiver consists of two sections, which partly overlap. The first section is the bit
decoders for the various protocols, whereas the second section consists of framing logic. The bit decoders
convert the sub-carrier coded signal to a bit stream and also to the data clock. Thus, the sub-carrier-coded
signal is transformed to serial data and the data clock is extracted. The decoder logic is designed for
maximum error tolerance. This enables the decoders to successfully decode even partly corrupted (due to
noise or interference) sub-carrier signals.
In the framing section, the serial bit-stream data is formatted in bytes. In this process, special signals like
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 checked and also removed. The end result is
clean or raw data, which is sent to the 12-byte FIFO register where it can be read by the external
microcontroller system.
The start of the receive operation (successfully received SOF) sets the flags in the IRQ and status
register. The end of the receive operation is indicated to the external system (MCU) by sending an
interrupt request (pin 13 IRQ). If the receive data packet is longer than 8 bytes, 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.
Any error in data format, parity, or CRC is detected, and the external system is notified of the error by an
interrupt-request pulse. The source condition of the interrupt-request pulse is available in the IRQ andstatus register (address 0C). The bit-coding description of this register is given in Table 5-22.
The main register controlling the digital part of the receiver is the ISO control register (address 01). By
writing to this register, the user selects the protocol to be used. With each new write in this register, the
default presets are loaded in all related registers, so no further adjustments in other registers are needed
for proper operation.
Table 5-10 shows the coding of the ISO control register. Note that the TRF7961 does not include the
ISO14443 functionality; its features/commands in this area are non-functional.
The framing section also supports the bit-collision detection as specified in ISO14443A. When a bit
collision is detected, an interrupt request is sent and flag set in the IRQ and status register. The position of
the bit collision is written in two registers. Register collision position, with address 0E, and in register
collision position and interrupt mask (address 0D), in which only the bits B7 and B6 are used for collision
position. The collision position is presented as a sequential bit number, where the count starts immediately
after the start bit. For example, the collision in the first bit of the UID would give the value 00 0001 0000 in
the collision-position registers. The count starts with 0, and the first 16 bits are the command code and the
NVB byte. Note: the NVB byte is the number of valid bits.
The receive section also has two timers. The RX-wait-time timer is controlled by the value in the RX waittime register (address 08). 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 (address 01) 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 (address 07). This timer
measures the time from the start of slot in the anti-collision 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 statuscontrol register. 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.
SLOU186F–AUGUST 2006–REVISED AUGUST 2010
5.2.3Transmitter
The transmitter section consists of the 13.56-MHz oscillator, digital protocol processing, and RF output
stage.
5.2.3.1Transmitter – Analog
The 13.56-MHz crystal oscillator (connected to pins 31 and 32) directly generates the RF frequency for the
RF output stage. Additionally, it also generates the clock signal for the digital section and clock signal
displayed for the SYS_CLK (pin 27) which can be used by an external MCU system.
During partial power-down mode (EN = 0, EN2 = 1), the frequency of SYS_CLK is 60 kHz. During normal
reader operation, SYS_CLK can be programmed by bits B4 and B5 in the modulator and SYS_CLKcontrol register (address 09); available clock frequencies are 13.56 MHz, 6.78 MHz, or 3.39 MHz.
The reference crystal (HC49U) should have the following characteristics:
ParameterSpecification
Frequency13.560000 MHz
Mode of operationFundamental
Type of resonanceParallel
Frequency tolerance±20 ppm
Aging< 5 ppm/year
Operation temperature range–40°C to 85°C
Equivalent series resistance50 Ω, minimum
The crystal oscillator’s two external shunt capacitor values are calculated based on the
crystal’s specified load capacitance. The external capacitors (connected to the OSC pins 30
and 31), are calculated as two capacitors in series plus CS(oscillator's gate internal
input/output capacitance plus PCB stray capacitance). The stray capacitance (CS) can be
estimated at approximately 5 ±2 pF (typical).
As an example, given a crystal with a required load capacitance (CL) of 18 pF,
CL= ((C1× C2) / (C1+ C2)) + C
18 pF = ((27 pF × 27 pF) / (27 pF + 27 pF)) + 4.5 pF
Hence, from this example, a 27-pF capacitor would be placed on pins 30 and 31 to ensure
proper crystal oscillator operation.
The transmit power level is selectable between half power of 100 mW (20 dBm) or full power of 200 mW
(23 dBm) when configured for 5-V automatic operation. The transmit output impedance is 8 Ω when
configured for half power and 4 Ω when configured for full power. Selection of the transmit power level is
set by bit B4 (rf_pwr) in the chip status control register (Table 5-9). When configured for 3-V automatic
operation, the transmit power level is typically selectable between 33 mW (15 dBm) in half-power mode
and 70 mW (18 dBm) in full-power mode (Vdd_RF at 3.3 V). Note that lower operating voltages result in
reduced transmit power levels.
www.ti.com
NOTE
S
In normal operation, the transmit modulation is configured by the selected ISO control register (address
01). External control of the transmit modulation is possible by setting the ISO control register (address 01)
to direct mode. While 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 = 1 (en_ook_p) in the modulator and SYS_CLK control register (address 09). ASK modulation
depth is controlled by bits B0, B1 and B2 in the Modulator and SYS_CLK Control register (address 09).
The range of the ASK modulation is 7%–30%, or 100% (OOK).
The coding of the modulator and SYS_CLK control register is shown in Table 5-19.
The length of the modulation pulse is defined by the protocol selected in the ISO control register. 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
register. If the register contains all zeros, then the pulse length is governed by the protocol selection. If the
register contains a value other than 00h, the pulse length is equal to the value of the register in 73.7-ns
increments. This means the range of adjustment can be between 73.7 ns and 18.8 μs.
5.2.3.2Transmitter - Digital
The digital portion of the transmitter is very similar to that of the receiver. Before beginning data
transmission, the FIFO should be cleared with a Reset command (0F). Data transmission is initiated with a
selected command (described in the Direct Commands section, Table 5-29). The MCU then commands
the reader to do a continuous Write command (3Dh, see Table 5-31) starting from register 1Dh. Data
written into register 1Dh is the TX length byte1 (upper and middle nibbles), while the following byte in
register 1Eh is the TX length byte2 (lower nibble and broken byte length). The TX byte length determines
when the reader sends the EOF byte. After the TX length bytes, FIFO data is loaded in register 1Fh with
byte storage locations 0 to 11. Data transmission begins automatically after the first byte is written into the
FIFO. The TX length bytes and FIFO can be loaded with a continuous-write command because the
addresses are sequential.
If the data length is longer than the allowable size of the FIFO, the external system (MCU) is warned when
the majority of data from the FIFO has already been transmitted by sending an interrupt request with a
flag in the IRQ register signaling FIFO low/high status. The external system should respond by loading the
next data packet into the FIFO.
At the end of the transmit operation, the external system is notified by another interrupt request with a flag
in the IRQ register that signals the end of TX.
The TX length register also supports incomplete bytes transmitted. The high two nibbles in register 1D and
the nibble composed of bits B4–B7 in register 1E store the number of complete bytes to be transmitted.
Bit 0 (in register 1E) is a flag that signals the presence of additional bits to be transmitted that do not form
a complete byte. The number of bits are stored in bits B1–B3 of the same register (1E).
The protocol is selected by the ISO control register (address 01), which also selects the receiver protocol.
As defined by the selected protocol, the reader automatically adds all the special signals, like start of
communication, end of communication, SOF, EOF, parity bits, and CRC bytes. The data is then coded to
the modulation pulse level and sent to the modulation control of the RF output stage. This means that the
external system is only required to load the FIFO with data, and all the low-level coding is done
automatically. Also, all registers used in transmission are automatically preset to the optimum value when
a new selection is entered into the ISO control register.
Some protocols have options; two registers are provided to select the TX-protocol options. The first such
register is ISO14443B TX options (address 02). It controls the SOF and EOF selection and EGT (extra
guard time) selection for the ISO14443B protocol. The bit definitions of this register are given in
Table 5-12.
The second register controls the ISO14443 high bit-rate options. This register enables the use of different
bit rates for RX and TX operations in the ISO14443 high bit-rate protocol. Additionally, it also selects the
parity system for the ISO14443A high bit-rate selection. The bit definitions of this register are given in
Table 5-13.
SLOU186F–AUGUST 2006–REVISED AUGUST 2010
The transmit section also has a timer that can be used to start the transmit operation at a precise time
interval from a selected event. This is necessary if the tag requires a reply in an exact window of time
following the tag response. The TX timer uses two registers (addresses 04 and 05). In first register
(address 04); two bits (B7 and B6) are used to define the trigger conditions. The remaining 6 bits are the
upper bits and the 8 bits in register address 05 are lower bits, which are preset to the counter. The
increment is 590 ns and the range of this counter is from 590 ns to 9.7 ms. The bit definitions (trigger
conditions) are shown in Table 5-14.
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
sub-carrier signal (digitized RF envelope signal) on I/O_6 (pin 23).
Direct mode1 (bit 6 = 1, as defined in ISO control register) uses the sub-carrier signal decoder of the
selected protocol (as defined in ISO control register). This means that the receive output is not the
sub-carrier 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 ISOcontrol register. This bit determines if the receive output is the direct sub-carrier 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 5-4 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 via a 12-byte FIFO.
Mode 2: Full ISO With Framing and Error Checking (Typical Mode)
AnalogFrontEnd(AFE)
Packetization/Framing
14443A14443B15693
Tag-it
ISOEncoder/Decoders
Mode0:
Raw,Sub-CarrierData
Mode1:
Un-FramedRawISO
FormattedData
TRF7960
TRF7961
www.ti.com
SLOU186F–AUGUST 2006–REVISED AUGUST 2010
Figure 5-4. User-Configurable Modes
5.2.5Register Preset
After power-up and the EN pin low-to-high transition, the reader is in the default mode. The default
configuration is ISO15693, single sub-carrier, high data rate, 1-out-of-4 operation. The low-level option
registers (02…0B) are automatically set to adapt the circuitry optimally to the appropriate protocol
parameters.
When entering another protocol (writing to the ISO control register 01), the low-level option registers
(02…0B) 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 the user must reload the
custom settings.
The Clo1 and Clo0 (register 09) bits, which define the microcontroller frequency available on the
SYS_CLK pin, are the only two bits in the configuration registers that are not cleared during protocol
selection.
Controls the ISO selection
Register default is 0x02, which is ISO15693 high bit rate, one sub-carrier, 1 out of 4. It is preset at EN = L or POR = H.
BitBit NameFunctionComments
B7rx_crc_nReceiving without CRC1 = no RX CRC
B6dir_modeDirect mode type0 = output is sub-carrier data.
B5rfidRFID modeShould always be set to 0
B4iso_4
B3iso_3
B2iso_2RFID modeSee Table 5-11
B1iso_1
B0iso_0
0 = RX CRC
1 = output is bit stream (I/O_6) and bit clock (I/O_5) from decoder selected by ISO bits
Table 5-11. RFID Mode Selections
Iso_4 Iso_3Iso_2Iso_1 Iso_0 ProtocolRemarks
00000ISO15693 low bit rate6.62 kbpsone sub-carrier1 out of 4
00001ISO15693 low bit rate6.62 kbpsone sub-carrier1 out of 256
00010ISO15693 high bit rate26.48 kbpsone sub-carrier1 out of 4Default for reader
00011ISO15693 high bit rate26.48 kbpsone sub-carrier1 out of 256
00100ISO15693 low bit rate6.67 kbpsdouble sub-carrier1 out of 4
00101ISO15693 low bit rate6.67 kbpsdouble sub-carrier1 out of 256
00110ISO15693 high bit rate26.69 kbpsdouble sub-carrier1 out of 4
00111ISO15693 high bit rate26.69 kbpsdouble sub-carrier1 out of 256
01000ISO14443A bit rate106 kbpsRX bit rate when
01001ISO14443A high bit rate 212 kbps
01010ISO14443A high bit rate 424 kbps
01011ISO14443A high bit rate 848 kbps
01100ISO14443B bit rate106 kbpsRX bit rate when
01101ISO14443B high bit rate 212 kbps
01110ISO14443B high bit rate 424 kbps
01111ISO14443B high bit rate 848 kbps
10011Tag-it
5.3.2Control Registers – Sub Level Configuration Registers
Table 5-12. ISO14443B TX Options (02h)
Selects the ISO subsets for ISO14443B – TX
Register default is set to 0x00 at POR = H or EN = L
BitBit NameFunctionComments
B7egt2TX EGT time select MSBThree bit code defines the number of etu (0-7) which
B6egt1TX EGT time select
B5egt0TX EGT time select LSB
B4eof_l01 = EOF,0 length 11 etuISO14443B TX only
0 = EOF,0 length 10 etu
B3sof_l11 = SOF,1 length 03 etu
0 = SOF,1 length 02 etu
B2sof _l01 = SOF,0 length 11 etu
0 = SOF,0 length 10 etu
B1l_egt1 = EGT after each byte
0 = EGT after last byte is omitted
B0Unused
Table 5-13. ISO 14443A High-Bit-Rate Options (03h)
separate two characters. ISO14443B TX only
Parity
Register default is set to 0x00 at POR = H, or EN = L and at each write to ISO control register
BitBit NameFunctionComments
B7dif_tx_brTX bit rate different than RX bit rate enableValid for ISO14443A/B high bit rate
B6tx_br1TX bit ratetx_br1 = 0, tx_br = 0106 kbps
B5tx_br0
B4parity-2tx1 = parity odd except last byte which is even for TXFor 14443A high bit rate, coding and decoding
B3parity-2rx1 = parity odd except last byte which is even for RX
B2Unused
B1Unused
B0Unused
Register default is set to 0x00 at POR = H or EN = L and at each write to ISO control register
BitBit NameFunctionComments
B7Tm_length7Timer length MSBDefines the time when delayed transmission is started.
B6Tm_length6Timer length
B5Tm_length5Timer length
B4Tm_length4Timer length
B3Tm_length3Timer length
B2Tm_length2Timer length
B1Tm_length1Timer length
B0Tm_length0Timer length LSB
RX wait range is 590 ns to 9.76 ms (1..16383)
Step size 590 ns
All bits low (00): Timer is disabled.
Preset: 00 all other protocols
Table 5-16. TX Pulse Length Control (06h)
Controls the length of TX pulse
Register default is set to 0x00 at POR = H or EN = L and at each write to ISO control register.
BitBit NameFunctionComments
B7Pul_p2Pulse length MSBThe pulse range is 73.7 ns to 18.8 μs (1…255), step size 73.7 ns
B6Pul_p1
B5Pul_p0
B4Pul_c4
B3Pul_c3
B2Pul_c2
B1Pul_c1
B0Pul_c0Pulse length LSB
All bits low (00): pulse length control is disabled
Preset: 9.44 μs ISO15693
Preset: 11 μs Tag-It
Preset: 2.36 μs ISO14443A
Preset: 1.4 μs ISO14443A at 212 kbps
Preset: 737 ns ISO14443A at 424 kbps
Preset: 442 ns ISO14443A at 848 kbps): pulse length control is disabled
www.ti.com
Table 5-17. RX No Response Wait Time (07h)
Defines the time when no response Interrupt is sent
Default: default is set to 0x0E at POR = H or EN = L and at each write to ISO control register.
BitBit NameFunctionComments
B7NoResp7No response MSBDefines the time when no response interrupt is sent It starts from the end of TX EOF.
B6NoResp6
B5NoResp5
B4NoResp4
B3NoResp3
B2NoResp2
B1NoResp1
B0NoResp0No response LSB
RX no response wait range is 37.76 μs to 962 8μs (1...255),
Step size 37.76 μs
Preset: 755 μs ISO15693
Preset: 1812 μs ISO15693 low data rate
Preset: 604 μs Tag-It
Preset: 529 μs all other protocols
Defines the time after TX EOF when the RX input is disregarded
Register default is set to 0x1F at POR = H or EN = L and at each write to ISO control register.
BitBit NameFunctionComments
B7Rxw7RX waitDefines the time during which the RX input is ignored.
B6Rxw6
B5Rxw5
B4Rxw4
B3Rxw3
B2Rxw2
B1Rxw1
It starts from the end of TX EOF.
RX wait range is 9.44 μs to 2407 μs (1...255),
Step size 9.44 μs
Preset: 293 μs ISO15693
Preset: 66 μs ISO14443A and B
Preset: 180 μs Tag-It
Table 5-19. Modulator and SYS_CLK Control (09h)
Controls the modulation depth, modulation input and ASK / OOK control
Register default is set to 0x11 at POR = H or EN = L, and at each write to ISO control register, except Clo1 and Clo0.
BitBit Name FunctionComments
B7Unused
B6en_ook_p1 = enables external selection of ASK or OOKValid only when ISO control register (01) is configured to direct mode
B5Clo1SYS_CLK output frequency MSBClo1Clo0CL_SYS Output state
B4Clo0SYS_CLK output frequency LSB00disabled
B3en_ana1 = Enables analog output on ASK/OOK pinFor test and measurement
B2Pm2Modulation depth MSBPm2Pm1Pm0Mod Type and %
B1Pm1Modulation depth
B0Pm0Modulation depth LSB
Table 5-20. RX Special Setting Register (Address 0Ah)
Sets the gains and filters directly
Register default is set to 0x40 at POR = H or EN = L, and at each write to the ISO control register.
BitBit NameFunctionComments
B7C212Bandpass 110 kHz to 570 kHzAppropriate for 212-kHz sub-carrier system
B6C424Bandpass 200 kHz to 900 kHzAppropriate for 424-kHz sub-carrier used in ISO15693 and Tag-It
B5M848Bandpass 450 kHz to 1.5 MHzAppropriate for Manchester-coded 848-kHz sub-carrier used in ISO14443A
B4hbtBandpass 100 kHz to 1.5 MHzAppropriate for highest bit rate (848 kbps) used in high-bit-rate ISO14443
B3gd101 gain reduction for 5 dB
B2gd2
B1agcrAGC activation level changeAGC activation level changed from 5 times the digitizing level to 3 times the
B0no-limAGC action is not limited in timeAGC action can be done any time during receive process. It is not limited to the
Gain reduced for 7 dB
10 gain reduction for 10 dBSets the RX gain reduction
11 gain reduction for 15 dB
digitizing level.
start of receive.
Table 5-21. Regulator and I/O Control (0Bh)
Control the three voltage regulators
Register default is set to 0x87 at POR = H or EN = L
BitBit NameFunctionComments
B7auto_reg0 = setting regulator by option bitsAuto system sets VDD_RF to VIN – 250 mV and VDD_A and VDD_X to VIN –
B6en_ext_paSupport for external powerReceiver inputs accept externally demodulated sub-carrier, OOK pin becomes
B5io_low1 = enable low peripheralWhen HIGH, it decreases output resistance of logic outputs. Should be set
B4UnusedDefault is LOW.
B3UnusedDefault is LOW.
B2vrs2Voltage set MSBvrs3_5 = L: VDD_RF, VDD_A, VDD_X range 2.7 V to 3.4 V
B1vrs1
B0vrs0Voltage set LSB
(vrs3_5 and vrs2, vrs1 and vrs0)250 mV, but not higher than 3.4 V.
1 = automatic setting
amplifiermodulation output for external amplifier.
communication voltageHIGH when VDD_I/O voltage is below 2.7 V.
Displays the cause of IRQ and TX/RX status
Register default is set to 0x00 at POR = H or EN = L, and at each write to the ISO control register. It is also automatically reset at the end
of a read phase. The reset also removes the IRQ flag.
BitBit NameFunctionComments
B7Irq_txIRQ set due to end of TXSignals that TX is in progress. The flag is set at the start of TX but the
B6Irg_srxIRQ set due to RX startSignals that RX SOF was received and RX is in progress. The flag is set at
B5Irq_fifoSignals the FIFO is 1/3 > FIFO >Signals FIFO high or low (less than 4 or more than 8)
2/3
B4Irq_err1CRC errorIndicates receive CRC error
B3Irq_err2Parity errorIndicates parity error
B2Irq_err3Byte framing or EOF errorIndicates framing error
B1Irq_colCollision errorFor ISO14443A and ISO15693 single sub-carrier
B0Irq_norespNo-response interruptSignal to MCU that next slot command can be sent
Table 5-23. Collision Position and Interrupt Mask Register (0Dh)
Register default is set to 3E at POR = H and EN = L. Collision bits reset automatically after read operation.
BitBit NameFunctionComments
B7Col9Bit position of collision MSBSupported: ISO15693, single sub-carrier, and ISO14443A
B6Col8Bit position of collision
B5En_irq_fifoInterrupt enable for FIFO
B4En_irq_err1Interrupt enable for CRC
B3En_irq_err2Interrupt enable for Parity
B2En_irq_err3Interrupt enable for Framing
error or EOF
B1En_irq_colInterrupt enable for collision
error
B0En_irq_norespEnables no-response interrupt
interrupt request is sent when TX is finished.
the start of RX but the interrupt request is sent when RX is finished.
Table 5-24. Collision Position (0Eh)
Displays the bit position of collision or error
Register default is set to 0x00 at POR = H and EN = L. Automatically reset after read operation.
BitBit NameFunctionComments
B7Col7Bit position of collision MSBSupported is ISO15693, single sub-carrier, and ISO14443A
B6Col6In other protocols, it shows the bit position of error, either frame, SOF-EOF,
B5Col5
B4Col4
B3Col3
B2Col2
B1Col1
B0Col0Bit position of collision LSB
Table 5-25. RSSI Levels and Oscillator Status Register (0Fh)
Displays the signal strength on both reception channels and RF amplitude during RF-off state
The RSSI values are valid from reception start till start of next transmission.
BitBit NameFunctionComments
B7Unused
B6OscokCrystal oscillator stable indicator
B5rssi_x2RSSI value of auxiliary channel (4 dB Auxiliary channel is by default PM. It can be set to AM with B3 of chip state
B4rssi_x1
B3rssi_x0RSSI value of auxiliary channel (4 dB
B2rssi_2RSSI value of active channel (4 dBActive channel is default AM and can be set to PM with option bit B3 of chip
B1rssi_1
B0rssi_0RSSI value of active channel (4 dB
Low nibbles of complete bytes to be transferred through FIFO; Information about a broken byte and number of bits to be transferred from it
BitBit NameFunctionComments
B7RFUSet to LOWReserved for future use (RFU)
B6FhilFIFO level HIGHIndicates that 9 bytes are already in the FIFO (for RX)
B5FlolFIFO level LOWIndicates that only 3 bytes are in the FIFO (for TX)
B4FoveFIFO overflow errorToo much data was written to the FIFO
B3Fb3FIFO bytes fb[3]Bits B0:B3 indicate how many bytes that are loaded in FIFO were not read
High 2 nibbles of complete 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
BitBit NameFunctionComments
B7Txl11Number of complete byte bn[11]High nibble of complete bytes to be transmitted
B6Txl10Number of complete byte bn[10]
B5Txl9Number of complete byte bn[9]
B4Txl8Number of complete byte bn[8]
B3Txl7Number of complete byte bn[7]Middle nibble of complete bytes to be transmitted
B2Txl6Number of complete byte bn[6]
B1Txl5Number of complete byte bn[5]
B0Txl4Number of complete byte bn[4]
out yet (displays N – 1 number of bytes). If 8 bytes are in the FIFO, this
number is 7.
Table 5-28. TX Length Byte2 (1Eh)
Low nibbles of complete bytes to be transferred through FIFO; Information about a broken byte and number of bits to be transferred from it
Register default is set to 0x00 at POR and EN=0. It is also automatically reset at TX EOF
BitBit NameFunctionComments
B7Txl3Number of complete byte bn[3]Low nibble of complete bytes to be transmitted
B6Txl2Number of complete byte bn[2]
B5Txl1Number of complete byte bn[1]
B4Txl0Number of complete byte bn[0]
B3Bb2Broken byte number of bits bb[2]Number of bits in the last broken byte to be transmitted.
B2Bb1Broken byte number of bits bb[1]It is taken into account only when broken byte flag is set.
B1Bb0Broken byte number of bits bb[0]
B0BbfBroken byte flagIf 1, indicates that last byte is not complete 8 bits wide.
00Idle
03Software InitializationSoftware initialization, same as power on reset
0FReset
10Transmission without CRC
11Transmission with CRC
12Delayed transmission without CRC
13Delayed transmission with CRC
14Transmit next time slotISO15693, Tag-It
16Block receiver
17Enable receiver
18Test internal RF (RSSI at RX input with TX ON)
19Test external RF (RSSI at RX input with TX OFF)
1AReceiver gain adjust
Note: The command code values from Table 5-29 are substituted in Table 5-32, bit 0 through bit 4. Also,
the most-significant bit (MSB) in Table 5-31 must be set to 1.
www.ti.com
5.4.2Reset
The reset command clears the FIFO contents and FIFO status register (1Ch). It also clears the register
storing the collision error location (0Eh).
5.4.3Transmission With CRC
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.
5.4.4Transmission Without CRC
Same as Section 5.4.3 with CRC excluded.
5.4.5Delayed Transmission With CRC
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.
5.4.6Delayed Transmission Without CRC
Same as above with CRC excluded.
5.4.7Transmission Next Slot
When this command is received, the reader transmits the next slot command. The next slot sign is defined
by the protocol selection.
5.4.8Receiver Gain Adjust
This command should be executed when the MCU determines that no TAG response is coming and when
the RF and receivers are switched ON. When this command is received, the reader observes the digitized
receiver output. If more than two edges are observed in 100 μs, the window comparator voltage is
increased. The procedure is repeated until the number of edges (changes of logical state) of the digitized
reception signal is less than 2 (in 100 μs). The command can reduce the input sensitivity in 5-dB
increments up to 15 dB. This command ensures better operation in a noisy environment.
The gain setting is reset to maximum gain at EN = 0, POR = 1.
5.4.9Test External RF (RSSI at RX input with TX OFF)
This command can be used in active mode when the RF receiver is switched ON, and the RF output is
switched OFF (bit B1=1 in the chip status register, rec-on. See Table 5-9). The level of the RF signal
received on the antenna is measured and displayed in the RSSI levels register. The relation between the
3-bit code and the external RF field strength [A/m] must be determined by calculation or by experiments
for each antenna design. The antenna Q and connection to the RF input influence the result. The nominal
relation between the RF peak-to-peak voltage at the receiver inputs and its corresponding RSSI level is
presented as follows.
Receiver Input [mVPP]406080100140180300
RSSI level1234567
If the direct command test RF internal or test RF external is used immediately after activation, it should be
preceded with a command enable RX to activate the RX section. For proper execution of the test RF
commands, the RX section must be enabled. This happens automatically when a data exchange between
the reader and the tag is done, or by sending a direct command enable RX.
5.4.10 Test Internal RF (RSSI at RX input with TX ON)
This command measures the level of the RF carrier at the receive inputs. Its operating range is between
300 mVp and 2.1 Vp with a step size of 300 mV. The two values are displayed in the RSSI levels register.
The command is intended for diagnostic purposes to set the correct RX_IN levels. The optimum RX_IN
input level is approximately 1.6 Vp, or an RSSI level of 5 or 6. The nominal relationship between the input
RF peak level and the RSSI code is presented as follows.
Receiver Input [mVPp]3006009001200150018002100
RSSI Level1234567
5.4.11 Block Receiver
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 sub-carrier 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 (address 08) is set. In this case, the receiver is
enabled at the end of the wait time following the transmit operation.
5.4.12 Enable Receiver
This command clears the reset mode in the digital part of the receiver if the reset mode was entered by
the block receiver command.
The communication interface to the reader can be configured in two ways: a parallel 8-pin interface and a
Data_Clk or a serial peripheral interface (SPI).
These modes are mutually exclusive; only one mode can be used at a time in the application.
When the SPI interface is selected, the unused I/O_2, I/O_1, and I/O_0 pins must be hard-wired according
to Table 5-30. At power up, the reader samples the status of these three pins. If they are not the same (all
High or all Low) it enters one of the possible SPI modes.
The reader always behaves as the slave while the microcontroller (MCU) behaves as the master device.
The MCU initiates all communications with the reader and is also used to communicate with the higher
levels (application layer). The reader has an IRQ pin to prompt the MCU for attention if the reader detects
a response from the proximity/vicinity integrated circuit card (PICC/VICC).
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 its format is shown in
Table 5-31.
Table 5-30. Pin Assignment in Parallel and Serial Interface Connection or Direct Mode
PinParallelParallel-DirectSPI with SSSPI without SS
DATA_ DATA_CLKDATA_CLKDATA_CLK from masterDATA_CLK from master
CLK
I/O_7A/D[7]MOSI
I/O_6A/D[6]Direct mode, data out (sub-carrier or bit stream) MISO
(1) MOSI – master out, slave in
(2) MISO – master in, slave out
(3) IO_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 IO_5 pin goes high in
this second 8 clocks. But for normal SPI operation this pin IO_5 is not used.
(1)
= data-in (reader-in)MOSI
(2)
= data-out (MCU-out)MISO
(4)
(1)
(reader-in)
(2)
(MCU-out)
—
= data-in
= data-out
Table 5-31. Address/Command Word Bit Distribution
BitDescriptionBit FunctionAddressCommand
Bit 7Command control bit0 = address, 1 = command01
Bit 6Read/Write1 = read, 0 = writeR/W0
Bit 5Continuous address mode1 = Cont. modeR/W0
Bit 4Address/Command bit 4Adr 4Cmd 4
Bit 3Address/Command bit 3Adr 3Cmd 3
Bit 2Address/Command bit 2Adr 2Cmd 2
Bit 1Address/Command bit 1Adr 1Cmd 1
Bit 0Address/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 5-31 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’s non-volatile memory to the reader. In non-continuous address mode (simple
addressed mode), only one data word is expected after the address.
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.
The command mode is used to enter a command resulting in reader action (initialize transmission, enable
reader, and turn reader On/Off...)
An example of expected communication between MCU and reader is shown below.
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 5-5 shows the sequence of the data, with an 8-bit address
word first, followed by data.
Communication is ended by:
•the StopSmpl condition, where the 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 in order to reset the parallel interface and be ready for the new communication sequence
The StopSmpl condition is also used to terminate the direct mode.
Figure 5-5. Parallel Interface Communication With Simple Stop Condition StopSmpl
www.ti.com
Figure 5-6. Parallel Interface Communication With Continuous Stop Condition StopCont
At the start of a receive operation (when SOF is successfully detected), B6 is set in the IRQ status
register. An interrupt request is sent to the MCU at the end of the receive operation if the receive data
string was shorter than or equal to 8 bytes. The MCU receives the interrupt request, then checks to
determine the reason for the interrupt by reading the IRQ status register (address 0Ch), after which the
MCU reads the data from the FIFO.
If the received packet is longer than 8 bytes, the interrupt is sent before the end of the receive operation
when the ninth byte is loaded into the FIFO (75% full). The MCU should again read the content of the IRQstatus register to determine the cause of the interrupt request. If the FIFO is 75% full (as marked with flag
B5 in IRQ status register and by reading the FIFO status register), the MCU should respond by reading
the data from FIFO to make room for new incoming receive data. When the receive operation is finished,
the interrupt is sent and the MCU must check how many words are still present in the FIFO before it
finishes reading.
If the reader detects a receive error, the corresponding error flag is set (framing error, CRC error) in the
IRQ status register, which indicates that the MCU reception was completed incorrectly.
5.6.2Transmit
Before beginning data transmission, the FIFO should be cleared with a reset command (0F). Data
transmission is initiated with a selected command (described in the Direct Commands section,
Table 5-29). The MCU then commands the reader to do a continuous write command (3Dh, see
Table 5-31) starting from register 1Dh. Data written into register 1Dh is the TX length byte1 (upper and
middle nibbles), while the following byte in register 1Eh is the TX length byte 2 (lower nibble and broken
byte length). Note that the TX byte length determines when the reader sends the EOF byte. After the TXlength bytes are written, FIFO data is loaded in register 1Fh with byte storage locations 0 to 11. Data
transmission begins automatically after the first byte is written into the FIFO. The loading of TX lengthbytes and the FIFO can be done with a continuous-write command, as the addresses are sequential.
SLOU186F–AUGUST 2006–REVISED AUGUST 2010
At the start of transmission, the flag B7 (Irq_tx) is set in the IRQ status register. If the transmit data is
shorter than or equal to 4 bytes, the interrupt is sent only at the end of the transmit operation. If the
number of bytes to be transmitted is higher or equal to 5, then the interrupt is generated. This occurs also
when the number of bytes in the FIFO reaches 3. The MCU should check the IRQ status register and
FIFO status register and then load additional data to the FIFO, if needed. At the end of the transmit
operation, an interrupt is sent to inform the MCU that the task is complete.
When an SPI interface is required, parallel I/O pins, I/O_2, I/O_1, and I/O_0, must be hard wired
according to Table 5-31. On power up, the reader looks for the status of these pins; if they are not the
same (not all high, or not all low), the reader enters into one of two possible SPI modes.
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 reader's
IRQ 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.
A procedure for a dummy read is as follows:
A. Starting the dummy read:
(a) When using slave select (SS): set SS bit low.
(b) When not using SS: start condition is when SCLK is high (See Table 5-30).
B. Send address word to IRQ status register (0Ch) with read and continuous address mode bits set to 1
(See Table 5-31).
C. Read 1 byte (8 bits) from IRQ status register (0Ch).
D. Dummy-read 1 byte from register 0Dh (collision position and interrupt mask).
E. Stopping the dummy read:
(a) When using slave select (SS): set SS bit high.
(b) When not using SS: stop condition when SCLK is high (See Table 5-30).
www.ti.com
5.7.1SPI Interface Without SS* (Slave Select) Pin
The serial interface without the slave select pin must use delimiters for the start and stop conditions.
Between these delimiters, the address, data, and command words can be transferred. All words must be 8
bits long with MSB transmitted first.
Figure 5-8. Serial – SPI Interface Communication (No SS* Pin)
In this mode, a rising edge on data-in (I/O_7, pin 24) while SCLK is high resets the serial interface and
prepares it to receive data. Data-in can change only when SCLK is low and is taken by the reader on the
SCLK rising edge. Communication is terminated by the stop condition when the data-in falling edge occurs
during a high SCLK period.
5.7.2SPI Interface With SS* (Slave Select) Pin
The serial interface is in reset while the SS* signal is high. Serial data-in (MOSI) changes on the falling
edge, and is validated in the reader on the rising edge, as shown in Figure 5-9. Communication is
terminated when the SS* signal goes high.
All words must be 8 bits long with the MSB transmitted first.
Figure 5-10. Serial – SPI Interface Communication (Read Mode)
The read command is sent out on the MOSI pin, MSB first, in the first eight clock cycles. MOSI data
changes on the falling edge, and is validated in the reader on the rising edge, as shown in Figure 5-10.
During the write cycle, the serial data out (MISO) is not valid. After the last read command bit (B0) is
validated at the eighth rising edge of SCLK, after half a clock cycle, 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).
Note:
When using the hardware SPI (for example, an MSP430 hardware SPI) to implement the foregoing
feature, care must be taken to switch the SCLK polarity after write phase for proper read operation.
The example clock polarity for the MSP430-specific environment is shown in the write-mode and
read-mode boxes of Figure 5-10. See the USART-SPI chapter for any specific microcontroller family
for further information on the setting the appropriate clock polarity.
This clock polarity switch must be done for all read (single, continuous) operations.
The MOSI (serial data out) should not have any transitions (all high or all low) during the read cycle. Also,
the SS* should be low during the whole write and read operation.
The continuous read operation is illustrated in Figure 5-11
No Data Transitions (All High/Low)No Data Transitions (All High/Low)
Don’t Care
ContinuousReadOperation
Write Address Byte
Read Data Byte 1
Read Data Byte n
MOSI
MISO
SS*
SCLK
B0
B0
B7
B7
B6
B6
B5
B5
B4
B4
B3
B3
B2B2B1
B1
No Data Transitions (All High/Low)
No Data Transitions (All High/Low)
Don’t Care
Ignore
SpecialCase – IRQStatusRegisterRead
Dummy Read
ReadDatain
IRQStatusRegister
Write Address
Byte(0x6C)
TRF7960
TRF7961
www.ti.com
Note:
SLOU186F–AUGUST 2006–REVISED AUGUST 2010
Figure 5-11. SPI Interface Communication (Continuous Read Mode)
Special steps are needed to read the TRF796x IRQ status register (register address 0x0C) in SPI mode.
The status of the bits in this register is cleared after a dummy read. The following steps must be followed
when reading the “IRQ status register”.
1. Write in command 0x6C: read 'IRQ status' register in continuous mode (eight clocks).
2. Read out the data in register 0x0C (eight clocks).
3. Generate another eight clocks (as if reading the data in register 0x0D) but ignore the MISO data line.
This is shown in Figure 5-12.
Figure 5-12. SPI Interface Communication (IRQ Status Register Read)
The FIFO is a 12-byte register at address 1Fh with byte storage locations 0 to 11. FIFO data is loaded in a
cyclical manner and can be cleared by a reset command (0F).
Associated with the FIFO are two counters and three FIFO status flags. The first counter is a 4-bit FIFO
byte counter (bits B0–B3 in register 1Ch) that keeps track of the number of bytes loaded into the FIFO. If
the number of bytes in the FIFO is n, the register value is n – 1 (number of bytes in FIFO register). If 8
bytes are in the FIFO, the FIFO counter (bits B0–B3 in register 1Ch) has the value 7.
A second counter (12 bits wide) indicates the number of bytes being transmitted (registers 1Dh and 1Eh)
in a data frame. An extension to the transmission-byte counter is a 4-bit broken-byte counter also provided
in register 1Eh (bits B0-B3). Together these counters make up the TX length value that determines when
the reader generates the EOF byte.
FIFO status flags are as follows:
1. FIFO overflow (bit B4 of register 1Ch) – indicates that the FIFO was loaded too soon
2. FIFO level too low (bit B5 of register 1Ch) – indicates that only three bytes are left to be transmitted
(Can be used during transmission)
3. FIFO level high (bit B6 of register 1Ch) – indicates that nine bytes are already loaded into the FIFO
(Can be used during reception to generate a FIFO reception IRQ. This is to notify the MCU to service
the reader in time to ensure a continuous data stream.)
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 12 bytes. (Note: The number of bytes in a frame, transmitted or received, can be greater than
12 bytes.)
www.ti.com
During transmission, the MCU loads the reader's 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 is less than 3 or greater than 9, so that MCU can send new data or remove
the data as necessary. The MCU also checks the number of data bytes to be sent, so as to not surpass
the value defined in TX length bytes. The MCU also signals the transmit logic when the last byte of data is
sent or was removed from the FIFO during reception. Transmission starts automatically after the first byte
is written into FIFO.
5.8External Power Amplifier Application
Applications requiring an extended read range can use an external power amplifier together with the
TRF7960/61. This can be implemented by adding an external power amplifier on the transmit side and
external sub-carrier detectors on the receive side.
To implement the external power amplification feature, certain registers must be programmed as shown
below.
1. Set bit B6 of the Regulator and I/O Control register to 1 (see Table 5-21).
This setting has two functions, first to provide a modulated signal for the transmitter if needed, and
second to configure the TRF7960/61 receiver inputs for an external demodulated sub-carrier input.
2. Set bit B3 of the modulation and SYS_CLK control register to 1 (see Table 5-19).
This function configures the ASK / OOK pin for either a digital or analog output (B3 = 0 enables a
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.
Status
(1)
Package Type Package
Drawing
PinsPackage Qty
Eco Plan
& no Sb/Br)
& no Sb/Br)
& no Sb/Br)
& no Sb/Br)
(2)
Lead/
Ball Finish
CU NIPDAU Level-2-260C-1 YEAR
CU NIPDAU Level-2-260C-1 YEAR
CU NIPDAU Level-2-260C-1 YEAR
CU NIPDAU Level-2-260C-1 YEAR
MSL Peak Temp
(3)
Samples
(Requires Login)
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability
information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that
lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between
the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight
in homogeneous material)
(3)
MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
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.
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
ProductsApplications
Audiowww.ti.com/audioAutomotive and Transportation www.ti.com/automotive
Amplifiersamplifier.ti.comCommunications and Telecom www.ti.com/communications
Data Convertersdataconverter.ti.comComputers and Peripheralswww.ti.com/computers
DLP® Productswww.dlp.comConsumer Electronicswww.ti.com/consumer-apps
DSPdsp.ti.comEnergy and Lightingwww.ti.com/energy
Clocks and Timerswww.ti.com/clocksIndustrialwww.ti.com/industrial
Interfaceinterface.ti.comMedicalwww.ti.com/medical
Logiclogic.ti.comSecuritywww.ti.com/security
Power Mgmtpower.ti.comSpace, Avionics and Defensewww.ti.com/space-avionics-defense
Microcontrollersmicrocontroller.ti.comVideo and Imagingwww.ti.com/video
RFIDwww.ti-rfid.com
OMAP Mobile Processors www.ti.com/omap
Wireless Connectivitywww.ti.com/wirelessconnectivity