How can I introduce a delay between Reset and Callback? The Watchdog module is resetting the processor before the Callback function completes its operation. I want to separate Callback and Reset. How can I do this?
Solved! Go to Solution.
Hello,
However, I perform a task within the callback, and the processor resets before this task completes.
Then simply refresh or disable/reenable watchdog inside your function.
I can introduce a delay using the RCM module. How can I achieve this in the S32K3 series?
The RCM is not present here. RGM will react directly on the timeout or SWT with functional reset.
You can also set SWT to generate interrupt first, so the reset will be generated on second timeout.
Best regards,
Peter
Hello,
Could you please specify about which watchdog are you talking? SWT or some external one?
Simply extend the SWT timeout in case you are talking about it.
Best regards,
Peter
Actually, I misspoke. I can enter the watchdog callback function without any issues. However, I perform a task within the callback, and the processor resets before this task completes. In the S32K1 series, I can introduce a delay using the RCM module. How can I achieve this in the S32K3 series?
Hello,
However, I perform a task within the callback, and the processor resets before this task completes.
Then simply refresh or disable/reenable watchdog inside your function.
I can introduce a delay using the RCM module. How can I achieve this in the S32K3 series?
The RCM is not present here. RGM will react directly on the timeout or SWT with functional reset.
You can also set SWT to generate interrupt first, so the reset will be generated on second timeout.
Best regards,
Peter