79315289

Date: 2024-12-29 09:15:28
Score: 1.5
Natty:
Report link

I wanted to try NFC for a while and i started off by interfacing PN532 NFC RFID Read / Write Module V3 Kit with beaglebone black Link-From-Where-I-Bought-This-Kit

Initially, I connected this kit with BBB and I tried enabling this through DTS. Plus also enabled NFC though menuconfig. But couldn't get image booted up. It hung at place where pn532_i2c driver was getting loaded

Here are the changes i did

OS-Release-info

DTS changes i did

i2c-1-pins DeviceTree-Updates

I had ensured that on i2cdetect, I was able to see this NFC kit detected

After a while i started exploring, libnfc and i had good success with this, i had this libnfc cloned on my BBB and compiled using steps below

autoreconf -vis ./configure --with-drivers=pn532_i2c ./configure --prefix=/usr --sysconfdir=/etc --with-drivers=pn532_i2c make make install

libnfc that i used is here libnfc

updated libnfc.conf.sample as below and moved it to /etc/nfc/

libnfc.conf

I was able to get NFC up and running, its important to update conf in right way to get this module up and running. Ensure you update device.name and device.connstring that matches with your hardware connections

Results i had

Setup nfc-list-output nfc-poll-output

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mahegaik