543
I
2
C Master/Slave Interface
CHAPTER 11
The I
2
C master/slave interface provides an interface between the ARM CPU and
the I
2
C bus.
The I
2
C master/slave interface basically is a parallel-to-serial and serial-to-parallel
converter. The parallel data received from the ARM CPU has to be converted to an
appropriate serial form to be transmitted to an external component using the I
2
C bus.
Similarly, the serial data received from the I
2
C bus has to be converted to an
appropriate parallel form for the ARM CPU. The I
2
C master interface also manages
the interface timing, data structure, and error handling.