当前位置:网站首页>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
边栏推荐
猜你喜欢
【acwing】786. 第k个数
Guide de signature du Code Appx
Vs code specifies the extension installation location
求方程ax^2+bx+c=0的根(C语言)
The variables or functions declared in the header file cannot be recognized after importing other people's projects and adding the header file
Several schemes of building hardware communication technology of Internet of things
LeetCode 练习——113. 路径总和 II
深入分析ERC-4907协议的主要内容,思考此协议对NFT市场流动性意义!
SolidWorks工程图中添加中心线和中心符号线的办法
Trajectory planning for multi-robot systems: Methods and applications 综述阅读笔记
随机推荐
串口通讯继电器-modbus通信上位机调试软件工具项目开发案例
When there are pointer variable members in the custom type, the return value and parameters of the assignment operator overload must be reference types
使用U2-Net深层网络实现——证件照生成程序
2022.7.4DAY596
Kotlin实现微信界面切换(Fragment练习)
Pdf document signature Guide
STM32 ADC and DMA
mysql插入数据创建触发器填充uuid字段值
Adb 实用命令(网络包、日志、调优相关)
High number_ Chapter 1 space analytic geometry and vector algebra_ Quantity product of vectors
2022.7.6DAY598
Study summary of postgraduate entrance examination in August
【HigherHRNet】 HigherHRNet 详解之 HigherHRNet的热图回归代码
Leetcode-560: subarray with sum K
Learning records - high precision addition and multiplication
@Transcation的配置,使用,原理注意事项:
Download Text, pictures and ab packages used by unitywebrequest Foundation
基于HPC场景的集群任务调度系统LSF/SGE/Slurm/PBS
php \n 换行无法输出
@Configuration, use, principle and precautions of transmission: