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

GPIOTE current consumption in nrf52832

Hi everyone,

I am working on nrf52832 using sdk15.0.0 using ble_app_beacon

I getting 3mA current when falling edge detected, i want to set my device as low low power consume.

which setting need to required when nrf_drv_gpiote.c file used on custom board nrf52.

plese check this below configuration for gpiote ,

static void gpiote_setup()
{
ret_code_t err_code;
// nrf_drv_gpiote_in_config_t i_config = GPIOTE_CONFIG_IN_SENSE_TOGGLE(true);
nrf_drv_gpiote_in_config_t i_config = GPIOTE_CONFIG_IN_SENSE_HITOLO(true);
i_config.pull =NRF_GPIO_PIN_NOPULL;
// i_config.pull =NRF_GPIO_PIN_PULLUP;

err_code = nrf_drv_gpiote_in_init(INPUT_pin, &i_config, GPIOTE_handler); //Configure the second pin. Event handler assigned to store value.
APP_ERROR_CHECK(err_code);
nrf_drv_gpiote_in_event_enable(INPUT_pin, true);
}

I am also try by changing bool paramter in this function nrf_drv_gpiote_in_config_t i_config = GPIOTE_CONFIG_IN_SENSE_HITOLO(false);

still getting current is in between 3mA to 2.85mA.

please someone help me for setting this configuration in low power consumption mode.

Parents Reply Children
Related