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

Hi , is the gpiote interrupt disable the softdevice s132..??

I have developed the code to send the data of mpu6050 from ble peripheral to ble central. i can able to receive the accelerometer values at ble central.It works fine. Now i want to send some data from ble peripheral to ble central , when the mpu6050 detects the motion , so i have included the gpiote interrupt to achieve the task

void int_pin_handler(nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action) { mpu_data_ready = true; }

static void gpiote_init(void) { uint32_t err_code;

err_code = nrf_drv_gpiote_init();
APP_ERROR_CHECK(err_code);

nrf_drv_gpiote_in_config_t in_config = GPIOTE_CONFIG_IN_SENSE_LOTOHI(true);

err_code = nrf_drv_gpiote_in_init(INT_PIN, &in_config, int_pin_handler);
APP_ERROR_CHECK(err_code);

nrf_drv_gpiote_in_event_enable(INT_PIN, true);

}

when am compiled , am getting the :ERROR:Fatal

can anyone please say , where am did the mistake. what modification will i need to do..?? am using the nrf52832 SDK 13.0 am a newbie to this platform , can anyone please help.

Parents Reply Children
No Data
Related