본문 바로가기
인턴/준비

I2C & SPI

by 사향낭 2022. 2. 7.

Serial communication protocols

 

 

I2C

 

- Inter-Integrated Circuit

 

- Made by Philips

 

- Good support to the slow devices, EEPROM, ADC, and RTC

 

- Not only used with the single board but also used with the other external components which have connected with boards through the cables

 

- A two-wire communication protocol, one used for the data (SDA, serial data), the other used for the clock (SCL, serial clock)

 

- It follows the master and slave relationships

 

 

 

- Consumes more power due to open-drain topology, only good for a short distance

 

 

 

EEPROM

 

- Electrically Erasable Programmable Read-Only Memory

 

- Non-volatile memory with small erase blocks, and a long lifetime

 

- To store relatively small amounts of data by allowing individual bytes to be erased and reprogrammed

 

 

ADC

 

- Analog-to-Digital Converter

 

 

RTC

 

- Real-Time Communication

 

 

SPI

 

- Serial Peripheral Interface

 

- Four wire-based full-duplex communication protocol

 

- MOSI (master out slave in), MISO (master in slave out), SCL (serial clock produced by the master), SS (slave select line which use to select specific slave during the communication)

 

- It follows the master and slave architecture

 

- Communications are always only started by the master

 

- Higher data transfer rate than I2C

 

 

 

'인턴 > 준비' 카테고리의 다른 글

Git #2 Basics  (1) 2022.12.29
Git #1 Origins story and terms  (0) 2022.12.27
Go Language #1  (0) 2022.12.16
속성 SQL  (0) 2022.02.28
[project] simpleAtmController  (0) 2022.01.12

댓글