Block Diagram
Figure
Figure 3-1. DSTni I2C Controller Block Diagram
Theory of Operation
I2C Background
The I2C bus is a popular serial,
The I2C bus consists of two wires, serial data (SDA), and a serial clock (SCL), which carry information between the devices connected to the bus. This
The number of devices connected to the same bus is limited only by a maximum bus capacitance of 400 pF. Both the SDA and SCL lines are bidirectional, connected to a positive supply voltage via a
Each device on the bus has a unique address and can operate as either a transmitter or receiver. In addition, devices can also be configured as masters or slaves.
A master is the device that initiates a data transfer on the bus and generates the clock signals to permit that transfer.
Any other device that is being addressed is considered a slave.
The I2C protocol defines an arbitration procedure to ensure that if more than one master simultaneously tries to control the bus, only one is allowed to do so and the message is not
corrupted. The arbitration and clock synchronization procedures defined in the I2C specification are supported by the DSTni I2C controller.
12