Skip to main content
Associate II
August 19, 2024
Solved

(M24M01E-F) Data storage

  • August 19, 2024
  • 1 reply
  • 816 views

Hi,

For my project, I am using an M24M01E-F I2C EEPROM. In this application need to store sensors offset values (float data type) in EEPROM. whether it can be able to write/ read float value.

 

Regards,

Rishvana M

Best answer by Peter BENSCH

You can store bytes in any EEPROM, whether single bytes or bytes in groups. In STM32, FLOAT values consist of four bytes (32bit), so you can also store FLOAT on the EEPROM.

Hope that answers your question?

Regards
/Peter

1 reply

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
August 19, 2024

You can store bytes in any EEPROM, whether single bytes or bytes in groups. In STM32, FLOAT values consist of four bytes (32bit), so you can also store FLOAT on the EEPROM.

Hope that answers your question?

Regards
/Peter

RishvanaAuthor
Associate II
August 19, 2024

Thank you @Peter BENSCH