개발정보/Software

i2C programming(수정 중)

코리안던 2022. 3. 13.

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=khsrdc&logNo=110165550647 

 

I2C 프로그래밍

I2C는 필립스에서 제안한 통신 방식으로 master와 slave 간에 2가지의 신호, 즉 serial data line과 seri...

blog.naver.com

https://blog.naver.com/specialist0/220645221966

 

I2C 통신 프로토콜

I2C(IIC, TWI) 통신 프로토콜(protocol)에 대해 알아보겠습니다. I2C 버스는 SDA(Serial Da...

blog.naver.com

https://ohj-1129.tistory.com/38

 

I2C 통신에 대한 깔끔한 설명 - 원리부터 응용까지 (with 온도센서)-2

 목차 1. I2C 통신이란? - I2C 통신이란? - I2C 통신의 특징 2. 왜 I2C 통신을 사용하는 가?  - I2C통신과 SPI 통신,UART 통신과의 비교 3. I2C 통신을 위해 필요한 조건 - I2C 통신을 위해 하드웨어적으로 필

ohj-1129.tistory.com

I2C Operation

I2C 동작 과정

 

The transaction on the bus is started through a start signal.

버스의 동작과정은 시작 신호를 통해 시작되어진다. 

A Start condition is defined as a high-to-low transition on the data line while the SCL line is held high.

시작 상태 조건은 클록신호가 High인 상태에서, 데이터 라인 신호가 High to Low로 바뀔 때 시작한다.

After this has been transmitted by the master, the bus is considered busy.

마스터 장치에 의해 시작 신호가 송신되고 나면, 버스라인은 통화 중(busy)인 것으로 간주된다.

https://blog.naver.com/specialist0/220645221966 

The next byte of data transmitted after the start condition contains the address of the slave in the first 7 bits and the eighth bit tells whether the master is receiving data from the slave or transmitting data to the slave.

시작 신호 이후에 오는 데이터 바이트는 7bits(슬레이브 디바이스의 주소)+ eighth bit(슬레이브로부터 데이터를 받는지 ? 또는 슬레이브에게 데이터를 전송하는지 여부)를 포함한다.

 

 

https://ohj-1129.tistory.com/38

http://www.ntrexgo.com/archives/31932

 

[38호]라즈베리파이 SENSE HAT 리뷰 | NTREXGO - 디바이스마트, 엔티렉스 컨텐츠 통합 사이트

[38호]라즈베리파이 SENSE HAT 리뷰 Posted by 디바이스마트 매거진 on Sunday, September 25, 2016 · Leave a Comment  라즈베리파이 SENSE HAT 리뷰 우주정거장으로 날아 간 라즈베리파이 Sense HAT 글 | 금강초롱 blog.n

www.ntrexgo.com

https://naito.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4%EC%99%80-I2C

 

리눅스/I2C

마소 홈페이지에 올라온 기사. I2C에 대한 설명. http://www.imaso.co.kr/?doc=bbs/gbprint.php&bo_table=article&page=&wr_id=6074 (회원 전용 print 페이지) http://www.imaso.co.kr/?doc=bbs/gnuboard.php&bo_..

naito.tistory.com

https://forums.raspberrypi.com/viewtopic.php?t=270496     https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/i2c-dev.h#L43

 

'개발정보 > Software' 카테고리의 다른 글

BAM 개념정리  (0) 2022.04.12
file descriptor  (0) 2022.03.12
물고기 잡는 법 배우기  (0) 2022.03.11
CAN통신  (0) 2022.03.11
깃 사용  (0) 2022.03.10

댓글