1. Read_data

1.1. Function description:

I2C2ICB uses I2C protocol to write command to and read data from ICB bus, and then receives response from ICB bus; and it support standard mode in I2C protocol.

1.2. Test result:

If the data transmitted is equal to the data received, print pass, if not print fail.

1.3. IO connection:

PAD

PAD

pad_i2c2icb_scl

pad_i2c0_scl

pad_i2c2icb_sda

pad_i2c0_sda

Note

  • 1.Transmits via I2C cpu mode.

  • 2.Data is initialized to test_sram if subsystem has no slave port.