I want eeprom write and read about 8bit or 16bit. I need to example source code eeprom. please give me eeprom source code. thank you.
I want eeprom write and read about 8bit or 16bit. I need to example source code eeprom. please give me eeprom source code. thank you.
Hi,
Are you talking about an external EEPROM, or do you want to write to the onboard flash?
If it is an external EEPROM you will have to implement it youself, we recommend using a EEPROM which communicates over SPI or TWI, if the EEPROM communicates with a protocol you have to bitbang it will be difficult to implement alongside the SoftDevice.
To write/read to the onboard flash you can use the fstorage module, an additional example for reading can be seen here.
Best regards,
Øyvind
Hi,
I have the same question but regarding external EEPROM which is connected by SPI. What additional steps should I make? Is your example SPI program sufficient for this? I'm using SDK 14.
Thank you!
Hi,
I have the same question but regarding external EEPROM which is connected by SPI. What additional steps should I make? Is your example SPI program sufficient for this? I'm using SDK 14.
Thank you!