Project: JN_AN_1217-Zigbee-3-0-Base-Device EndDeivce
1. Is it normal if the end device reset when wake up from sleep?
Sleep mode :vAHI_Sleep(E_AHI_SLEEP_OSCON_RAMOFF);
Wake-Up Type: Wake timer interrupt ;
{
vAHI_WakeTimerEnable(E_AHI_WAKE_TIMER_0, TRUE);
vAHI_WakeTimerStartLarge(E_AHI_WAKE_TIMER_0,counter);
}
uart log:
Hi Dylan,
As the JN516x Integrated Peripherals API User Guide
E_AHI_SLEEP_OSCON_RAMOFF 32kHz oscillator on and RAM off (cold restart).
The wakeup will jump to the cold restart API.
And the vAppMain is the Entry point for application from a cold start.
Regards,
Mario