khoitd1997 / hypnos

Module embedded inside user's laptop to "remind" them to take break and sleep
0 stars 0 forks source link

Investigate Flash Usage #21

Closed khoitd1997 closed 4 years ago

khoitd1997 commented 4 years ago

Per #18, when system off we will need to save some persistent data like user schedule somewhere, we can either use internal flash, ram retention or external flash

khoitd1997 commented 4 years ago

Using Internal Stuffs

internal flash specs. flash vs EEPROM for nrf52 NOTE: The flash data storage API is not robust when SoftDevice is active

nrf52 UCIR 32 words, be careful though, this thing seems like it has a lot of tradeoffs

khoitd1997 commented 4 years ago

External

The RV-3028 has 43 bytes of user EEPROM

khoitd1997 commented 4 years ago

After calculations of all user's data, the RV-3028 EEPROM will be sufficient, in a pinch, the UCIR can be used also