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

Power Consumption On Custom Hardware

I'm trying to debug a high current issue on a custom board based on the nRF52832. I'm currently loading a modified blinky app (entire main.c included below). On the nRF52DK I'm seeing around 300uA (which still seems kind of high) but on the custom board I'm seeing 8mA with the same firmware is there anything that I need to configure that could be causing this high current?

#include <stdbool.h>
#include <stdint.h>
#include "nrf_delay.h"
#include "boards.h"

/**
 * @brief Function for application main entry.
 */
int main(void)
{
	/* Toggle LEDs. */
	while (true)
	{
	  __WFE();
	  __SEV();
	  __WFE();
	}
}
Parents
  • For starters as soon as you say "custom board" you will need to upload a schematic. You could have done any number of things wrong in the hardware to cause a problem.

    Second, you need to clarify how you are measuring the current consumption. Most hand held DMM's are incapable of accurately measuring microamps thus your 300uA number could be erroneous. A 52832 running on an external RTC will draw about 1.5uA when it is asleep.

    Third, your code isn't quite correct for putting the cpu to sleep utilizing WFE. The correct method is explained here: devzone.nordicsemi.com/.../

Reply
  • For starters as soon as you say "custom board" you will need to upload a schematic. You could have done any number of things wrong in the hardware to cause a problem.

    Second, you need to clarify how you are measuring the current consumption. Most hand held DMM's are incapable of accurately measuring microamps thus your 300uA number could be erroneous. A 52832 running on an external RTC will draw about 1.5uA when it is asleep.

    Third, your code isn't quite correct for putting the cpu to sleep utilizing WFE. The correct method is explained here: devzone.nordicsemi.com/.../

Children
No Data
Related