Tool/software:
Hello,
I integrated the Wdg driver from MCAL_MSPM0G350x_00.01.03.00 and I noticed that the reset reason register is not updated when a watchdog reset occurs.
For the integration, I used WWDT1 in window mode, called Wdg_Init(), then Wdg_SetMode and I triggered the watchdog from a periodic task(called Wdg_SetTriggerCondition).
I added a while(1) on the periodic task after I triggered the watchdog and set a breakpoint in Reset_Handler. The program resets, but when I look at the SYSCTL_RSTCAUSE in the debugger it says that there was no reset since last read. The value is read when the breakpoint from Reset_Handler is reached to make sure there is no read of the register that clears it.
Is there anything else that I missed while configuring/integrating it?
Thank you!
Best regards,
Andreea Barbu