ExorcistPanda
Posts: 1
Joined: Mon Feb 09, 2015 8:04 am

PN532 SPI pinout

Mon Feb 09, 2015 8:08 am

Hi, i successfully made it work with rPi. Im using libnfc over spi. Between breakout and rPi, im using 26pin cable. I dont wanna use the that cable. I need some gpio ports on rPi. So, how i can connect breakout with necessary pins? Actually which pins are necessary? ps: its ITEAD PN532 http://imall.iteadstudio.com/im130625002.html

iyosch
Posts: 19
Joined: Tue Jun 09, 2015 6:40 am
Location: Jakarta, Indonesia

Re: PN532 SPI pinout

Fri Jul 03, 2015 6:14 am

tag : NFC PN532 module itead Raspberry Pi
Have you tried this website?
http://blog.iteadstudio.com/raspberry-p ... th-libnfc/
This website provides step-by-step to set nfc module using chip pn532 from itead with libnfc
This setup use SPI/I2C/UART for the connection (you can choose by yourself) by defult it is intended to use with I2C.
I have tried it using I2C and it works.

On my projects I just use 4 pins on the module to connect with the RPi
since I use I2C so I use :

-MISO
-MOSI/SDA/TX to PIN3 I2C(SDA) on RPi
-NSS/SCL/RX to PIN5 I2C(SCL) on RPi
-IRQ
-RST
-GND to PIN4 GND on RPi
-5V to PIN5 5V on RPi

the rest I left it not connected

if you want to use the SPI then I think you could use
MOSI to pin 19 SPI_MOSI on the RPi
MISO to pin 21 SPI_MISO on the RPi
check this for RPi pins
http://www.peatonet.com/wp/wp-content/u ... rry-1.jpeg
check this for itead pn532 module pins
http://imall.iteadstudio.com/im130625002.html

hope this helps. :D

jctlmm
Posts: 11
Joined: Fri May 08, 2015 12:22 am

Re: PN532 SPI pinout

Thu Aug 13, 2015 4:59 pm

Have you tried UART?

Return to “Interfacing (DSI, CSI, I2C, etc.)”