Hi
Using the nrf52840-dk with SD S140 and nrfx_gpiote, everything runs fund (BLE, TWI etc) but interrup on pin 0,28 causes a Hard Fault. I can not get any sensible logs to diagnose the issue (I'm using VSC and not familiar with Debug).
Fullscreen
1
2
3
4
5
6
7
//IMU Interrup PIN Handler
nrfx_gpiote_in_config_t in_config = NRFX_GPIOTE_CONFIG_IN_SENSE_HITOLO(true);
in_config.pull = NRF_GPIO_PIN_PULLDOWN; //NRF_GPIO_PIN_NOPULL;
in_config.hi_accuracy = true;
err_code = nrfx_gpiote_in_init(MPU_INT_PIN, &in_config, in_pin_handler);
APP_ERROR_CHECK(err_code);
nrfx_gpiote_in_event_enable(MPU_INT_PIN, true);
Any ideas?
Thanks