cancel
Showing results for 
Search instead for 
Did you mean: 

AT24CM02 EEPROM, data that is read is different from data that is written

VYoun
Associate III

Hello guys,

I am trying to integrate and EEPROM into my system (based on STM32H7).

I managed to write a struct into the EEPROM. However, the data that I read is different from the data that I have written.

Is this a known problem with EEPROMs?

Any help is greatly appreciated.

Thank you and best regards,

Vouria

2 REPLIES 2
TDK
Guru

Reading and writing to EEPROMs should work correctly. You don't give many details, so it's hard to guess at what may be wrong.

If you feel a post has answered your question, please click "Accept as Solution".
VYoun
Associate III

Hello,

I was writing two functions to read and write to EEPROM. I was giving a wrong address in the functions.

You are right the EEPROM works fine, thank you for your help.