当前位置:网站首页>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
边栏推荐
- 柏拉图和他的三个弟子的故事:如何寻找幸福?如何寻找理想伴侣?
- 施努卡:机器人视觉抓取工作原理 机器视觉抓取
- 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
- Why is the reflection efficiency low?
- Download Text, pictures and ab packages used by unitywebrequest Foundation
- Talking about the return format in the log, encapsulation format handling, exception handling
- Learning records - high precision addition and multiplication
- P1223 排队接水/1319:【例6.1】排队接水
- 施努卡:机器视觉定位技术 机器视觉定位原理
猜你喜欢

Inno setup packaging and signing Guide

ArcGIS operation: converting DWG data to SHP data

Leetcode exercise - 113 Path sum II

Prototype object in ES6

OpenGL glLightfv 函数的应用以及光源的相关知识

leetcode-304:二维区域和检索 - 矩阵不可变

HAL库配置通用定时器TIM触发ADC采样,然后DMA搬运到内存空间。

【二开】【JeecgBoot】修改分页参数

【剑指Offer】42. 栈的压入、弹出序列

Appx code signing Guide
随机推荐
STM32 product introduction
Smart city construction based on GIS 3D visualization technology
Appx code signing Guide
Jump to the mobile terminal page or PC terminal page according to the device information
深入分析ERC-4907协议的主要内容,思考此协议对NFT市场流动性意义!
IO模型复习
leetcode-304:二维区域和检索 - 矩阵不可变
STM32 ADC和DMA
Programming features of ISP, IAP, ICP, JTAG and SWD
柏拉图和他的三个弟子的故事:如何寻找幸福?如何寻找理想伴侣?
gym安装踩坑记录
Download Text, pictures and ab packages used by unitywebrequest Foundation
UnityWebRequest基础使用之下载文本、图片、AB包
table宽度比tbody宽度大4px
基于gis三维可视化技术的智慧城市建设
Postman interface test VII
Embedded background - chip
Study summary of postgraduate entrance examination in October
Chris Lattner, père de llvm: Pourquoi reconstruire le logiciel d'infrastructure ai
SQLyog数据库怎么取消自动保存更改



