JAJS280O October 2003 – March 2019 TMS320F2801 , TMS320F28015 , TMS320F28016 , TMS320F2802 , TMS320F2806 , TMS320F2808 , TMS320F2809
PRODUCTION DATA.
デバイスごとのパッケージ図は、PDF版データシートをご参照ください。
The 280x devices include the four-pin serial peripheral interface (SPI) module. Up to four SPI modules (SPI-A, SPI-B, SPI-C, and SPI-D) are available. 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:
NOTE: All four pins can be used as GPIO, if the SPI module is not used.
Baud rate: 125 different programmable rates.
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 (7–0), and the upper byte (15–8) is read as zeros. Writing to the upper byte has no effect.
Enhanced feature:
The SPI port operation is configured and controlled by the registers listed in Table 6-11 through Table 6-14.
NAME | ADDRESS | SIZE (x16) | DESCRIPTION(1) |
---|---|---|---|
SPICCR | 0x7040 | 1 | SPI-A Configuration Control Register |
SPICTL | 0x7041 | 1 | SPI-A Operation Control Register |
SPISTS | 0x7042 | 1 | SPI-A Status Register |
SPIBRR | 0x7044 | 1 | SPI-A Baud Rate Register |
SPIRXEMU | 0x7046 | 1 | SPI-A Receive Emulation Buffer Register |
SPIRXBUF | 0x7047 | 1 | SPI-A Serial Input Buffer Register |
SPITXBUF | 0x7048 | 1 | SPI-A Serial Output Buffer Register |
SPIDAT | 0x7049 | 1 | SPI-A Serial Data Register |
SPIFFTX | 0x704A | 1 | SPI-A FIFO Transmit Register |
SPIFFRX | 0x704B | 1 | SPI-A FIFO Receive Register |
SPIFFCT | 0x704C | 1 | SPI-A FIFO Control Register |
SPIPRI | 0x704F | 1 | SPI-A Priority Control Register |
NAME | ADDRESS | SIZE (x16) | DESCRIPTION(1) |
---|---|---|---|
SPICCR | 0x7740 | 1 | SPI-B Configuration Control Register |
SPICTL | 0x7741 | 1 | SPI-B Operation Control Register |
SPISTS | 0x7742 | 1 | SPI-B Status Register |
SPIBRR | 0x7744 | 1 | SPI-B Baud Rate Register |
SPIRXEMU | 0x7746 | 1 | SPI-B Receive Emulation Buffer Register |
SPIRXBUF | 0x7747 | 1 | SPI-B Serial Input Buffer Register |
SPITXBUF | 0x7748 | 1 | SPI-B Serial Output Buffer Register |
SPIDAT | 0x7749 | 1 | SPI-B Serial Data Register |
SPIFFTX | 0x774A | 1 | SPI-B FIFO Transmit Register |
SPIFFRX | 0x774B | 1 | SPI-B FIFO Receive Register |
SPIFFCT | 0x774C | 1 | SPI-B FIFO Control Register |
SPIPRI | 0x774F | 1 | SPI-B Priority Control Register |
NAME | ADDRESS | SIZE (x16) | DESCRIPTION(1) |
---|---|---|---|
SPICCR | 0x7760 | 1 | SPI-C Configuration Control Register |
SPICTL | 0x7761 | 1 | SPI-C Operation Control Register |
SPISTS | 0x7762 | 1 | SPI-C Status Register |
SPIBRR | 0x7764 | 1 | SPI-C Baud Rate Register |
SPIRXEMU | 0x7766 | 1 | SPI-C Receive Emulation Buffer Register |
SPIRXBUF | 0x7767 | 1 | SPI-C Serial Input Buffer Register |
SPITXBUF | 0x7768 | 1 | SPI-C Serial Output Buffer Register |
SPIDAT | 0x7769 | 1 | SPI-C Serial Data Register |
SPIFFTX | 0x776A | 1 | SPI-C FIFO Transmit Register |
SPIFFRX | 0x776B | 1 | SPI-C FIFO Receive Register |
SPIFFCT | 0x776C | 1 | SPI-C FIFO Control Register |
SPIPRI | 0x776F | 1 | SPI-C Priority Control Register |
NAME | ADDRESS | SIZE (x16) | DESCRIPTION(1) |
---|---|---|---|
SPICCR | 0x7780 | 1 | SPI-D Configuration Control Register |
SPICTL | 0x7781 | 1 | SPI-D Operation Control Register |
SPISTS | 0x7782 | 1 | SPI-D Status Register |
SPIBRR | 0x7784 | 1 | SPI-D Baud Rate Register |
SPIRXEMU | 0x7786 | 1 | SPI-D Receive Emulation Buffer Register |
SPIRXBUF | 0x7787 | 1 | SPI-D Serial Input Buffer Register |
SPITXBUF | 0x7788 | 1 | SPI-D Serial Output Buffer Register |
SPIDAT | 0x7789 | 1 | SPI-D Serial Data Register |
SPIFFTX | 0x778A | 1 | SPI-D FIFO Transmit Register |
SPIFFRX | 0x778B | 1 | SPI-D FIFO Receive Register |
SPIFFCT | 0x778C | 1 | SPI-D FIFO Control Register |
SPIPRI | 0x778F | 1 | SPI-D Priority Control Register |
Figure 6-14 is a block diagram of the SPI in slave mode.