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

pin 31 interrupt

hi...

i am working on nordic nrf51822 evaluation board.i coudn't get pin 31 interrupt.but in all other pin i can get interrupt. maximum of 3 gpiote pin events is using. still some problem is associated with pin 31 interrupt.

        nrf_gpio_cfg_input(31,NRF_GPIO_PIN_NOPULL);	
	err_code = app_gpiote_user_register(&I2cGpioteId3, (0x01UL << 31), 0, &pinISR);
	APP_ERROR_CHECK(err_code);
	err_code = app_gpiote_user_enable(I2cGpioteId3);
	APP_ERROR_CHECK(err_code);

as of my knowledge this is the configuration to get a pin interrupt. can anybody help me to solve this issue.

Related