Hi! I want to know how to connect the NFC/RFID controller breakout board using the SPI interface instead the serial one.
This because my project uses a printer with that serial pins (RX/TX) and I want to use the reader without an USB to console wire...
Thank you!
NFC/RFID using SPI with raspberry pi
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: NFC/RFID using SPI with raspberry pi
I don't know if that's possible. On the Pi, the NFC card relies on the libnfc library. As far as I know, that's serial-only.
- osoverflow
- Posts: 16
- Joined: Tue Feb 04, 2014 8:40 pm
Re: NFC/RFID using SPI with raspberry pi
I found this:
New in 1.7.0:
Drivers:
* New PN532 over I2C driver, see contrib/libnfc/pn532_i2c_on_rpi.conf.sample
So it should be possible to use i2c, isn't it? but don't know how to wire it.
New in 1.7.0:
Drivers:
* New PN532 over I2C driver, see contrib/libnfc/pn532_i2c_on_rpi.conf.sample
So it should be possible to use i2c, isn't it? but don't know how to wire it.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: NFC/RFID using SPI with raspberry pi
The R-Pi pinout is here: http://pi.gadgetoid.com/pinout
Attach SDA to SDA and SCL to SCL. Configure the jumpers on the PN532 board for I2C.
This is not something we support. I have no idea whether or not it works, not would I know how to make it work if you have problems.
Attach SDA to SDA and SCL to SCL. Configure the jumpers on the PN532 board for I2C.
This is not something we support. I have no idea whether or not it works, not would I know how to make it work if you have problems.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/