Mbed-os: Serious regression on NRF52 idle power consumption

Created on 7 Jun 2018  路  8Comments  路  Source: ARMmbed/mbed-os

The current 5.9RC( and head of master) show very poor power consumption when executing

while (1) Thread::wait(5000);

The attached picture shows two traces on the same RF52 based hardware platform. Idle power has increased from ~180uA to 6.4mA suggesting that the processor is not idling at all.

image

closed_in_jira nordic mirrored

Most helpful comment

All 8 comments

Adding @MarceloSalazar and @marcuschangarm as interested parties.

ARM Internal Ref: MBOTRIAGE-596

related? #7154

Don't think so. The lock discussed there has been present since 5.7.

Perhaps this is relevant: https://github.com/ARMmbed/mbed-os/pull/7073

Perhaps this is relevant: #7073

馃憤 @maciejbocianski Can you confirm?

@NeilMacMullen Thanks for reporting

definitely, lack of #7073 cause this problem
SLEEP was disabled during HAL feature branches merging

@NeilMacMullen This should be fixed in 5.9.1 (3 patches are waiting for CI). You can cherry-pick 7073 (it has some dependencies on another 1-2 PR opened) to fix this and report back that is not causing any regression.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neilt6 picture neilt6  路  4Comments

sarahmarshy picture sarahmarshy  路  4Comments

1domen1 picture 1domen1  路  3Comments

bcostm picture bcostm  路  4Comments

ccchang12 picture ccchang12  路  4Comments