Hi:
PREJECT: nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_hrs_freertos\pca10040\s132\arm5_no_packs
When TWI0 and GPIOTE are turned on at the same time,
the power consumption will increase by 500uA,
and the power consumption of TWI and GPIOTE alone will be normal.
help me please !!
//TWI INIT
twi_master_init();
//GPIOTEINI
if(!nrf_drv_gpiote_is_init())
{
err_code=nrf_drv_gpiote_init();
APP_ERROR_CHECK(err_code);
}
nrf_drv_gpiote_in_config_t in_config=GPIOTE_CONFIG_IN_SENSE_HITOLO(true);
err_code=nrf_drv_gpiote_in_init(27,&in_config,int1pin_gpiote);
APP_ERROR_CHECK(err_code);
nrf_drv_gpiote_in_event_enable(27,true);