Hello! This is my first time working with this board, and I am having some issues.
I am trying to connect my nRF52832 breakout board to a NFC reader module over SPI, but I just cannot figure out how to set the SPI communication on this board. The hookup guide says that the SPI pins (SCK, MISO, MOSI, SS) can be assigned to any pin on the board, but how do I do that? what library do I need to use to setup the communication?
For the NFC reader module I am using the Adafruit PN532 library, and for all the examples they provide, I have to run the following line of the code before the setup() and loop() methods:
Adafruit_PN532 nfc (SCK, MISO, MOSI, SS);
I am assuming this is to initialize the NFC reader module and assign its SPI pins to it, but since the nRF52832 breakout board doesn’t know what pins it will use for SCK, MISO, MOSI and SS, it keeps telling me it doesn’t find any NFC reader module connected to my board. How do I solve this?
Thank you!