SLOS787H – MAY 2012 – REVISED APRIL 2014
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 three or four wire Serial Peripheral Interface (SPI). The SPI
interface uses traditional Master Out/Slave In (MOSI), Master In/Slave Out (MISO), IRQ, and DATA_CLK
lines. The SPI can be operated with or without using the Slave Select line.
These communication modes are mutually exclusive; that is, 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 as shown
in
. 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
Pin
Parallel
Parallel (Direct Mode)
SPI With SS
SPI Without SS
(1)
DATA_ CLK
DATA_CLK
DATA_CLK
DATA_CLK from master
DATA_CLK from master
I/O_7
A/D[7]
(not used)
MOSI
(2)
= data in (reader in)
MOSI
(2)
= data in (reader in)
Direct mode, data out (subcarrier
I/O_6
A/D[6]
MISO
(3)
= data out (MCU out)
MISO
(3)
= data out (MCU out)
or bit stream)
Direct mode, strobe – bit clock
I/O_5
(4)
A/D[5]
See
(4)
See
(4)
out
I/O_4
A/D[4]
(not used)
SS – slave select
(5)
(not used)
I/O_3
A/D[3]
(not used)
(not used)
(not used)
I/O_2
A/D[2]
(not used)
At VDD
At VDD
I/O_1
A/D[1]
(not used)
At VDD
At V
SS
I/O_0
A/D[0]
(not used)
At V
SS
At V
SS
IRQ
IRQ interrupt
IRQ interrupt
IRQ interrupt
IRQ interrupt
(1)
FIFO is not accessible in SPI without SS mode. See device 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.
(5)
Slave_Select pin is active low
28
Detailed Description
Copyright © 2012–2014, Texas Instruments Incorporated
Product Folder Links: