Does anyone use the Atmel AT24 driver for ST M24xxx eeprom? #92387
Unanswered
Schulz-Jakob
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm currently trying to use the ST M24256-DRE EEPROM with the Atmel AT24 driver but I get wrong read data via I2C when I try to read and write the eeprom several times in a row.
As far as the atmel,at24.yaml says, the ST M24xxx family is compatible with the Atmel AT24 driver.
I'm assuming that there is an error with the acknowledge polling when trying to read the eeprom data. Some eeprom only accept ack polling with a write command (just like the ST M24256-DRE).
Has anyone already tried the driver for this EEPROM or for this EEPROM family to confirm that the error is on my side?
Sorry in advance, I am new to zephyr and firmware development
Thanks
Jakob
Datasheet:
m24256-dre.pdf
Devicetree configuration:
The deviectree configuration of the i2c is split into two files
I2C_BITRATE_STANDARD
has the value 100000Example code:
Debug output (Segger RTT)
Eeprom driver modification
I have adapted the eeprom driver code and the data is read out correctly
Debug output after modification (Segger RTT)
Beta Was this translation helpful? Give feedback.
All reactions