Wednesday, May 16, 2012

I2c bus




  • Serial bus.
  • Originally proposed by Philips
  • 400KHz - Slow
  • 8 or 16 bits.


  • I2c protocol


It uses only 2 signals (wires) Clock & Data.
The following protocol is implemented between master (CPU) and Slave devices.

START
C: H
D: Fall

STOP
C: H
D: Rise

ACK
C: H
D[9] = H or L

Send Address + D[0]command(Read)
Get ACK
Get Data

Send Address + D[0]command(Write)
Get ACK
Send Data

No comments:

Post a Comment