Part Number: CC2652P
Tool/software:
Hello!
We find sometimes our CC2652P processor hangs up!
Our application is based on three Coordinators using channels 11,15,20
Each coordinator joins about 20 routers/end devices, but only channel 20 Coordinator seems to produce associated devices hangup! All other never happens.
Please consider this has been checked at the end of a 10 days in field test period.
We resolved this problem by simply enabling device Watchdog function, and it seems to solve our problem, but:
I wish to trap Exceptions (math error, address error, and so on…) arising during program execution:
I was not able to see where they are in code, or how to provide them.
Just to see if some of them is triggered, and (for example) do a SwReset!
A last question about Watchdog: we see that after Wdog intervention, the device stays in reset for the same period Wdog was programmed for. Is this correct?
below how we handle watchdog.
Thanks a lot!
BR Luigi
Watchdog_Params params;
Watchdog_Handle watchdogHandle;
// setup:
Watchdog_init();
Watchdog_Params_init(¶ms); //periodo di 10 sec, con 2 sec già ok
params.resetMode = Watchdog_RESET_ON;
watchdogHandle = Watchdog_open(CONFIG_WATCHDOG_0, ¶ms);
if (watchdogHandle == NULL)
{
while (1);
}
static void RetriggerWdtTi(void)
{
Watchdog_clear(watchdogHandle);
}