Hi,
I'm trying to create an I2C driver and I am trying to test it through the digital loopback. I am using the platform_lib_evmc6657l I2C and I2C_eeprom as an example and set the digital loopback (DLB in ICMDR) so I can view the ICDRR to verify if the value was written to correctly.
I'm having trouble with the write function as I am expecting the value to be in ICDRR, but when I step through it, nothing is being written to that register.
I first start by initializing the I2C by calling evmI2CInit() in evm665x_i2c.c. Then inside evmc665x_i2c_eeprom.c, I change the function i2cEepromWriteBlock() so that it sets the DLB when it also sets the start bit. From there, I keep everything else the same.
Is there something that I am missing for the digital loopback?
Thank you


