I’m using nucleo blink led example with mbed-os 5-12 to test this board consumption. I put a multimeter across jumper IDD.
I’m using online compiler and I compiled using this macros:
Here is the tracing result:
*Sleep locks held:
*[id: mbed_rtx_idle., count: 1]
*UNLOCK: mbed_rtx_idle.cpp, ln: 133, lock count: 0
*LOCK: mbed_rtx_idle.cpp, ln: 111, lock count: 1
With LED off I measured a current of 5.76mA, that is far too much considering that it should go deepsleep.
What could be wrong?