STM32 I2C clock stretching

STM32 I2C clock stretching

In an I2C communication, the master device determines the clock speed. Unlike RS232 the I2C bus provides an explicit clock signal which relieves master and slave from synchronizing exactly to a predefined baud rate.

However, there are situations where an I2C slave is not able to co-operate with the clock speed given by the master and needs to slow down a little. This is done by a mechanism referred to as clock stretching.

An I2C slave is allowed to hold down the clock if it needs to reduce the bus speed. The master, on the other hand, is required to read back the clock signal after releasing it to the high state and wait until the line has actually gone high.


Reference link

I2C clock stretching

相关推荐
雾削木1 小时前
k230 Pyhton三角形识别
运维·服务器·网络·stm32·智能路由器
Jack电子实验室1 小时前
【杭电HDU】校园网(DeepL/Srun)自动登录教程
python·嵌入式硬件·计算机网络·自动化
QK_002 小时前
STM32--中断
stm32·单片机·嵌入式硬件
@good_good_study2 小时前
STM32 死区时间
stm32·单片机
SystickInt3 小时前
32 低功耗模式(睡眠 停机 待机 )
单片机·嵌入式硬件
brave and determined3 小时前
传感器学习(day08):加速度传感器:智能时代的感知利器
嵌入式硬件·传感器·工作原理·加速度传感器·嵌入式设计·三轴·计步算法
小π军4 小时前
51单片机第1讲:点亮LED
单片机·嵌入式硬件·51单片机
Syntech_Wuz4 小时前
从STM32 到SAM D21(二):EIC 外部中断控制器配置详解
stm32·外部中断·eic·sam d21·mplab x ide
JXNL@4 小时前
电压基准芯片核心知识解析:从原理到选型(含MAX6167A实例)
单片机·嵌入式硬件·电压基准芯片
boneStudent5 小时前
Day30:I2C 与其他通信协议对比
stm32·单片机·嵌入式硬件