22.5.7.1 Client Mode Transmission with DMA
Once the client is addressed by the host, ND/A (I2CxCON2[18])
should be set and then the first data should be loaded by the software. Client hardware
automatically clears SCLREL and generates the transmit interrupt (I2CxTXIF) after the
ACK if the error transmission (I2CEF(I2CxSTAT2[11]) is not
set and has not reached the packet size = 0
. The transmit buffer status
bit TBF(I2CxSTAT1[0]) is clear when the I2CxTRN does not contain any transmit data. At
this point, the transmit interrupt (I2CxTXIF) can trigger the DMA to load another byte
into the buffer, and the transmit buffer full (TBF) is set. Client hardware sets SCLREL
based on data setup time:
- The SDASUT(I2CxSDASUT[15:0]) value, when the TBF(I2CxSTAT1[0]) is set and Smart mode is enabled (SMEN I2CxCON2[17]).