
Rev. 1.00
396 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
19 Inter-Integrated Circuit (I2C)
19 Inter-Integrated Circuit (I2C)
Data Transfer and Acknowledge
Once the slave device address has been matched, the data can be transmitted to or received from
the slave device according to the transfer direction specified by the R/
W bit. Each byte is followed
by an acknowledge bit on the 9
th
SCL clock.
If the slave device returns a Not Acknowledge (NACK) signal to the master device, the master
device can generate a STOP signal to terminate the data transfer or generate a repeated START
signal to restart the transfer.
If the master device sends a Not Acknowledge (NACK) signal to the slave device, the slave device
should release the SDA line for the master device to generate a STOP signal to terminate the
transfer.
1
2
8
9
SCL from
Master
Data output
by
Transmitter
Data output
by Receiver
Acknowledge bit
Data Frame
Not acknowledge
acknowledge
Figure 144. I
2
C Bus Acknowledge