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

NVMC driver wait_for_flash_ready

I have a question about the wait_for_flash_ready routine in the nrf_nvmc.c file.

    static inline void wait_for_flash_ready(void)
{
    while (NRF_NVMC->READY == NVMC_READY_READY_Busy) {;}
}

Can you tell me if this particular while loop can ever get stuck? Does it timeout after a certain time? If so, is there any way to detect that this timed out and the NVM controller was not able to complete the operation?

Parents Reply Children
No Data
Related