I have been trying to get my PN532 NFC module to work using either I2C or SPI but neither way is working.
I have followed the instructions from the manufacturer for both I2C and SPI and originally through I2C wasn't getting communication (their chart for connection was off) but eventually got the cabling all correct - but this resulted in the following error:
nfc-list: ERROR: Unable to open NFC device: pn532_i2c:/dev/i2c-1
So I tried SPI and got to the same testing:
nfc-list: ERROR: Unable to open NFC device: pn532_spi:/dev/spidev0.0:280000
I get part one of SPI instructions 7 (If two devices are detected, it means the SPI is already opened.) so I should just be able to go ahead with nfc-list
, but keep getting the above error.
I have tried trouble shooting using this chart (ITEAD PN532 on Pi 3 with libnfc) but all of the external links they used to provide full instructions as to what they did no longer work - so therefore can't actually use the troubleshooting because they don't explain it fully.
Would love any help that could be provided.
i2cdetect
see your NFC reader? If not, you probably need to fix your wiring.