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

Adafruit Tag Reader Example not working with certain RST and IRQ pin

I am trying to run adafruit_tag_reader example on nRF52840 DK.

Problem :

If these are my pins in sdk_config.h it works fine

#ifndef PN532_RESET
#define PN532_RESET NRF_GPIO_PIN_MAP(1, 13)
#endif

#ifndef PN532_IRQ
#define PN532_IRQ NRF_GPIO_PIN_MAP(1, 14)
#endif

Whereas this doesn't work.

#ifndef PN532_RESET
#define PN532_RESET NRF_GPIO_PIN_MAP(0, 9)
#endif

#ifndef PN532_IRQ
#define PN532_IRQ NRF_GPIO_PIN_MAP(0, 10)
#endif

Related