Texas Instruments TRF7970A Instruction Manual page 37

Multiprotocol fully integrated 13.56-mhz rfid and near field communication (nfc) transceiver ic
Hide thumbs Also See for TRF7970A:
Table of Contents

Advertisement

www.ti.com
6.10.4 Data Transmission to MCU
Before beginning data transmission, the FIFO should always be cleared with a reset command (0x0F).
Data transmission is initiated with a selected command (see
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
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
10. On power up, the TRF7970A looks for the status of these pins and then enters into the corresponding
mode.
The choice of one of these modes over another should be predicated by the available GPIOs and the
desired control of the system.
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
TRF7970A 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 TRF7970A, the SOFT_INIT (0x03) and IDLE (0x00) commands should be sent
first from the MCU (see
Copyright © 2011–2014, Texas Instruments Incorporated
Table
6-19).
Submit Documentation Feedback
Product Folder Links:
SLOS743K – AUGUST 2011 – REVISED APRIL 2014
Section
6.13). The MCU then commands the
Table 6-57
and
Table
TRF7970A
TRF7970A
6-58) . Note that the
Table 6-
Detailed Description
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Trf7970arhbtTrf7970arhbr

Table of Contents