This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf52832+freeRTOS+app_timer Abnormal power consumption

https://devzone.nordicsemi.com/f/nordic-q-a/82644/nrf52832-freertos-ble_app_hrs_freertos-lowpower

I mentioned the above problem before. After your support, I found that the abnormal power consumption is the hardware problem of my own product. I used a minimum system board to verify the original SDK. The test results are UA level as tested by FAE.

But I have a new problem, I verify my own program (two threads are added based on ble_app_hrs_freertos, and three timers are created using app_timer_create) on this smallest system board (without connecting any peripherals) . If I only start two timers, the power consumption is UA level, but when I start the third timer, the power consumption reaches about 2mA. It's strange. Can you help me see the reason?

The following is a snippet of my program

If I don't start soft timer3,the power consumption is uA level,if I start soft timer3,the power consumption is about 2mA。

Parents
  • Are you sure it is starting soft timer3 that is the cause of the current consumption? What happens if the task handler is an empty function? I suspect it is the code you execute in the task handler that is causing the excessive current.

    Kenneth

  • Hi,

    Thank you for your suggestion. I checked my code carefully again. I found that in the timeout processing function of soft timer3, I called the function nrfx_ saadc_sample() ,If i don't call it , the average power consumption will be about 750ua. Is this normal? Because I have to use ADC data sampling, is there any other way to collect ADC without increasing too much power consumption?

Reply
  • Hi,

    Thank you for your suggestion. I checked my code carefully again. I found that in the timeout processing function of soft timer3, I called the function nrfx_ saadc_sample() ,If i don't call it , the average power consumption will be about 750ua. Is this normal? Because I have to use ADC data sampling, is there any other way to collect ADC without increasing too much power consumption?

Children
Related