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.

CC2640R2F 看门狗问题

Expert 2260 points

Watchdog_Handle whandle;
void Init_ Watchdog(void)
{
Watchdog_Params params;
uint32_t tickValue;
Watchdog_init();
Watchdog_Params_init(&params);
params.callbackFxn = watchdogCallback;
whandle = Watchdog_open(0, &params);
tickValue = Watchdog_convertMsToTicks(whandle, 2500);
Watchdog_setReload(whandle, tickValue);
}

void watchdogCallback(uintptr_t handle)
{
Watchdog_clear(whandle);
}

我是按照上面配置看门狗的, 用while(1);卡死测试, 但是没有复位, 这样配置看门狗有问题吗?