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

相关推荐
踏着七彩祥云的小丑19 分钟前
嵌入式测试学习第 12天:串口基础概念:UART、波特率、数据位、校验位
单片机·嵌入式硬件
夜阑寄语1 小时前
基础元器件
单片机·嵌入式硬件
北山有鸟1 小时前
常用的快捷键
linux·前端·chrome·单片机·学习
QH139292318801 小时前
R&S®SMBV100B 矢量信号发生器 5G/Wi-Fi/GNSS 主力源
网络·科技·嵌入式硬件·集成测试·信息与通信
山木嵌入式2 小时前
FreeRTOS从入门到进阶:核心概念与调度原理全解析
stm32·操作系统·嵌入式·freertos·rtos
方山子哦3 小时前
软硬件uart、iic、spi、can,及蓝牙和usb的区别及应用场景
单片机·嵌入式硬件
czwxkn4 小时前
pcb设计-电路:IO口的灌电流与拉电流
单片机·嵌入式硬件
朴人4 小时前
【stm32无感FOC理论与实践:滑模观测器】【03 代码实践】
stm32·foc·永磁同步电机·pmsm·smo·无感·滑模
一路往蓝-Anbo5 小时前
第一章:嵌入式TDD-环境搭建
网络·stm32·单片机·嵌入式硬件·tdd
FreakStudio12 小时前
硬件版【Cursor】?aily blockly IDE尝鲜封神,实战硬伤尽显
python·单片机·嵌入式·大学生·面向对象·并行计算·电子diy·电子计算机