Hi there,
Can someone help me with enabling a Watchdog timer and also steps to initiate Software reset. I am using a S32k14x EAR SDK v0.8.6 for writing my vehicle application code. So i want to enable Watchdog timer so couldn't able to figure any knowledge base where i can get help from. And also i need help in Hardawre reset and Software Reset process.
It would be really helpfull if some one lends me hand here. Thanks in advance
#S32K146
Solved! Go to Solution.
Hi @akhilranga,
For SW reset, please look at chapter 25.2.2.7 from the S32K Reference Manual, it explains the reset control register.
You can also use this example as reference, where a SW reset is implemented to test the ram retention: Example S32K144 RAM Retention S32DS.R1 - NXP Community.
There is also this function in the system_S32K144.c file:
For the watchdog, there are many community posts sharing some reference code, such as:
You can also refer to the examples inside the EAR SDK.
Best regards,
Julián
Hi @akhilranga,
For SW reset, please look at chapter 25.2.2.7 from the S32K Reference Manual, it explains the reset control register.
You can also use this example as reference, where a SW reset is implemented to test the ram retention: Example S32K144 RAM Retention S32DS.R1 - NXP Community.
There is also this function in the system_S32K144.c file:
For the watchdog, there are many community posts sharing some reference code, such as:
You can also refer to the examples inside the EAR SDK.
Best regards,
Julián