当前位置:网站首页>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
边栏推荐
- IDA中常见快捷键
- Multisim--软件相关使用技巧
- 【acwing】789. 数的范围(二分基础)
- Programming features of ISP, IAP, ICP, JTAG and SWD
- 【STM32】STM32烧录程序后SWD无法识别器件的问题解决方法
- leetcode-304:二维区域和检索 - 矩阵不可变
- Easyexcel read write simple to use
- . Net configuration system
- Study summary of postgraduate entrance examination in August
- The variables or functions declared in the header file cannot be recognized after importing other people's projects and adding the header file
猜你喜欢
OpenGL glLightfv 函数的应用以及光源的相关知识
求最大公约数与最小公倍数(C语言)
使用U2-Net深层网络实现——证件照生成程序
The story of Plato and his three disciples: how to find happiness? How to find the ideal partner?
Appx代碼簽名指南
1324:【例6.6】整数区间
小程序跳转H5,配置业务域名经验教程
Leetcode-560: subarray with sum K
leetcode-304:二维区域和检索 - 矩阵不可变
深入分析ERC-4907协议的主要内容,思考此协议对NFT市场流动性意义!
随机推荐
【华为机试真题详解】高矮个子排队
Postman interface test III
String formatting
【acwing】786. Number k
[牛客网刷题 Day5] JZ77 按之字形顺序打印二叉树
Use the fetch statement to obtain the repetition of the last row of cursor data
AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
LLVM之父Chris Lattner:为什么我们要重建AI基础设施软件
Download Text, pictures and ab packages used by unitywebrequest Foundation
The Hal library is configured with a general timer Tim to trigger ADC sampling, and then DMA is moved to the memory space.
Pdf document signature Guide
JMeter installation
openinstall与虎扑达成合作,挖掘体育文化产业数据价值
555电路详解
UnityWebRequest基础使用之下载文本、图片、AB包
【作业】2022.7.6 写一个自己的cal函数
Jump to the mobile terminal page or PC terminal page according to the device information
BigDecimal value comparison
Leetcode-560: subarray with sum K
[detailed explanation of Huawei machine test] tall and short people queue up