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
  • Hi Simon,

    Thank you for your inputs. 

    As a test case, I init a thread instance, immediatly followed by either a soft deinit of a real deinit

    When I do this in the mainloop, nothing more on thread calls

    thread_instance_init();

    thread_soft_deinit();

    Nothing happens

    When I do this in the mainloop, nothing more on thread calls

    thread_instance_init();

    thread_deinit();

    The processor resets

    In the second case, you would expect the thread instance getting initialized and deinitialized, but a reset is the result.

    Any thoughts?

    BLE stack is initialized, thread is initialized, but thread_deinit(); call crahses the system

Children
No Data
Related