Professional Documents
Culture Documents
presentation
BITS Pilani Ramani Kalpathi
Automotive Electronics
Pilani Campus
BITS Pilani
Pilani Campus
• I2C
• Hardware Interface
• Sequence for Write / Read
• Program structure
• Bus Waveforms
I2C Communication
(To transfer data to other devices such as
external EEPROM, I/O devices)
I2C – Inter Integrated Circuit
I2C peripherals present in PIC and LPC23xx devices
Operation at 400Kbps speed (clock rate)
Master mode or slave mode
SDA – Serial data
SCL – Serial Clock
Two pins are selected to be changed from GPIO to I2C mode
Start Condition: With SCL high, SDA should transition from High to Low
Stop Condition: With SCL high, SDA should transition from Low to High