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.
When I run the sdl_rti_example_uc1_am263x-cc_r5fss0-0_nortos_ti-arm-clang example code on the AM2634 Control Card the WWDT0 expired interrupt is triggered immediately rather than waiting for the defined timeout (10s). The console printout indicates all tests pass, but the timing behavior is unexpected.
Is this behavior repeatable? Is this an error in the example code?
Hi,
What is the frequency of the RTI timer you're using? We have observed few issues with watchdog during our general testing as well. Let me check with the SDL team and get back on this.
Thanks
Here is the RTI0 settings from example.syscfg in the project:
This structure is used in SOC_moduleSetClockFrequency()
SOC_SDL_ModuleClockFrequency sdl_gSocModulesClockFrequency[] = { { SOC_RcmPeripheralId_WDT0, SOC_RcmPeripheralClockSource_SYS_CLK, 32000 }, { SOC_MODULES_END, SOC_MODULES_END, SOC_MODULES_END }, };
Hi kai,
Is this configuration from the CCS example or you've configured it?
Thanks,
G Kowshik
Got it, let me check on this. The reason I asked is, I suspected you have written wrong value to the WDT registers and according to the TRM, if the WDT hardware detects any incorrect writes to the pre-load value register it asserts an POR of the SoC.
Let me dig through the example and revert.
Thanks