This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

EEPROM Read through I2c bus

Hi

I trying to read data from EEPROM through i2c bus . i used twi_hw_master.c application code.

i am reading same data from EEPROM when i debug step by step. but once i done single run in debug.

i am getting some garbage value.(in my case it is 0x08 and 0x01).

i increase data address and make single run then also i am getting same garbage value ox08 and 0x01.(but not in steb by step debug).

ex: i written data 0x0fb,0x0d,0x06,0x07 to address 0x00 0x00.

i got data 0xfb 0x0d at address 0x00 0x00 by step by step debug. which means working fine.

But i got data 0x08 0x01  at address 0x00 0x00 by single step run.

Kindly tell me what is issue.

Reagards Balaji

Parents Reply Children
No Data
Related