AN50987 gives an overview of the I2C standard and explains how a PSoC® 1 device handles I2C communications. After reading this application note, you should have an understanding of how I2C works, how to implement it in PSoC 1, and how to choose the correct user module for a design. Example projects demonstrate how to configure PSoC 1 as an I2C master/slave to communicate with other I2C devices on the bus.
Introduction
Inter-integrated circuit (IIC or I2C) is a common chip-tochip serial communications standard developed by the Philips semiconductor division (now NXP). I2C provides a simple way for ICs to communicate on the same printed circuit board (PCB). I2C consists of a simple physical layer that requires only two pins and minimal external components. One advantage of I2C over a communication standard such as SPI is that it has a built-in communication protocol that allows easy, error-free communication between devices.
The following video explains the basics of I2C communication protocol.
Example Project |
Supported H/W and S/W | Supported PSoC1 Devices | |||||||||
PSoC Designer Version | H/W Kit | CY8C20xxx | CY8C21xxx | CY8C22xxx | CY8C23xxx | CY8C24xxx | CY8C27xxx | CY8C28xxx | CY8C29xxx | ||
Yes | 5.4 | N/A | x23, x34, x45 | x45 | x33 | x23A, x94 | x43 | x | x66 |