PN532 breakout board & FTDI friend
Moderators: adafruit_support_bill, adafruit

PN532 breakout board & FTDI friend

by eternal404 on Mon Feb 11, 2013 8:19 am

Hello,

I did not succeed connecting a PN532 breakout board (v 1.3) to a computer via an FTDI friend.
I know this has already been discussed, but no solution worked for me.

I am using libnfc (compiled with the --with-drivers=pn532_uart flag) and Ubuntu 12.10.

Here is my setup:
IMG_20130211_134916.jpg
IMG_20130211_134916.jpg (230.78 KiB) Viewed 721 times

IMG_20130211_135632.jpg
IMG_20130211_135632.jpg (196.06 KiB) Viewed 721 times


Here is the output of nfc-list:
$ nfc-list
nfc-list uses libnfc
No NFC device found.


Output of lsusb:
$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 008: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


The FTDI friend works: Its led lights up when I send data through /dev/ttyUSB0.
I left the SEL0/SEL1 pads as is.

Thank you for your help :)
eternal404
 
Posts: 2
Joined: Mon Feb 11, 2013 7:35 am

Re: PN532 breakout board & FTDI friend

by adafruit_support_rick on Mon Feb 11, 2013 10:22 am

In the first photo, the FTDI pin header is not soldered to the NFC breakout. You must have electrically secure contacts in order for the communication to work. Simple inserting the pins in the holes is not sufficient.
User avatar
adafruit_support_rick
 
Posts: 12116
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: PN532 breakout board & FTDI friend

by eternal404 on Tue Feb 19, 2013 10:38 pm

Thank you for your answer driverblock.
The pin headers are now soldered, as well as the SEL pads (OFF position).
I compiled 3 different versions of libnfc (libnfc-1.5.1, libnfc-1.6.0-rc1 and libnfc-1.7.0-rc3) with the ./configure --with-drivers=pn532_uart --enable-serial-autoprobe command.
I didn't get anything out of the latest version. However 1.5.1 and 1.6 work. But half the time I get this:
pn53x_check_communication: Operation timed-out
.
Same as described here. According to the OP it sounds like an UART timeout issue. I use a generic USB-to-TTL converter I bought off eBay (the Adafruit FTDI friend won't work, dunno why).
I don't know how to solve this. Any thoughs ?
Thanks.
eternal404
 
Posts: 2
Joined: Mon Feb 11, 2013 7:35 am