I am using pstorage library to keep some data in NVM. Should I use some nrf_delay calls while using pstorage_clear()? I am calling pstorage_store from callback function called by pstorage_clear, but when i check (just before pstorage_store) if there are any operations still pending on NVMC, in some situations (I didn't managed to reconstruct these situations) it show that clear is still not finished (pstorage_access_status_get returns 1, only sometimes 0).
I am using SD v6, and SDK 5.2.2