Zigbee end device hardly wake up from the STOP2 mode.
Hi,
I have 2 questions here for help.
1.)
We encountered 2 x AAA batteries drained out very fast problem feedback by our customer. In order to resolve this problem I enabled STOP2 mode and added in the following 2 lines of codes in function “APP_Zigbee_NwkForm()” which following exactly the sample project did (Zigbee_OnOff_Client_SED). As the result I can see the battery consumption dropped significantly from mA to uA. However, during the functional test, noticed the device always encountered hardly wake up from the STOP2 mode after multiples times of button pressing action. I cannot find much information about these 2 lines of codes therefore request ST’s expertise to help up. Our production line has stop and waiting for my firmware update in order to resume.
/* Add End device configuration */
config.capability &= ~(MCP_ASSOC_CAP_RXONIDLE | MCP_ASSOC_CAP_DEV_TYPE | MCP_ASSOC_CAP_ALT_COORD);
config.endDeviceTimeout=ZED_SLEEP_TIME_30S;
2.)
I noticed that, after added in these 2 lines of code (as shown above), the output from the button pressing (ON/OFF) always stop at 37th press. If I continue the pressing, the output is started lagging, and eventually no output at all until I reset the MCU.
