Hi, I am getting very high current consumption ( around 800uA) when we convert Thread DFU client application from FTD to SED.
How I converted thread FTD-DFU client to thread SED-DFU client
SDK used: nRF5-SDK-for-Thread-and-Zigbee 2.0.0
example path: examples\thread\dfu\client
1. In <install folder>\examples\thread\dfu\client\pca10056\blank\armgcc I have done following changes:
- in make-file line no 164
- changed $(SDK_ROOT)/external/openthread/lib/gcc/libopenthread-cli-ftd.a to $(SDK_ROOT)/external/openthread/lib/gcc/libopenthread-cli-mtd.a
- changed $(SDK_ROOT)/external/openthread/lib/gcc/libopenthread-ftd.a to $(SDK_ROOT)/external/openthread/lib/gcc/libopenthread-mtd.a
- added line 201:
- CFLAGS += -DOPENTHREAD_MTD=1
- added line 224:
- ASMFLAGS += -DOPENTHREAD_MTD=1
- in the main.c file modified .
- .role = RX_OFF_WHEN_IDLE // to make SED
Followed the steps as described in Thread DFU Example
attached PPK when No DFU server is running, the measured current is ~800uA.
When running the following example:
- examples\thread\mtd_coap_client
We are getting current consumption around 85uA.