Download presentation
Presentation is loading. Please wait.
Published byBrendan Potter Modified over 9 years ago
1
I2C UNIT 23 로봇 SW 교육원 조용수
2
학습 목표 I2C I2C Protocol 구조 N051 I2C 동작 I2C Register 2
3
I2C Bus Inter Integrated Circuit Bus TWI : Two Wire Interface Phillips 에서 제안한 규격으로 2 선만을 이용하여 시 리얼 전송하는 프로토콜 –SCL : I2C Clock –SDA : I2C Data I2C 는 1:N 통신이 가능하며, 각각 디바이스는 Address 를 가지고 있다. 3
4
I2C Protocol 구조 Normally, a standard communication consists of 4 sta ges: –START or Repeated START signal generation –Slave address transfer –Data transfer –STOP signal generation
5
Data Transfer 5 When successful slave addressing has been achiev ed, the data transfer can proceed on byte-by-byte ba sis in the direction specified by the R/W bit. The data length is based on actual application. Data transfer stage (example 1 byte data)
6
Acknowledge 6 Position NACK: High lev el ACK: Low level Each transferred byte is followed by an ACK or a NACK at 9th clock.
7
I2C Read / Write Protocol 구조 7 I2C Writ I2C Read
8
N051 I2C Bus Compatible with Philips I2C standard. Support Master/Slave mode Support 7 bit addressing mode Built-in a 14-bit time-out counter to avoid the I2C b us hang-up. Multiple address recognition ( Four slave address with mask option) 8
9
I2C Status 9
10
I2C Register 10
11
I2C Register 11
12
I2C Register 12
13
I2C Register 13
14
I2C Register 14
15
I2C Register 15
16
I2C Register 16
17
I2C Register 17
18
I2C Register 18
19
I2C Register 19
20
I2C Register 20
21
I2C Register 21
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.