PN532 and feather S2 SPi not working

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jfranklyn
 
Posts: 46
Joined: Fri Mar 13, 2020 6:50 pm

PN532 and feather S2 SPi not working

Post by jfranklyn »

Hello all,
I have a feather S2 running circuitpython 6.3.0. I tried interfacing with a PN532 using SPi and kept getting "PN532 not found" errors. I double checked all the soldering, wiring and also tried a different pin besides D5. I switched the wiring to I2C and it worked with no problems. I've rebooted and scanned tags at least 10 times with no problems or errors. I'm using the pn532_simpletest.py code from the adafruit-circuitpython-bundle.

User avatar
danhalbert
 
Posts: 4688
Joined: Tue Aug 08, 2017 12:37 pm

Re: PN532 and feather S2 SPi not working

Post by danhalbert »

If you are familiar with Arduino, you could try SPI mode with the Arduino library, to see if that is working. If it isn't, then I would suspect wiring or a board setup issue.

If you have another non-ESP32-S2 CircuitPython board, you could also try it with that, to see if it's related to the choice of board.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”