SLAU847D October 2022 – May 2024 MSPM0L1105 , MSPM0L1106 , MSPM0L1227 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
The SPI module provides 9 interrupt sources that can source a CPU interrupt event. Table 20-3 lists the CPU interrupt events from the SPI in order of decreasing priority.
IIDX STAT | Name | Description |
---|---|---|
0x01 | RXFIFO_OVF | RXFIFO overflow event. This interrupt is set if an RX FIFO overflow has been detected. |
0x02 | PER | Parity error event. This bit if a Parity error has been detected. |
0x03 | RTOUT | Peripheral receive timeout event. When in peripheral mode and not receiving data for the CTL1.RXTIMEOUT selected number of functional clock cycles. |
0x04 | RX | Receive FIFO event. This interrupt is set if the selected receive FIFO level has been reached. |
0x05 | TX | Transmit FIFO event. This interrupt is set if the selected transmit FIFO level has been reached. |
0x06 | TXEMPTY | Transmit FIFO empty interrupt. This is set if all data in the transmit FIFO have been shifted out. |
0x07 | IDLE | SPI Idle. SPI has done finished transfers and changed into IDLE mode. This bit is set when STAT.BUSY bit goes low. |
0x08 | DMA_DONE1_RX | This interrupt is set if the RX DMA channel sends the DONE signal. |
0x09 | DMA_DONE1_TX | This interrupt is set if the TX DMA channel sends the DONE signal. |
The CPU interrupt event configuration is managed with the CPU_INT event management registers. See Section 7.2.5 for guidance on configuring the Event registers.