31.4.2.2.3 Transmitting Data Packets
When an address packet with the Host Write direction (see Figure 31-3) is transmitted successfully, INTFLAG.MB is set. The I2C host starts transmitting data on the I2C bus by writing to DATA.DATA and is continuously monitored for packet collisions.
If a collision is detected, the I2C host loses arbitration and STATUS.ARBLOST is set. If the transmission is successful, the I2C host receives an ACK bit from the I2C client, and STATUS.RXNACK is cleared. INTFLAG.MB is set in both cases, regardless of the arbitration outcome.
It is recommended to read STATUS.ARBLOST and handle the arbitration-lost condition in the beginning of the I2C Host on Bus interrupt. This approach is valid because there is no difference between handling arbitration loss during address transmission and data transmission.
STATUS.RXNACK must be checked for each transmitted data packet before the next data packet transmission begins. The I2C host is not allowed to continue transmitting data packets if a NACK is received from the I2C client.
