1. i2c
Features
• 2 wire bi-directional
• Multi-master
• Multi-slave
• Single-ended
• Serial computer bus
• Open drain
Speed
● 100 kbit/s standard mode
● 400 kbit/s Fast mode
● 1 Mbit/s Fast mode plus
●
3.4 Mbit/s High Speed mode
Number of Devices
● 7 bit – 128 devices
● Total line capcitance - 400pf
3. Types of Nodes
● Master node — generates the clock and initiates communication with slaves
● Slave node — receives the clock and responds when addressed by the master
Modes of operation
● master transmit — master node is sending data to a slave
● master receive — master node is receiving data from a slave
● slave transmit — slave node is sending data to the master
● slave receive — slave node is receiving data from the master
4. Protocol
● Start bit 1 bit
● Slave address + read/Write 7+1 bits
● Ack by Slave 1 Bits
● Register read/Write 1 Bit by slave
● Data 8 bits
● Stop bit 1bit