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

when Pstorage_clear is done?

Hello, I am using pstorage function and I would like to know oppionions of your's what would be the best practise to wait until processor erases the flash memory and would ready for other actions? How should I know the process have been done?

here is the clear function: image description

here is how I use it: image description

I am thinking that NRF_NVMC->READY register is never being busy (it's value never =0). Is it possibile, because if try to turn LED while NRF_NVMC->READY is busy it never turns on.

Related