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

nRF52 Flash memory vs EEPROM

If we want to save some data, (as I think) we have two options.

Flash memory in nRF52832 or external EEPROM.

could you tell me pros and cons of two?


my guess

  1. external EEPROM = additional cost
  2. external EEPROM = additional port needed
  3. Flash memory - might cause conflict BLE works and saving works
  4. Flash memory has bigger page, so may takes more time to operate
  5. Flash memory might be unstable of Flash memory API
Parents
  • Another option is the on-chip UICR, which I believe reduces or eliminates your Flash cons 3, 4, and 5, but it only holds 32 32-bit words. Another Flash (and UICR) con that you didn't list is you have to erase a whole or half block at a time. (In the case of UICR, you have to erase all of it to modify any value more than twice(?).) This makes them clumsy for storing user settings that can change often.

Reply
  • Another option is the on-chip UICR, which I believe reduces or eliminates your Flash cons 3, 4, and 5, but it only holds 32 32-bit words. Another Flash (and UICR) con that you didn't list is you have to erase a whole or half block at a time. (In the case of UICR, you have to erase all of it to modify any value more than twice(?).) This makes them clumsy for storing user settings that can change often.

Children
No Data
Related