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

相关推荐
Tomhex29 分钟前
ARMv7与Cortex-M3关系解析
stm32
傻童:CPU1 小时前
stm32程序的启动过程
stm32
JaneHan_2 小时前
STM32CubeMX+HAL+Keil5 PWM呼吸灯
c语言·stm32·单片机
Ww.xh3 小时前
STM32嵌入AI模型全流程指南
stm32
Ww.xh3 小时前
STM32嵌入AI模型实战指南
stm32
傻童:CPU3 小时前
板级支持包的构建
stm32
进击的小头3 小时前
第7篇:嵌入式芯片运算核心:ALU_MAC_FPU的工作原理与性能差异
单片机·嵌入式硬件
振南的单片机世界3 小时前
RS485组网:一问一答,多个从机不打架
单片机·嵌入式硬件
开源盛世!!3 小时前
4.9-4.11
单片机·嵌入式硬件
路过羊圈的狼4 小时前
STM32使用SFUD (Serial Flash Universal Driver) 串行 Flash 通用驱动库驱动W25Q128
stm32·单片机·嵌入式硬件