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

Keep nRF52832DK button pressed could result in high power consumption!

Hi all,

       I am using nRF52832 DK to do some tests about power consumption. And I am facing a problem that every time I pressed the button and kept it down, the current would rise to 230uA. The button has been configured as a gpiote interruption, and its configuration is below:

#define BUTTON_PIN_CONFIG  ((GPIO_PIN_CNF_SENSE_Low << GPIO_PIN_CNF_SENSE_Pos)    | \
                           (GPIO_PIN_CNF_DRIVE_S0S1 << GPIO_PIN_CNF_DRIVE_Pos)    | \
                           (GPIO_PIN_CNF_PULL_Pullup << GPIO_PIN_CNF_PULL_Pos)    | \
                           (GPIO_PIN_CNF_INPUT_Connect << GPIO_PIN_CNF_INPUT_Pos) | \
                           (GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos))

I have inspected all the relevant registers and got no answer. So, I am wondering whether it is a hardware problem? 

I'd appreciate it if somebody could give me a hint!

Related