Texas Instruments TRF7960 Manual page 39

Multi-standart fully integrated 13.56-mhz rfid analog front end and data-framing reader system
Hide thumbs Also See for TRF7960:
Table of Contents

Advertisement

www.ti.com
5.6.1 Receive
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 IRQ
status 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.2 Transmit
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
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 TX
length 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 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. 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.
CLK
I/O_[7]
I/O_[6:0]
Internal OE
Output Data
Copyright © 2006–2010, Texas Instruments Incorporated
Start
Condition
50 ns
a0 [7]
d1 [7]
d0 [7]
xx
a0 [6:0] d0 [6:0]
d1 [6:0] d2 [6:0]
Valid Ouput Data
Figure 5-7. Data Output Only When CLK Is High
Submit Documentation Feedback
focus.ti.com:
TRF7960 TRF7961
SLOU186F – AUGUST 2006 – REVISED AUGUST 2010
Direct Commands
StopCont
d3 [7]
dN [7]
d2 [7]
d3 [6:0]
dN [6:0]
TRF7960
TRF7961
section,
xx
System Description
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Trf7961

Table of Contents