cancel
Showing results for 
Search instead for 
Did you mean: 

(M24M01E-F) Data storage

Rishvana
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thank you @Peter BENSCH