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

Increase current consumption with app_button

Hi All,

I am using SDK17 for my application currently. To sense ping change I am using app_button function as below. Normally my port pin remains high and current consumption of board is 6 uA with no advertisement. But when my port pin goes low, current increase to 15 uA. This behavior was not in SDK15.3. Current was normal in SDK15.3 in high or low pin cases. Can anybody help here?

void buttons_init(void)
{

static app_button_cfg_t buttons[] =
{
{DOOR1_SWITCH, APP_BUTTON_ACTIVE_LOW, NRF_GPIO_PIN_NOPULL,button_event_handler},
};

app_button_init(buttons, sizeof(buttons) / sizeof(buttons[0]), BUTTON_DETECTION_DELAY);
}

Regards,

Bipin Patel

Parents Reply Children
No Data
Related