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

How to redefine pins in "Adafruit_tag_reader" example?

Hello everyone,

So I'm trying to maybe start get going with the NRF52832 platform but every time I try I get stuck with it.

In this example I'd like to use different pins to test my PN532 NFC reader for the IRQ and RST on the DK hardware and I can't find the line that may be defining it searching the keywords "IRQ" "RST" in both the main file and the "adafruit_pn532" third party library.

Currently following this tutorial: https://devzone.nordicsemi.com/b/blog/posts/how-to-test-nrf52-nfc-tag-with-reader-adafruit-tag

Also I'd be useful to have a link to some tutorial series for the NRF52832 using the official SES IDE something like "blank to blink: style tutorial that also shows how to utilize different serial communications like the TWI, SPI and the UART.

Thanks for helping.

Parents
  • Hi,

    You need to look for the PN532_IRQ and PN532_RESET defines. In the example code used in your link, they are located in "\SDK_11.0.0\external\nfc_adafruit_library\adafruit_pn532_config.h".

    Unfortunately we don't have any blank-to-blink tutorials (all we have are these). To get up and running with TWI and/or SPI I suggest that you look at the most basic TWI and SPI example you can find here

Reply
  • Hi,

    You need to look for the PN532_IRQ and PN532_RESET defines. In the example code used in your link, they are located in "\SDK_11.0.0\external\nfc_adafruit_library\adafruit_pn532_config.h".

    Unfortunately we don't have any blank-to-blink tutorials (all we have are these). To get up and running with TWI and/or SPI I suggest that you look at the most basic TWI and SPI example you can find here

Children
Related