This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Queries on Current measurement & how to reduce the same

Hello,

In addition to previous ticket I have further queries. I have a stringent requirement for reduction of Current consumption.

https://devzone.nordicsemi.com/support/230962

1) In ‘ble_app_blinky’ since SoftDevice is enabled, whether DCDC enabled by default or need to enabled explicitly by calling

                sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE) 

2) As mentioned below do I need to enable DC-DC only during BLE active and disable after BLE inactive.

https://devzone.nordicsemi.com/f/nordic-q-a/4211/nrf51822-power-consumption-when-ble-advertising-connected#post-id-18589

 

3) To my understanding, keeping build in “Release” mode will disable UART.

a) Below are the macros enabled in Release mode & Debug mode. But when I keep in “Release” mode still I am seeing debug prints on Terminal. Then what is the difference between “Release” & “Debug” builds.

"DEBUG; DEBUG_NRF" from solution in Debug configuration

"NDEBUG" from solution in Release configuration

b) As mentioned in below link, at the same time do I need to disable NRF_LOG_ENABLE explicitly do reduce current consumption. Please confirm.

                https://devzone.nordicsemi.com/f/nordic-q-a/35042/current-consumption-in-nrf52

 c) How to disable UART if still I am seeing debug prints on Terminal. Do I need to disable NRFX_UARTE_ENABLED macro or just disconnecting debug cable is good enough during current measurement.

 

4) Do I need to explicitly disable FPU unit. I have floating point calculations. But before going to sleep (System ON or System OFF) do I need to clear FPU as mentioned in below link.

                https://devzone.nordicsemi.com/f/nordic-q-a/15243/high-power-consumption-when-using-fpu

 

5) Before going to System OFF I called nrf_gpio_cfg_default() with all pins expect pin 13 & 14 (Buttons to wake-up the device). This function will configure pullup as NRF_GPIO_PIN_NOPULL. But as per below link, not sure with development kit whether do I need to change to Pullup or Pulldown.

https://devzone.nordicsemi.com/f/nordic-q-a/4505/system-power-off

 

Please let me know your inputs.

Thanks & Regards

Vishnu Beema

Parents
  • Hi

    beemavishnu said:
    configure GPIOs to proper level before going to System ON mode (Sleep mode).

    1. Aren't you going to system OFF mode to sleep?  You should not configure the wake-up buttons to the default state if you want them to work as wake-up buttons.

    2. In system OFF mode the only things that can awaken the chip is an external signal like the following:

    • The DETECT signal, optionally generated by the GPIO peripheral
    • The ANADETECT signal, optionally generated by the LPCOMP module
    • The SENSE signal, optionally generated by the NFC module to “wake-on-field”
    • A reset

    So you will have to leave your device in System ON mode if you want to use a timer to wake it up.

    3. You check/set what clock you're using in the sdk_config.h file by way of the LF_SRC defines. These are set to the external LF clock by default in the ble_app_blinky example.

    Your measurements seem to have quite a bit of interference, how does your measurement setup look?

    Best regards,

    Simon

Reply
  • Hi

    beemavishnu said:
    configure GPIOs to proper level before going to System ON mode (Sleep mode).

    1. Aren't you going to system OFF mode to sleep?  You should not configure the wake-up buttons to the default state if you want them to work as wake-up buttons.

    2. In system OFF mode the only things that can awaken the chip is an external signal like the following:

    • The DETECT signal, optionally generated by the GPIO peripheral
    • The ANADETECT signal, optionally generated by the LPCOMP module
    • The SENSE signal, optionally generated by the NFC module to “wake-on-field”
    • A reset

    So you will have to leave your device in System ON mode if you want to use a timer to wake it up.

    3. You check/set what clock you're using in the sdk_config.h file by way of the LF_SRC defines. These are set to the external LF clock by default in the ble_app_blinky example.

    Your measurements seem to have quite a bit of interference, how does your measurement setup look?

    Best regards,

    Simon

Children
No Data
Related