Hi there!
How i can put nrf52840 NCP module into low power mode or turn it off? By SPINEL_PROP_MCU_POWER_STATE property of Spinel protocol getting error - "Prop_not_found".
Thank you in advance.
Hi there!
How i can put nrf52840 NCP module into low power mode or turn it off? By SPINEL_PROP_MCU_POWER_STATE property of Spinel protocol getting error - "Prop_not_found".
Thank you in advance.
Hi,
This property is only enabled if the config OPENTHREAD_CONFIG_NCP_ENABLE_MCU_POWER_STATE_CONTROL is set. By default, this config is not set. The NCP example built in nRF5 SDK for Thread and Zigbee will enter WFE (System ON) whenever there are no pending tasks:
// Enter sleep state if no more tasks are pending.
if (!otTaskletsArePending(m_app.p_ot_instance))
{
__WFE();
}
You can try to rebuild the OpenThread libraries with this config set, to see if you are able to use the property.
Note that this only does not affect the radio state, see otPlatMcuPowerState for more details about the power modes.
Best regards,
Jørgen
Hi,
This property is only enabled if the config OPENTHREAD_CONFIG_NCP_ENABLE_MCU_POWER_STATE_CONTROL is set. By default, this config is not set. The NCP example built in nRF5 SDK for Thread and Zigbee will enter WFE (System ON) whenever there are no pending tasks:
// Enter sleep state if no more tasks are pending.
if (!otTaskletsArePending(m_app.p_ot_instance))
{
__WFE();
}
You can try to rebuild the OpenThread libraries with this config set, to see if you are able to use the property.
Note that this only does not affect the radio state, see otPlatMcuPowerState for more details about the power modes.
Best regards,
Jørgen