当前位置:网站首页>IIC Basics
IIC Basics
2022-07-07 10:29:00 【L7256】
Simply record IIC Related knowledge . Always forget .
First IIC It's two wires ,SDA and SCL,SDA For data transfer ,SCL It's a clock pulse .IIC It is a kind of half duplex communication .
- Hardware connection
By default SDA and SCL Both are in high level and idle state , So these two wires will be connected to Vcc
- IIC Several signal definitions of
- Idle signal
When SDA and SCL It's all high level , It is considered to be idle
- Start signal
SCL For the high ,SDA From high to low .
- Stop signal
SCL For the high ,SDA From low to high
- The data transfer
(1) Send the start signal
(2) Data transfer :SCL For the high ,SDA Stable ( Always high or low )
(3) Data jump :SCL For low ,SDA Allow jump
(3) Send a termination signal
notes : During data transmission ,SDA Do not jump , Otherwise it will be considered as the beginning / Stop signal .
- Answer signal
This signal indicates , The receiving end receives successfully or unsuccessfully 8 Bytes . When the first 9 A byte high indicates ACK The signal , Indicates the positive response of the receiving end . When the first 9 A low byte indicates NACK The signal , Indicates the negative response of the receiving end .
(1) Start signal
(2) Data transfer (SCL high SDA Stable . SCL low SDA change , Until it was sent 8 position )
(3)SCL Low level ,SDA The signal changes ( The receiving end controls the high and low levels )
(4)SCL The clock pulse becomes high ,SDA The signal is stable ( Receiving end control )
(5) The sender detects at 9 individual SCL When the pulse is high SDA The signal
(6)SDA by 1 surface ACK,SDA by 0 surface NACK
- Bus President
边栏推荐
- 浅谈日志中的返回格式封装格式处理,异常处理
- table宽度比tbody宽度大4px
- 优雅的 Controller 层代码
- AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
- 施努卡:机器视觉定位技术 机器视觉定位原理
- 关于hzero-resource报错(groovy.lang.MissingPropertyException: No such property: weight for class)
- EasyExcel读取写入简单使用
- Weekly recommended short videos: what are the functions of L2 that we often use in daily life?
- High number_ Chapter 1 space analytic geometry and vector algebra_ Quantity product of vectors
- Fiddler break point
猜你喜欢
随机推荐
HAL库配置通用定时器TIM触发ADC采样,然后DMA搬运到内存空间。
MCU is the most popular science (ten thousand words summary, worth collecting)
嵌入式工程师如何提高工作效率
求最大公约数与最小公倍数(C语言)
Several schemes of building hardware communication technology of Internet of things
施努卡:机器视觉定位技术 机器视觉定位原理
XML configuration file parsing and modeling
Study summary of postgraduate entrance examination in August
Fiddler break point
【剑指Offer】42. 栈的压入、弹出序列
2022.7.6DAY598
The mobile terminal automatically adjusts the page content and font size by setting rem
Programming features of ISP, IAP, ICP, JTAG and SWD
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
How to cancel automatic saving of changes in sqlyog database
Appx code signing Guide
[homework] 2022.7.6 write your own cal function
优雅的 Controller 层代码
@Transcation的配置,使用,原理注意事项:
Easyexcel read write simple to use