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

quickly perform flash write during power loss

I'm using nfr52 with softdevice s132. I want quickly perform flash write during power loss. When I realize write using fs_store() I obtain time more than 5 msec. How can I use sd_flash_write() without SoftDevice event? How can I disable SoftDevice during power loss int? It needs to perform flash write in less than 5 msec.

Parents
  • Sudden power loss is sometimes handled by a interrupt tied to a circuit that detects the loss of power. The power supply is designed with enough capacitance to run the system for as long as needed to shut things down, a few milliseconds usually. So you get the interrupt, and save. Dealing with the BLE stack is another story, but if youve lost power, you might not care if the last transmissions gets through

Reply
  • Sudden power loss is sometimes handled by a interrupt tied to a circuit that detects the loss of power. The power supply is designed with enough capacitance to run the system for as long as needed to shut things down, a few milliseconds usually. So you get the interrupt, and save. Dealing with the BLE stack is another story, but if youve lost power, you might not care if the last transmissions gets through

Children
No Data
Related