Skip to main content
Visitor II
August 8, 2024
Question

i need to store data in EEPROM emulator stm32l432kc controller by using its internal flash memory

  • August 8, 2024
  • 2 replies
  • 948 views

Hello.

i need to make EEPROM emulator for data storage here i am using stm32l432kc controller. and i am using last 4 pages of internal flash memory to emulate EEPROM. start address of page 124 is 0x0803E000 end address of page 127 is 0x0803FFFF. each page size is 2KB and data should be updated every minute (data=ADC voltage value with timestamp) and this data should be retain or keep minimum 4 hours in storage. kind you help me inputs to write code. and how to write code.

    This topic has been closed for replies.

    2 replies

    Super User
    August 8, 2024

    @vpn wrote:

    i am using stm32l432kc .


    So you should be able to use X-CUBE-EEPROM ?

    https://www.st.com/en/embedded-software/x-cube-eeprom.html 

    Graduate II
    August 8, 2024

    Or you could just use the Flash directly and efficiently..