This demo (i2cEepromDemo directory) demonstrates the usage of the I2C driver to establish communication with the on-board EEPROM device, specifically the AT24C01 that is used in the Trion T120F324 and T120F576 development kit. The UART console serves as an interactive terminal that allows you to select the available operations, specify the address and number of bytes to read/write, and provide the data to be written. This example shows you on the interaction and configuration with the onboard EEPROM using the I2C driver that facilitates the data transfer and its manipulation through the UART console.
For more detail of the driver, refer to I2C Driver
By default, newlib-nano is used for this demo.
The following shows the expected execution sequence: