This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to store sensor data in internal flash memory?

Hi,

I am using the stts751 temp sensor with nrf52832 for temp data logging for short time. I want to save temp data in the internal flash memory but I didn't find any similar example.

Please guide me for the same and share any similar examples that I can refer to.

thanks

Parents Reply
  • Hello,

    The_user_23 said:
    I checked the FDS example and now I can save sensor data.

    I am glad to hear that you are able to save your sensor data!

    The_user_23 said:
    but it is not clear how much data I can save? and what will be the starting address of available space?

    The FDS library writes from the top of the flash to the bottom, and uses the CODE_START _END and _SIZE compile-time macros from app_util.h to determine how many flash pages is available. If I remember correctly the FDS example prints the number of available pages upon startup. You could take a look there to see how this is implemented.

    Best regards,
    Karl

Children
Related