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.

Parents
  • The chips in the nordic evaluation kits are QFN48 pacakges which don't have a pin 31, they stop at pin 30 because there's no more pins on the package. See the product guide for the NRF51822.

    So you can't get an interrupt because there's no pin to connect to to generate it. What were you trying to connect to on the board in order to trigger it, there isn't anything.

    I have no idea what happens to the GPIO internally in the chip in this case, the documentation doesn't say, I assume it just acts as if it came out onto a pin but wasn't connected.

Reply
  • The chips in the nordic evaluation kits are QFN48 pacakges which don't have a pin 31, they stop at pin 30 because there's no more pins on the package. See the product guide for the NRF51822.

    So you can't get an interrupt because there's no pin to connect to to generate it. What were you trying to connect to on the board in order to trigger it, there isn't anything.

    I have no idea what happens to the GPIO internally in the chip in this case, the documentation doesn't say, I assume it just acts as if it came out onto a pin but wasn't connected.

Children
No Data
Related