首页 文章

为什么使用libnfc和PN532 SHIELD“没有找到NFC设备”

提问于
浏览
1

我在我的ArchLinux上安装了libnfc,我将通过我的Adafruit PN532 arduino SHIELD使用它 .

nfc-list 返回消息"No NFC device found" .

我在/etc/nfc/devices.d/pn532.conf中有以下文件给了我

nfc-list使用libnfc 1.7.1错误libnfc.driver.pn532_uart pn53x_check_communication错误错误libnfc.chip.pn53x意外的PN53x回复! nfc-list:错误:无法打开NFC设备:pn532_uart:/ dev / ttyACM0

关于如何解决这个问题的任何想法? TY

1 回答

  • 1

    首先验证您的Rx / Tx连接 .

    然后使用以下命令配置LIBNFC:

    1) ./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr --enable-serial-autoprobe

    2) make clean all

    3) sudo make install all

    最后 4) LIBNFC_LOG_LEVEL=3

    现在试试 5) nfc-list

    If Still problem persists try this tutorial from nfc-tool

    来源/参考

相关问题