BL602/604 Reference Manual
Name Type Description
I2Cx_SCL input/output I2C serial clock signal
I2Cx_SDA input/output I2C serial data signal
11.3.1 Start and stop conditions
All transfers begin with a START condition and end with a STOP condition.
The start and stop conditions are generally generated by the master. The bus is considered to be in a busy state after
the start condition, and is considered to be in an idle state for a period of time after the stop condition.
Start condition: SDA generates a high-to-low level transition when SCL is high;
Stop condition: SDA generates a low-to-high level transition when SCL is high.
The waveform diagram is as follows:
SDA
SCL
S
START condition
P
STOP condition
Figure 11.1: I2C stop/start condition
11.3.2 Data transmission format
The first 8 bits transmitted are the address byte, including the 7-bit slave address and the 1-bit direction bit. Data sent
or received by the host is controlled by the eighth bit of the first byte sent by the host.
If it is 0, it means that the data is sent by the master; if it is 1, it means that the data is received by the master, and
then the slave sends an acknowledge bit (ACK). After the data transmission is completed, the master sends a stop
signal. The waveform is as follows:
BL602/604 Reference Manual 143/ 195
@2020 Bouffalo Lab