How can I read/write EEPROM/NVM on the nRF52832 Breakout? I’m using the Arduino IDE if that matters.
As I understand it, the MCU doesn’t have real EEPROM but emulates it in NVM and the stock EEPROM library won’t work. So what do I have to do to read/write a small amount of data (about 8-16 bytes)?
Hi frdfsnlght,
As far as I can tell, I do not think there is a way to write to the internal memory with the [nRF52 Arduino Core the SparkFun nRF52832 Dev Board is based on. These two issues ([Issue 147 and [Issue 50) both state that functionality is not built into the core. There might be some helpful information in one of the links posted in the replies to those issues but it looks like you may need to use a different development environment if you want to read/write to the flash memory on the nRF52832.](EEPROM simulation and Flash access. · Issue #50 · sandeepmistry/arduino-nRF5 · GitHub)](fstorage functionality · Issue #147 · sandeepmistry/arduino-nRF5 · GitHub)](GitHub - sandeepmistry/arduino-nRF5: Arduino Core for Nordic Semiconductor nRF5 based boards)