BITERR
DESYNC
PARITYERR
TIMEOUT
LVL 0
LVL 1
DLENERR
ENAx
LVLx
RXOVRN
0
1
0
1
0
1
0
1
0
1
0
1
Finished
Suspended
LVL 0
LVL 1
ENAx
LVLx
ENAx
LVLx
TG x
Vector
X +1
Bit 0
0
1
0
1
Basic Operation
1506
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Multi-Buffered Serial Peripheral Interface Module (MibSPI) with Parallel Pin
Option (MibSPIP)
Figure 28-4. TG Interrupt Structure
The RXOVRN interrupt is generated when a buffer in the RXRAM is overwritten by a new received word.
While writing newly received data to a RXRAM location, if the RXEMPTY bit of the corresponding location
is 0, then the RXOVR bit will be set to 1 during the write operation, so that the buffer starts to indicate an
overrun. This RXOVR flag is also reflected in SPIFLG register as RXOVRNINTFLG and the corresponding
vector number is updated in TGINTVECT0/TGINTVECT1 register. If an overrun interrupt is enabled, then
an interrupt will be generated indicating an overrun condition.
The error interrupts are enabled and prioritized independently from each other, but the vector generated
by the SPI will be the same if multiple errors are enabled on the same level.
Figure 28-5. SPIFLG Interrupt Structure
Since the priority of an error interrupt is lower than a completion/suspend interrupt for a TG, the interrupts
can be split into two levels. By programming all the error interrupts into Level 0 and TG-complete / TG-
suspend interrupts into Level 1, it is possible to get a clear indication of the source of error interrupts.
However, when a vector register shows an error interrupt, the actual buffer for which the error has
occurred is not readily identifiable. Since each buffer in the multi-buffer RAM is stored along with its
individual status flags, each buffer should be read until a buffer with any error flag set is found.
A separate interrupt line is provided to indicate the uncorrectable error condition in the MibSPI. This line is
available (and valid) only in the multi-buffer mode of the MibSPI module and if the parity error detection
feature for multi-buffer RAM is enabled.