SPRUJF2A March 2026 – March 2026 AM13E23019
After a data byte is transmitted, the TXDONE interrupt in CPU_INT.IIDX register is set to indicate that a byte has been transmitted.
When the controller generates a START condition, the START interrupt in CPU_INT.IIDX register is set. When the controller generates a STOP condition, the STOP interrupt in CPU_INT.IIDX register is set.
The user can also use the TXTRG interrupt from the CPU_INT.IIDX register to load data to the transmit FIFO. This interrupt triggers when the transmit FIFO contains <= defined bytes. The FIFO trigger level can be defined by using TXIFSEL field in the IFLS register.
The TXDONE approach is used if the target wants to slow down communication to evaluate the transmission of every byte, while the TXTRG approach is used to maximize throughput and avoid clock stretching.The flow chat of using TXDONE and TXFIFOTRG interrupt to transmit data are shown in Figure 24-18and Figure 24-19.