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

Power Consumption

Hi,

I am using nRF52832 DK, with Segger Embedded Studio as IDE. I am using ble_app_uart example. I have used an encryption algorithm.  The encryption algorithm is called from the main function. I want to know the power consumption of the encryption algorithm.

Thanks,

Sai Kiran.

Parents Reply Children
  • You probably can do this with a voltmeter if you program an app_timer to wake the chip every 1s and in the timer callback you can execute the encryption algorithm and make the chip go back to deep sleep. If you measure the average power consumption here  Y uA.

    When you get an average current in the voltmeter, you need to substract few X uA (which are consumed by CPU/peripherals ramp up current till it configures the RTC).

    The value of X can be obtained if you test the power consumption of the same application above but removing your encryption algorithm that is called every 1 second. 

    (Y - X) gives the average power consumption of your encryption algorithm.

Related