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

Does the WDT TIMEOUT event cause NVIC_SystemReset?

Hi ,

I am using NRF52832 ,SDK15 my code is based on the HR_FreeRtos project , I am using the nrfx_wdt API to implement WDT in my code .

I am using a LDO for the voltage regulation in the circuit ,when the TIMEOUT event happens the device crashes instead of restarting ,( I know that NVIC_SystemReset can cause this crash and we don't use it in our code).

As part of debugging it , i added a delay (500ms) in the event handler function and caused TIMEOUT event by inserting while(1) without feeding the WDT , the event handler function doesn't continue to do the rest of the function and a crash after the delay.

Does the TIMEOUT event also cause a NVIC_SystemReset ?

Do you have any idea what cause this kind of behavior ?

Thanks a lot 

Ibrahim

Parents Reply Children
Related