I am attempting to refresh the watchdog using the API (Pmic_VR55XX_TriggerWatchdog). However, after calling this function, the MCU proceeds to system shutdown.
During debugging, we discovered that the state transition is not occurring from INIT_FS to ABIST2. Additionally, after enabling the watchdog, Pmic_InitDevice fails to initialize properly, returning an error code.
Thank you @alejandro_e for the information. It was helpful.
Hello @Anup97 ,
If the information I shared helped you solving your problem, could you mark it as an accepted solution? However, if you are still having problems let me know the details to be able to help you.
Best regards
Hello @Anup97 ,
As you probably already know, to transition from INIT_FS to WAIT_ABIST2 and then to ABIST2 you need to send a good watchdog refresh, as described in the VR5510 datasheet [page 14, Rev. 6 — 31 July 2023]:
But there is a time limit to send this first watchdog, as described in the datasheet [page 66]:
You can check the values the register can take in page 176 Table 122. Fail Safe OTP map description and S32G default setting [page 166]:
I was not able to find the default value of the register, but in the worst case you have 256ms to send the first good watchdog reset.
Please note that after the first watchdog reset you the WD windowing starts and you need to send a watchdog refresh periodically [page 14]:
You can check the details in section 22.4 Watchdog [page 66]:
Another thing I can recommend you is to try to run the example Wdg_VR5510_IP_Example_S32G274A_M7 or Wdg_VR5510_IP_Example_S32G399A_M7 depending on your chip, this is to discard possible HW related problems.
Let me know if this information was useful.
Best regards