当前位置:网站首页>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
边栏推荐
- MySQL insert data create trigger fill UUID field value
- Easyexcel read write simple to use
- Leetcode-560: subarray with sum K
- . Net configuration system
- The story of Plato and his three disciples: how to find happiness? How to find the ideal partner?
- Leetcode exercise - 113 Path sum II
- 电表远程抄表拉合闸操作命令指令
- Adb 实用命令(网络包、日志、调优相关)
- @Transcation的配置,使用,原理注意事项:
- This article explains the complex relationship between MCU, arm, muc, DSP, FPGA and embedded system
猜你喜欢

leetcode-560:和为 K 的子数组

Appx代碼簽名指南

MySQL insert data create trigger fill UUID field value

ArcGIS operation: converting DWG data to SHP data

SolidWorks工程图中添加中心线和中心符号线的办法

01 use function to approximate cosine function (15 points)
![[second on] [jeecgboot] modify paging parameters](/img/59/55313e3e0cf6a1f7f6b03665e77789.png)
[second on] [jeecgboot] modify paging parameters
![[STM32] solution to the problem that SWD cannot recognize devices after STM32 burning program](/img/03/41bb3870b9a6c2ee66099abac08eb3.png)
[STM32] solution to the problem that SWD cannot recognize devices after STM32 burning program

String formatting

STM32 ADC和DMA
随机推荐
Appx代碼簽名指南
When there are pointer variable members in the custom type, the return value and parameters of the assignment operator overload must be reference types
openinstall与虎扑达成合作,挖掘体育文化产业数据价值
IDA中常见快捷键
Several schemes of building hardware communication technology of Internet of things
IIC基本知识
STM32 ADC and DMA
原型与原型链
BigDecimal value comparison
【二开】【JeecgBoot】修改分页参数
Study summary of postgraduate entrance examination in July
【acwing】789. 数的范围(二分基础)
求最大公约数与最小公倍数(C语言)
[email protected] can help us get the log object quickly
The method of word automatically generating directory
【华为机试真题详解】高矮个子排队
JMeter installation
php \n 换行无法输出
Talking about the return format in the log, encapsulation format handling, exception handling
Leetcode-560: subarray with sum K



