This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Rigado BMD-340 - NRF52840 BLE + OpenThread sleep mode - current consumption

We are developping an application using an NRF52840, Based on nRF5 SDK for Thread and Zigbee V3.0.0

Running S140 softdevice

We are using BLE advertizements and Openthread communication.

In the main loop, there are 2 lines for OpenThread communication

thread_instance_init(); for init (once)

thread_process(); (in mainloop)

Monitoring the power consumption in sleep mode, the Openthread communication keeps the current around 590uA.

If I disable the init and process line for thread, the current drops to 90uA.

Is it possible to turn on and off Openthread in a controlled way?

How can this be done?

Using nRF5 SDK for Thread and Zigbee V3.0.0.

Parents Reply Children
  • Hi Simon,

    I tried adding these calls in the mainloop, before going to sleep:

    thread_soft_deinit() did not change the current consumption

    thread_deinit() triggered a fatal error.

    I tried various scenarios with these 2 calls, with no success.

    Once the OpenThread is initialized, I can't turn it off dynamically.

    Any further inputs or help?

    Is there an example I could refer to for dynamically enabling/disabling OpenThread?

    I also tried to get thread_sleep(), but that has no effect.

    Reading that it is advised to use the thread utility calls to handle init, deinit and sleep, how can this be done?

    Thank you for the help!

Related