Figure 12-2. SPI Interrupt Flags and Enable Logic Generation
Table 12-2. SPI Interrupt Flag Modes
FIFO Options
SPI Interrupt Source
Interrupt Flags
Interrupt Enables
FIFO Enable
(SPIFFENA)
Interrupt Line
SPI without FIFO
Receive overrun
RXOVRN
OVRNINTENA
0
SPIRXINT
Data receive
SPIINT
SPIINTENA
0
SPIRXINT
Transmit empty
SPIINT
SPIINTENA
0
SPIRXINT
SPI FIFO mode
FIFO receive
RXFFIL
RXFFIENA
1
SPIRXINT
Transmit empty
TXFFIL
TXFFIENA
1
SPITXINT
(1)
In non-FIFO mode, SPIRXINT is the same name as the SPIINT interrupt in C28x devices.
12.2.4 DMA Support
Both the CPU and DMA have access to the SPI data registers via the internal peripheral bus. This access
is limited to 16-bit register read/writes. Each SPI module can generate two DMA events, SPITXDMA and
SPIRXDMA. The DMA events are controlled by configuring the SPIFFTX.TXFFIL and SPIFFRX.RXFFIL
appropriately. SPITXDMA activates when TXFFST is less than the interrupt level (TXFFIL). SPIRXDMA activates
when RXFFST is greater than or equal to the interrupt level (RXFFIL).
The SPI must have FIFO enhancements enabled in order for the DMA triggers to be generated.
For more information on configuring the SPI for DMA transfers, refer to .
is a block diagram showing the DMA trigger generation from the SPI module.
Serial Peripheral Interface (SPI)
764
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......