芯片手册第16页是这么写的:
I2C protocol starts when the bus is idle, that is, when SDA and SCL lines are stable high. The master then pulls
the SDA line low while SCL is still high
indicating that serial data transfer has started. This is called a
start
condition, and can only be asserted by the master.
然后在初始化子函数里延迟一段时间后再将SCL拉低备用。
芯片手册第16页是这么写的:
I2C protocol starts when the bus is idle, that is, when SDA and SCL lines are stable high. The master then pulls
the SDA line low while SCL is still high indicating that serial data transfer has started. This is called a start
condition, and can only be asserted by the master.
然后在初始化子函数里延迟一段时间后再将SCL拉低备用。
举报