Hi,
I am trying to compile a program but I have some problems with the project.
I haven´t achieved the target yet because I have different problems with the watchdog of the project and I don´t know the solution of this.
The target of this project is to generate an interrupt each 1 second. I have worked in a project provided by NXP called "S32K344_CAN_bootloader_RTD20". I have configured the interrupt in the folder called "Boot" (In the next picture you can see the configuration). I try to configurate the interrupt but I have different errors because I don´t achieve that the interrupt works each 1 second. The count means each second because I want to count up to 10 seconds and get out of the "While". I have also sent you the configurations of the clocks. When I enter to the "while" the program starts again, I suppose that it´s problem of the watchdog. You can see the configurations of the watchdog,
Could you explain me the configurations that I have to modificate?
the question is not very clear to me and some screenshots are not readable.
I can see that the watchdog is configured to 0.3s and you want to wait in a delay loop for 10s. Where do you refresh the watchdog during this delay?
Regards,
Lukas
Hi,
Which is the function to refresh the watchdog and where I should implement the command?
Thank you
Just check the main function:
... or flash functions. Simply search for WATCHDOG_HAL_Fed function in the project.