Hi,
I have a demo project developed on s32k118evb board with watchdog disabled and it works well but after I download the project to my prototype PCB board the program triggers a watchdog timeout.
Is there anything I missed to disable the watchdog timer?
====== Below is the board initialization code ======
已解决! 转到解答。
Hi
If you are using the S32K1 SDK examples, there is DISABLE_WDOG in system_S32K118.c and system_S32K118.h that can be used to disable the watchdog:
/SDK/platform/devices/S32K118/startup/system_S32K118.c
But I don't understand why it runs normally on S32K118EVB but errors occur on your prototype PCB board. Have you compared the differences between crystal circuits?
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.
-------------------------------------------------------------------------------
Hi
If you are using the S32K1 SDK examples, there is DISABLE_WDOG in system_S32K118.c and system_S32K118.h that can be used to disable the watchdog:
/SDK/platform/devices/S32K118/startup/system_S32K118.c
But I don't understand why it runs normally on S32K118EVB but errors occur on your prototype PCB board. Have you compared the differences between crystal circuits?
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.
-------------------------------------------------------------------------------