AN 494: GPIO Pin Expansion Using I2C Bus Interface in Altera MAX Series

ID 683261
Date 9/22/2014
Public

1.2. I2C Interface for GPIO Pin Expansion

The supported Altera device acts as a slave on the I2C bus and has two pins on its I2C interface: the I2C clock SCL and the I2C data line SDA. The host system, which acts as an I2C master, communicates with the device (which acts as an I2C slave). The device presents eight general purpose input ports and eight general purpose output ports to the host. Data, which is transmitted serially over the I2C bus, is received in parallel at the GPIO pins. This way, all eight general purpose I/Os can be read or written at the same time.