2023-03-24 12:17 AM
I've been feeding dog, but sometimes it still triggered swt reset.
I can get reset info from reading DES and FES register.
WHY??
Who can tell me the FAE or technical department e-mail in China?
Or tell me the reasion?
Solved! Go to Solution.
2023-03-24 04:15 AM
Hello Simon ,
in RGM_DES, you should have bit13 at 1 (F_SWT) when the watchdog occurred.
in RGM_FES, which bit is enabled in your case ?
There are many possible reasons generating a SWT event.
Carefully read the chapter 27.3 in reference manual RM0046
You can look into SPC5Studio tool the demo "SPC560Pxx_RLA SWT Test Application for Discovery" showing how to program an interrupt use case.
Demo "SPC560Dxx_RLA SWT Test Application for Discovery" provides an example for the regular use case, with and without WINDOW mode.
Best regards.
2023-03-24 04:15 AM
Hello Simon ,
in RGM_DES, you should have bit13 at 1 (F_SWT) when the watchdog occurred.
in RGM_FES, which bit is enabled in your case ?
There are many possible reasons generating a SWT event.
Carefully read the chapter 27.3 in reference manual RM0046
You can look into SPC5Studio tool the demo "SPC560Pxx_RLA SWT Test Application for Discovery" showing how to program an interrupt use case.
Demo "SPC560Dxx_RLA SWT Test Application for Discovery" provides an example for the regular use case, with and without WINDOW mode.
Best regards.