We're using the nRF52840 along with SoftDevice s140 version 7.01 for a medical device. Reviewing the nRF52840 Errata sheet, Rev2, there is an errata "242 NVMC: NVMC operations during POFWARN cause the CPU to hang." The hang occurs when POFWAR is asserted during a write or erase operation. The workaround is to disable POFWARN before a write and erase operation. Obviously a medical device can not hang. Digging further there is a SoftDevice API called sd_power_pof_enable() which enables/disables the POFWARN signal.
My Question is: Does the SoftDevice call this function before/after erase and writes (inside of sd_flash_write() and sd_flash_page_erase())? Or is this something our code has to do?
Thanks,
Dean