Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

TMS320F2812PGFS

Part # TMS320F2812PGFS
Description MIXED-SIGNAL 28X DSPS EXTENDED TEMP
Category IC
Availability Out of Stock
Qty 0
Qty Price
1 + $17.62840



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

TMS320F2810, TMS320F2812
DIGITAL SIGNAL PROCESSORS
SPRS174B APRIL 2001 REVISED SEPTEMBER 2001
82
POST OFFICE BOX 1443 HOUSTON, TEXAS 772511443
serial peripheral interface (SPI) module
The F2810 and F2812 devices include the four-pin serial peripheral interface (SPI) module. The SPI is a
high-speed, synchronous serial I/O port that allows a serial bit stream of programmed length (one to sixteen
bits) to be shifted into and out of the device at a programmable bit-transfer rate. Normally, the SPI is used for
communications between the DSP controller and external peripherals or another processor. Typical
applications include external I/O or peripheral expansion through devices such as shift registers, display drivers,
and ADCs. Multidevice communications are supported by the master/slave operation of the SPI.
The SPI module features include:
D Four external pins:
SPISOMI: SPI slave-output/master-input pin
SPISIMO: SPI slave-input/master-output pin
SPISTE
: SPI slave transmit-enable pin
SPICLK: SPI serial-clock pin
NOTE: All four pins can be used as GPIO, if the SPI module is not used.
D Two operational modes: master and slave
D Baud rate: 125 different programmable rates/37.5 Mbps at 150-MHz SYSCLKOUT
D Data word length: one to sixteen data bits
D Four clocking schemes (controlled by clock polarity and clock phase bits) include:
Falling edge without phase delay: SPICLK active-high. SPI transmits data on the falling edge of the
SPICLK signal and receives data on the rising edge of the SPICLK signal.
Falling edge with phase delay: SPICLK active-high. SPI transmits data one half-cycle ahead of the
falling edge of the SPICLK signal and receives data on the falling edge of the SPICLK signal.
Rising edge without phase delay: SPICLK inactive-low. SPI transmits data on the rising edge of the
SPICLK signal and receives data on the falling edge of the SPICLK signal.
Rising edge with phase delay: SPICLK inactive-low. SPI transmits data one half-cycle ahead of the
falling edge of the SPICLK signal and receives data on the rising edge of the SPICLK signal.
D Simultaneous receive and transmit operation (transmit function can be disabled in software)
D Transmitter and receiver operations are accomplished through either interrupt-driven or polled algorithms.
D Nine SPI module control registers: Located in control register frame beginning at address 7040h.
NOTE: All registers in this module are 16-bit registers that are connected to Peripheral Frame 2. When a register is accessed, the register
data is in the lower byte (70), and the upper byte (158) is read as zeros. Writing to the upper byte has no effect.
Enhanced feature:
D 16-level transmit/receive FIFO
D Delayed transmit control
PR
O
DU
C
T PREVIEW
TMS320F2810, TMS320F2812
DIGITAL SIGNAL PROCESSORS
SPRS174B APRIL 2001 REVISED SEPTEMBER 2001
83
POST OFFICE BOX 1443 HOUSTON, TEXAS 772511443
serial peripheral interface (SPI) module (continued)
The SPI port operation is configured and controlled by the registers listed in Table 59.
Table 59. SPI Registers
NAME ADDRESS RANGE SIZE (x16) DESCRIPTION
SPICCR 0x00007040 1 SPI Configuration Control Register
SPICTL 0x00007041 1 SPI Operation Control Register
SPIST 0x00007042 1 SPI Status Register
SPIBRR 0x00007044 1 SPI Baud Rate Register
SPIEMU 0x00007046 1 SPI Emulation Buffer Register
SPIRXBUF 0x00007047 1 SPI Serial Input Buffer Register
SPITXBUF 0x00007048 1 SPI Serial Output Buffer Register
SPIDAT 0x00007049 1 SPI Serial Data Register
SPIFFTX 0x0000704A 1 SPI FIFO Transmit Register
SPIFFRX 0x0000704B 1 SPI FIFO Receive Register
SPIFFCT 0x0000704C 1 SPI FIFO Control Register
SPIPRI 0x0000704F 1 SPI Priority Control Register
Note:
The above registers are mapped to Peripheral Frame 2. This space only allows 16-bit accesses. 32-bit
accesses produce undefined results.
PR
O
DU
C
T PREVIEW
TMS320F2810, TMS320F2812
DIGITAL SIGNAL PROCESSORS
SPRS174B APRIL 2001 REVISED SEPTEMBER 2001
84
POST OFFICE BOX 1443 HOUSTON, TEXAS 772511443
serial peripheral interface (SPI) module (continued)
Figure 20 is a block diagram of the SPI in slave mode.
S
SPICTL.0
SPI INT FLAG
SPI INT
ENA
SPISTS.6
S
Clock
Polarity
Talk
LSPCLK
4561230
0123
SPI Bit Rate
State Control
SPIRXBUF
Buffer Register
Clock
Phase
Receiver
Overrun Flag
SPICTL.4
Overrun
INT ENA
SPICCR.3 0
SPIBRR.6 0
SPICCR.6 SPICTL.3
SPIDAT.15 0
SPICTL.1
M
S
M
Master/Slave
SPISTS.7
SPIDAT
Data Register
M
S
SPICTL.2
SPI Char
SPISIMO
SPISOMI
SPISTE
*
SPICLK
SW2
S
M
M
S
SW3
To CPU
M
SW1
SPITXBUF
Buffer Register
RX FIFO _0
RX FIFO _1
–––––
RX FIFO _15
TX FIFO registers
TX FIFO _0
TX FIFO _1
–––––
TX FIFO _15
RX FIFO registers
16
16
16
TX Interrupt
Logic
RX Interrupt
Logic
SPIINT
SPITX
SPIFFOVF FLAG
SPIFFRX.15
16
TX FIFO Interrupt
RX FIFO Interrupt
SPIRXBUF
SPITXBUF
SPIFFTX.14
SPIFFENA
Figure 20. Serial Peripheral Interface Module Block Diagram
PR
O
DU
C
T PREVIEW
PREVIOUS2122232425262728293031323334NEXT