Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which Pn532 module ? #438

Closed
aminmrp opened this issue Sep 1, 2017 · 7 comments
Closed

Which Pn532 module ? #438

aminmrp opened this issue Sep 1, 2017 · 7 comments
Labels

Comments

@aminmrp
Copy link

aminmrp commented Sep 1, 2017

Hi ...
i have question ... In libnfc ,There is a driver for PN532 module. Is this driver for the NXP version of this module or Adafruit version?If this driver is for Adafruit module , can i use it for NXP module?
(Red module is NXP version and blue module is adafruit version )
Thank you for your attention

pn532 1 -350x350
364-05

@doegox
Copy link
Member

doegox commented Sep 1, 2017

Drivers talk directly to the PN532 chip so both board will work.
But beware antenna performance may vary a lot.
Antenna of Adafruit is very good (and there are 15$ clones of that one that work equally well).

@doegox doegox added the question label Sep 1, 2017
@aminmrp
Copy link
Author

aminmrp commented Sep 2, 2017

@doegox The NXP module has (I2C , SPI and UART ) . which is the best ? Which is easier to work that?

@doegox
Copy link
Member

doegox commented Sep 2, 2017

They're all good.
It depends on what you want to connect it to.
E.g. for a laptop, UART with a USB-Serial cable is the esiest.
E.g. for a RPi, I2C or SPI on its GPIO port are the easiest.

@aminmrp
Copy link
Author

aminmrp commented Sep 2, 2017

@doegox Does the library recognize the NXP PN532 automatically on a laptop??? I use kali linux

@aminmrp
Copy link
Author

aminmrp commented Sep 2, 2017

@doegox Oh sir ... i have a more question 😅 if i wanna connect NXP PN532 module to laptop (UART mode), Is there a special cable for connecting it?

@doegox
Copy link
Member

doegox commented Sep 2, 2017

any usb-uart cable should work.
just make sure it's recognized by linux but most cables are.

@doegox doegox closed this as completed Sep 2, 2017
@doegox
Copy link
Member

doegox commented Sep 2, 2017

to get the board recognized over USB-UART, you've to edit libnfc.conf, see last lines of

https://github.com/nfc-tools/libnfc/blob/master/libnfc.conf.sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants