External EEPROM memory I2C 1Mbit with STM32F051
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-07-30 12:03 PM
Hello,
I am using an STM32F051 with an external EEPROM M24M01 memory of 1Mbit capacity (500 x 256bits)
STMCubeMX has a proprietary library for use with external I2C EEPROM memory, but it is not suitable for the storage memory I am using.
Would someone here have an example code using such a memory? Or what are the modifications I can make in the library for it to work?
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-07-30 12:39 PM
1Mbit (128KB)
You'd need to pull a data sheet for the EEPROM, and then modify the example code to fit the page and addressing mechanisms of your chosen part.
STM32Cube_FW_F0_V1.9.0\Drivers\BSP\STM32072B_EVAL\stm32072b_eval_eeprom.c
A quick google of "M24M01 STM32" pulled this up, dig a little.
Up vote any posts that you find helpful, it shows what's working..
