14.2.4.1.1 Transfer Example

  1. The Cortex-M3 processor sets the ENS1 and STA bits of the Control register.
  2. The I2C peripheral sends a START condition and then generates an interrupt request, (STATUS register = 0x08).
  3. The Cortex-M3 processor writes to the data register (7-bit slave address and direction bit) and then clears the serial interrupt (SI) bit in the Control register.
  4. The I2C peripheral sends the data register contents and then generates the interrupt request.
  5. The Status register contains a value of 0x18 or 0x20, depending on the received ACK bit 
(Table 14-8).
  6. The transfer is continued according to the STATUS Register – Master-Transmitter mode.