nRF52 idle current in Zephyr when RTT is enabled

Hi,

In a custom nrf52840 board (DC/DC=on, LFCLK=RC, CONFIG_SERIAL=n), using ncs2.1.0, I measure through PPKII ~6.7uA in system_off mode, which is reasonable.

In system_on mode the idle current raises to 8uA, which is also fine.

If I set CONFIG_USE_SEGGER_RTT=y, then current consumption reaches 34uA, even when the JLink debugger is not connected.

.

Is there a way to stay below 10uA idle current while RTT support is compiled-in, as it was the case with SDK5?

Thanks in advance

Parents Reply
  • Hi,

    It seems that the offending line is the following.  

    CONFIG_SHELL_BACKEND_RTT=y
     

    After changing to 'no' current dropped to the expected levels (alsmost).

    Now I have to find out where these mA spikes every exactly 4 seconds come from, even in Blinky application, that raise consumption from 8uA to 10.5uA. They do not look like LDO refresh, more like a thread timeout (?) Does this number (4s) ring a bell?

    Anyway, since RTT logging can be enabled without power penalty, then it is not a problem to leave RTT shell out.

    Thank you

Children
Related