I am trying to read 500 values stored on an EEPROM via I2C. The values were written to the EEPROM via I2C using the Example_2833xI2C_eeprom.c code using the F28335 Experimenter's Kit.
I have tried to reset the I2C module and setting different bits but this register continues to show to be equal to 1:
I2caRegs.I2CSTR.bit.BB
The code will only read 1 value stored on the eeprom and continues in an endless loop. I cannot generate a stop condition so it can get out of the loop. Any suggestions? Attached is the code with my modifications.