Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi TI team
We need to configure the watchdog from R5f, but we cannot see the configuration in sysconfig.
Kindly let us know how to proceed.
Regards
Mayank
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Mayank,
Sorry for the delayed reply and it seems that the thread is assigned to the wrong assignments.
WDT is supported in the SDL examples.
The AM62X does the SOC Reset after the WDT expires with the help of the ESM module. So, the SOC can't do the self Reset after the WDT is expired without ESM module.
Please look at the examples below and FAQ as well.
C:\ti\mcu_plus_sdk_am62x_11_00_00_16\examples\sdl\rti\UC1
Please let me know if you still need help.
Regards,
Anil.
Hi Anil,
Let me know if I understand it correctly.
The AM62X does the SOC Reset after the WDT expires with the help of the ESM module. So, the SOC can't do the self Reset after the WDT is expired without ESM module.
There's no mechanism to configure the WDT for R5 Core independently via sysconfig.
Instead, the RTI module and ESM module should be used, which will access the WDT module from the Main Domain,
and upon the WDG timer expiration, an NMI will be generated, which will somehow be translated to the R5 core to reset it.
Also, I don't see any direct configuration of RTI and ESM in sysconfig. So, the configuration and initialization need to be performed directly in the code.
Regards,
Mayank
Hello Mayank ,
Yes, the above understanding is correct, but one correction is that the WDT is not the NMI, and it is normal interrupt only.
Once the WDT expires, the WDT event is routed to the ESM module. From the ESM module, the WDT can make the SOC Reset.
The WDT and ESM module configuration code is already available in the link below.
Please look at the FAQ to understand how the WDT is connected to the ESM module.
Regards,
Anil.