Tool/software: TI-RTOS
There is one question.
In the rfWsnNode example of the current sdk (2_20_00_71),
We call s / w reset (SysCtrlSystemReset) after 3 seconds through the callback function of clock instance.
The clock settings are shown below.
Clock_Params clkParams;
/* delay Timer : 3sec */
Clock_Params_init(&clkParams);
clkParams.startFlag = FALSE;
Clock_construct(&delayTimeoutClock, delayTimeoutCallback, TIME_MS(3000), &clkParams);
delayTimeoutClockHandle = Clock_handle(&delayTimeoutClock);
static void delayTimeoutCallback(UArg arg0)
{
SysCtrlSystemReset();
}
I may also see a reset by calling SysCtrlSystemReset (), However, sometimes the firmware stops.
Should not I call SysCtrlSystemReset () from the clock callback?
Or is there an error when using SysCtrlSystemReset () in cc1312?
Thanks.