S32K146:Question about watchdog interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K146:Question about watchdog interrupt

268 Views
ShaoTianzhi
Contributor II

  Hello:

How should I configure the register to trigger an interrupt when the watchdog times out instead of directly resetting the MCU? I tried to set the WDOG_CS[INT] register to 1,and set the RCM_SRIE[WDOG] register to 1,but when I debug,the function WDOG_EWM_IRQHandler is not running.

0 Kudos
1 Reply

246 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please refer to the discussion in WDOG direct reset does not enter the interrupt(S32K144).
Forced reset occurs 128 bus clocks after the interrupt vector fetch. Breakpoint is not a good way to observe whether to enter the watchdog interrupt. You can judge whether watchdog interrupt entered by flipping the IO in ISR or by observing the value of the variable is changed by ISR.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos