Dear all
I am developing a product using the nRF54L10 with the Zigbee add-on v1.2.0.
I have a question regarding sleep behavior.
The current measurements below show the power consumption of the actual device
when start_network_rejoin() is not started at the time of ZB_BDB_SIGNAL_DEVICE_FIRST_START after boot.
The average current consumption is about 7 µA.
However, when the device is booted and start_network_rejoin() is initiated at ZB_BDB_SIGNAL_DEVICE_FIRST_START,
and there is no network available, stop_network_rejoin() is called after 200 seconds.
What I am wondering is whether the device does not enter sleep mode after this point, because the current consumption does not drop.
My code is below
void ws_zigbee_init(void)
{
ws_zigbee_print_information();
test_aes();
set_tx_power();
zigbee_erase_persistent_storage(false);
zb_set_ed_timeout(ED_AGING_TIMEOUT_8MIN);
zb_set_keepalive_timeout(ZB_MILLISECONDS_TO_BEACON_INTERVAL(120*1000));
zigbee_configure_sleepy_behavior(true);
app_clusters_attr_init();
ias_zigbee_fota_init(ota_evt_handler);
ZB_AF_REGISTER_DEVICE_CTX(&ias_zone_ctx);
ZB_ZCL_REGISTER_DEVICE_CB(zcl_device_cb);
ZB_AF_SET_IDENTIFY_NOTIFICATION_HANDLER(ZB_HA_IAS_ZONE_ENDPOINT, identify_cb);
zb_zcl_ias_zone_register_cb(ZB_HA_IAS_ZONE_ENDPOINT, NULL, ias_zone_general_cb);
LOG_INF("IAS Zone windows sensor Start");
/* Power off unused sections of RAM to lower device power consumption. */
if (IS_ENABLED(CONFIG_RAM_POWER_DOWN_LIBRARY)) {
power_down_unused_ram();
}
zigbee_enable();
}
I have no experience with Zigbee. I am not sure whether this behavior is normal or not.
If it is not, I would like some guidance on how to reduce the current consumption.