Dear Sir,
Recently, I have beeing doing sleep/wakeup stress tests for our project.There is an issue about watchdog timeout issue that will reset the device.
Here is my experimental environment:
1.monitoring eclipsed time for every task,(5ms task, 100ms task, 1000ms task)
2.make system enter stop mode every 5s in 1000ms task, wakeup device in 5s with rtc
3. use a CAN frame to send the max eclipsed time of task
4. 4 DUT
testing data:

extern void ApiTask1000ms(void)
{
static u32 cnt1000ms = 0;
u32 thres = 60000;
u32 end_time = 0;
u32 start_time = 0;
start_time = u32SysRunTick;
cnt1000ms++;
if (cnt1000ms % 5 == 0)
{
cnt1000ms = 0;
ApiPowerEnterStopMode(thres);
}
end_time = u32SysRunTick;
if ((end_time - start_time) > u16Task1000msConsumed)
{
u16Task1000msConsumed = end_time - start_time;
}
}
datasheet says:
COP and API should be disabled in stop mode. Under normal conditions, COP and API were indeed disabled for device 4 and 3, abnormal conditions, COP and API still run. COP will reset device because I have enabled COP.
I'd like to know what factors are influencing to stop the COP.
Thanks!