We recently changed from nRF52832 to nRF52833 and for layout convenience used some of the P1.xx pins for our signals.
We are using SDK ver: nRF5_SDK_17.0.2_d674dde
For some reason I don't understand we are experiencing problems whenever a P1.xx GPIO is configured the application crashes. On some board we have just simple enable signals and on another boards we have interrupts or TWI.
We are using nrfx drivers for gpiote, twi and so on.
The way we are passing the gpios to the corresponding functions is :
/*TWI0*/ {.sda_pin = NRF_GPIO_PIN_MAP(1, 2), .scl_pin = NRF_GPIO_PIN_MAP(1, 7)},
/*TWI1*/ {.sda_pin = NRF_GPIO_PIN_MAP(0, 25), .scl_pin = NRF_GPIO_PIN_MAP(1, 5)},
ret_code_t err = nrfx_gpiote_in_init(NRF_GPIO_PIN_MAP(1, 6), &pin_in_cfg, pin_int_handler);
ASSERT(err);