You are not logged in.

#1 2018-02-24 15:02:23

hadi436
Member
Registered: 2018-02-14
Posts: 1

Problem connecting Elechouse PN532 to libnfc

Hi, It havn't been long since I have installed Arch linux and I want to connect my Elechouse PN532 to pc by uart and use it by libnfc, but it doesn't recognize it.
So, here's what I've done:
I connected my PN532 to CJMCU-FT232RL and I used 5v, then I connected it to my PC and started installing libnfc like this:

[hadi@Hadi ~]$ cd libnfc-libnfc-1.7.1
[hadi@Hadi libnfc-libnfc-1.7.1]$ autoreconf -Wall -vis
[hadi@Hadi libnfc-libnfc-1.7.1]$ sudo ./configure --prefix=/usr --sysconfdir=/etc --with-drivers=pn532_uart --enable-debug
[hadi@Hadi libnfc-libnfc-1.7.1]$ sudo make 
[hadi@Hadi libnfc-libnfc-1.7.1]$ sudo make install

And the I added:

device.name = "Elechouse PN532 via UART"
device.connstring = pn532_uart:/dev/ttyUSB0

to  /etc/nfc/libnfc.conf .
And when I try to check whether it's ok or not, I got this :

[hadi@Hadi libnfc-libnfc-1.7.1]$ nfc-list
nfc-list uses libnfc 1.7.1
No NFC device found.

I'm sure that PN532 is ok because I tested it with Arduino and it worked well but it's not recognized by libnfc.
Any help is appreciated

Thankes!

Offline

Board footer

Powered by FluxBB