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 Vishnu

    Einar is on summer vacation, so I've been tasked with this case in his stead.

    1. If the chip uses the TWI peripheral, uses the radio, or toggles an LED, that is accounted for when measuring the current consumption using a Power Profiler Kit. What is meant by the chip, and not the entire board, is that the debugger, etc. won't be calculated when using the Power Profiler Kit.

    This means it will measure the same* current for both your custom chip and the development kit. *Usually the DK will draw a bit more current than an optimized custom chip, as the DK will have some leakage current.

    2. Unused pins should not be defined at all, either connect them to ground or leave them floating.

    3. Disabling the TWI will be enough to go to deep sleep. The chip will not let current through while asleep.

    4. The call to nrf_gpio_cfg_default() configures the GPIO to the default state, which is disconnected input. This means that the nrfx_uarte_uninit function disconnects the pins so that they won't use the UART while UART is disabled. This is why you don't have to call these pin configuring functions yourself when disabling a peripheral. The initializing functions will reinitialize the pins to their correct states when the chip wakes up.

    5. You do not need to call this function explicitly. When you're going to sleep the SoftDevice will do that for you.

    6. No, you don't. See question 2.

    7. The default TX power output is 0dBm.

    8. These functions are there for debugging purposes. For example, if DEBUG_NRF is set it will set a software breakpoint just before the call to a hard fault.

    9. What resistor are you referring to here? Please be more specific.

    10. It is not done on one single device, it is the average across several current measurement tools.

    Best regards,

    Simon

Reply
  • Hi Vishnu

    Einar is on summer vacation, so I've been tasked with this case in his stead.

    1. If the chip uses the TWI peripheral, uses the radio, or toggles an LED, that is accounted for when measuring the current consumption using a Power Profiler Kit. What is meant by the chip, and not the entire board, is that the debugger, etc. won't be calculated when using the Power Profiler Kit.

    This means it will measure the same* current for both your custom chip and the development kit. *Usually the DK will draw a bit more current than an optimized custom chip, as the DK will have some leakage current.

    2. Unused pins should not be defined at all, either connect them to ground or leave them floating.

    3. Disabling the TWI will be enough to go to deep sleep. The chip will not let current through while asleep.

    4. The call to nrf_gpio_cfg_default() configures the GPIO to the default state, which is disconnected input. This means that the nrfx_uarte_uninit function disconnects the pins so that they won't use the UART while UART is disabled. This is why you don't have to call these pin configuring functions yourself when disabling a peripheral. The initializing functions will reinitialize the pins to their correct states when the chip wakes up.

    5. You do not need to call this function explicitly. When you're going to sleep the SoftDevice will do that for you.

    6. No, you don't. See question 2.

    7. The default TX power output is 0dBm.

    8. These functions are there for debugging purposes. For example, if DEBUG_NRF is set it will set a software breakpoint just before the call to a hard fault.

    9. What resistor are you referring to here? Please be more specific.

    10. It is not done on one single device, it is the average across several current measurement tools.

    Best regards,

    Simon

Children
No Data
Related