You are here

Firmware Emulation of an I2C Slave Device | Cypress Semiconductor

Firmware Emulation of an I2C Slave Device

Last Updated: 
Sep 23, 2008

Many embedded microprocessors contain a "two wire serial" interface, which looks remarkable similar to Philips' I2C interface.  In many designs, these two pins are an unused access point into the microprocessor.  This article will provide a detailed look at how to implement the slave side of the I2C interface using "bit banging".  Soon you will be able to use two GPIOs on your own processor for inter-processor communication, which will save a lot of pins over an 8-bit parallel bus.  To view this article in AnalogZone, click here or download the pdf file below: