Re: Issue 176 in libnfc: PN532 UART device is not getting connected

54 views
Skip to first unread message

lib...@googlecode.com

unread,
Oct 27, 2011, 11:28:44 AM10/27/11
to libnfc...@googlegroups.com
Updates:
Summary: PN532 UART device is not getting connected

Comment #14 on issue 176 by rco...@il4p.fr: PN532 UART device is not
getting connected
http://code.google.com/p/libnfc/issues/detail?id=176

r1180 adds a logging capability when log4c is not available.


./configure --with-drivers=pn532_uart --enable-serial-autoprobe
--enable-debug
make clean all

Please provide useful logs to help you.

lib...@googlecode.com

unread,
Oct 27, 2011, 1:34:09 PM10/27/11
to libnfc...@googlegroups.com

Comment #15 on issue 176 by vishnu...@gmail.com: PN532 UART device is not
getting connected
http://code.google.com/p/libnfc/issues/detail?id=176

yes i was getting datas from the card only aftrer installing pcscd. I am
using NXP PN532 cakeboard is it an acr122 device

lib...@googlecode.com

unread,
Nov 4, 2011, 9:08:32 AM11/4/11
to libnfc...@googlegroups.com

Comment #16 on issue 176 by rco...@il4p.fr: PN532 UART device is not
getting connected
http://code.google.com/p/libnfc/issues/detail?id=176

Hi,

So, could you provide some more logs ?

Could you explain what is a "cakeboard" ? Google show me some strange
stuffs :)
And could you reformulate your last sentence: I did not understand what you
mean.

Can I close this issue ?

lib...@googlecode.com

unread,
Nov 4, 2011, 9:25:04 AM11/4/11
to libnfc...@googlegroups.com

Comment #17 on issue 176 by vishnu...@gmail.com: PN532 UART device is not
getting connected
http://code.google.com/p/libnfc/issues/detail?id=176

It was a timing problem. for my board 15 ms time is not enough I changed it
to 2 secnd and now am getting data from TAG

lib...@googlecode.com

unread,
Nov 4, 2011, 9:29:07 AM11/4/11
to libnfc...@googlegroups.com

Comment #18 on issue 176 by vishnu...@gmail.com: PN532 UART device is not

lib...@googlecode.com

unread,
Nov 4, 2011, 11:01:26 AM11/4/11
to libnfc...@googlegroups.com
Updates:
Status: Invalid
Labels: -Type-Defect Type-Other

Comment #19 on issue 176 by rco...@il4p.fr: PN532 UART device is not
getting connected
http://code.google.com/p/libnfc/issues/detail?id=176

How did you do that ? (changing "15 ms time")


lib...@googlecode.com

unread,
May 22, 2013, 10:25:58 PM5/22/13
to libnfc...@googlegroups.com

Comment #20 on issue 176 by Thenusan...@gmail.com: PN532 UART device is not
getting connected
http://code.google.com/p/libnfc/issues/detail?id=176

Hi,

I am seeing the original problem where no NFC device is found. What was the
solution to resolve that issue?

Thanks

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

lib...@googlecode.com

unread,
Jul 6, 2013, 5:30:36 PM7/6/13
to libnfc...@googlegroups.com

Comment #21 on issue 176 by pme...@gmail.com: PN532 UART device is not
getting connected
http://code.google.com/p/libnfc/issues/detail?id=176

maybe a short sleep in pn532_uart_wakeup() helps?
it works for me...

int res = uart_send(DRIVER_DATA(pnd)->port, pn532_wakeup_preamble,
sizeof(pn532_wakeup_preamble), 0);
CHIP_DATA(pnd)->power_mode = NORMAL; // PN532 should now be awake
+ msleep(1);
return res;

msleep() is some macro defined in pn532_spi.c, or just use usleep(1000)

lib...@googlecode.com

unread,
Feb 5, 2015, 6:20:32 AM2/5/15
to libnfc...@googlegroups.com

Comment #22 on issue 176 by udaykira...@gmail.com: PN532 UART device is not
getting connected
https://code.google.com/p/libnfc/issues/detail?id=176

i an trying to interface Arduino UNO with grove NFC. I added all the
libraries perfectly but the code is written for i2c where grove nfc has
UART connected on the board. it is suggested that de-solder the UART and
solder it to i2c in nfc board, could you please help me in solving the
problem. i need library for interfacing ardunino UNO with grove nfc through
UART.
Reply all
Reply to author
Forward
0 new messages