当前位置:网站首页>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插入数据创建触发器填充uuid字段值
- Use the fetch statement to obtain the repetition of the last row of cursor data
- P2788 数学1(math1)- 加减算式
- C#记录日志方法
- Talking about the return format in the log, encapsulation format handling, exception handling
- Adb 实用命令(网络包、日志、调优相关)
- 1324:【例6.6】整数区间
- fiddler-AutoResponder
- 2022.7.3DAY595
- Several schemes of building hardware communication technology of Internet of things
猜你喜欢

Yarn的基础介绍以及job的提交流程

MySQL insert data create trigger fill UUID field value

成为优秀的TS体操高手 之 TS 类型体操前置知识储备

【acwing】786. Number k

Use of JSON extractor originals in JMeter

Postman interface test VI

Methods of adding centerlines and centerlines in SolidWorks drawings

Chris Lattner, père de llvm: Pourquoi reconstruire le logiciel d'infrastructure ai

Use the fetch statement to obtain the repetition of the last row of cursor data

STM32 Basics - memory mapping
随机推荐
@Configuration, use, principle and precautions of transmission:
STM32 ADC和DMA
浅谈日志中的返回格式封装格式处理,异常处理
求方程ax^2+bx+c=0的根(C语言)
Inno Setup 打包及签名指南
P1031 [NOIP2002 提高组] 均分纸牌
Socket通信原理和实践
优雅的 Controller 层代码
The story of Plato and his three disciples: how to find happiness? How to find the ideal partner?
Kotlin实现微信界面切换(Fragment练习)
LLVM之父Chris Lattner:为什么我们要重建AI基础设施软件
2022.7.3DAY595
High number_ Chapter 1 space analytic geometry and vector algebra_ Quantity product of vectors
The Hal library is configured with a general timer Tim to trigger ADC sampling, and then DMA is moved to the memory space.
深入分析ERC-4907协议的主要内容,思考此协议对NFT市场流动性意义!
IPv4套接字地址结构
String formatting
【acwing】786. 第k个数
[email protected]能帮助我们快速拿到日志对象
反射效率为什么低?



