当前位置:网站首页>I2C protocol
I2C protocol
2022-06-26 01:15:00 【Oh, Yu è】
About I2C
I2C Philips was the first company in 1982 A two-way two-wire serial bus protocol developed in . It only needs two signal lines to complete the information exchange , So far, there have been 100kHz、400kHz、1MHz、3.4MHz、5MHz Five communication rates . The final communication rate depends on the peripheral rather than the host chip .
I2C The signal line
SCL Clock line
SCL The clock line determines the communication rate , The higher the frequency is. , The faster the transmission rate , Its presence High voltage usually ,SDA Line data valid .
SDA cable
SDA The data line determines what data to transmit , High level means 1, Low level means 0. stay SCL During high level ,SDA Must be stable .
I2C sequential
Start flag
SCL High voltage usually ,SDA Switch from high level to low level
End mark
SCL High voltage usually ,SDA Switch from low level to high level

Answer flag
SCL At high power level ,SDA keep Low level
Non response flag
SCL At high power level ,SDA keep High level

Waiting for an answer
And answer / Same as non response , It's just a SCL Set high , Release SDA See the level of the slave
about I2C The temporal , Something to watch out for :
- GPIO initialization ( Hardware I2C The reuse open drain mode should be strictly used , Prevent large current backflow , The software can use the ordinary push-pull output mode , But when switching between output and input modes , Do not operate the high and low levels of the pins , In order to avoid unnecessary level )
- I2C The calculation of reading and writing speed should be determined MCU Clock speed 、 The maximum rate that the slave device can accept
边栏推荐
- C#使用MySql进行操作
- Inheritance -- holy grail mode
- FreeRTOS+STM32L+ESP8266+MQTT协议传输温湿度数据到腾讯云物联网平台
- 计算机网络知识总结(面试)
- Unified gateway
- Final review [machine learning]
- Comment promouvoir efficacement les produits
- 原生DOM与虚拟DOM
- Endnote IEEE Transactions on industrial electronics/tie/tpel reference format template
- 213. house raiding II
猜你喜欢

Web信息收集,互联网上的裸奔者

Handling of @charset UTF-8 warning problems during vite packaging and construction;

Optimized three-dimensional space positioning method and its fast implementation in C language

Freertos+stm32l+esp8266+mqtt protocol transmits temperature and humidity data to Tencent cloud IOT platform

QT cmake pure C code calls the system console to input scanf and Chinese output garbled code

FPGA notes -- implementation of FPGA floating point operation

Typescript for Web Learning

数字电路——加法器

MOS管防倒灌电路设计及其过程分析

计算机网络知识总结(面试)
随机推荐
Nacos registry
2022资料员-通用基础(资料员)考试模拟100题及在线模拟考试
Px4 system terminal for pixhawk
Electronic training.
213. house raiding II
Idempotence of interfaces -- talk about idempotence of interfaces in detail, that is, solutions
下载安装Flume
The cache page stores the initial parameters after the route jump under the react + router framework
Installation and startup of redis
填鸭数据即时收集解决方案资源
.net使用Access 2010数据库
经典面试题之老鼠试药与汉明码
原生DOM与虚拟DOM
Web學習之TypeScript
Preorder and middle order traversal of forest
Enlightenment Q & A
剑指 Offer II 096. 字符串交织
Sqlserver is case sensitive
Duck feeding data instant collection solution resources
jarvisoj_ level2_ x64