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

相关推荐
周周记笔记9 小时前
ESP32 初识:WiFi MCU 新时代与国产芯片生态(一)
单片机·嵌入式硬件
驴友花雕10 小时前
【花雕学编程】Arduino BLDC 之群体机器人协同探索
c++·单片机·嵌入式硬件·arduino bldc·群体机器人协同探索
驴友花雕10 小时前
【花雕学编程】Arduino BLDC 之仿人机器人膝关节稳定系统
c++·单片机·嵌入式硬件·arduino bldc·仿人机器人膝关节稳定系统
Zeku10 小时前
20260110 - Linux 驱动开发学习笔记:上下文、中断与休眠
stm32·freertos·linux驱动开发·linux应用开发
linweidong15 小时前
嵌入式电机:如何在低速和高负载状态下保持FOC(Field-Oriented Control)算法的电流控制稳定?
stm32·单片机·算法
Zero_Era15 小时前
高性价比安全MCU——LKT6830C
单片机·嵌入式硬件·安全
国科安芯16 小时前
卫星通讯导航FPGA供电单元DCDC芯片ASP4644S2B可靠性分析
单片机·嵌入式硬件·fpga开发·架构·安全性测试
知南x17 小时前
【STM32MP157 视频监控项目】(2) 移植 Nginx
stm32·nginx·音视频
易水寒陈18 小时前
单片机实现的工厂模式
单片机
别了,李亚普诺夫20 小时前
PCB设计大师篇笔记
笔记·嵌入式硬件·学习