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

use*_*034 4 arduino nfc lib-nfc adafruit

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

nfc-list返回消息“未找到 NFC 设备”。

我在 /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

知道如何解决这个问题吗?泰

Sur*_*kar 5

首先验证您的 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

如果问题仍然存在,请尝试使用 nfc-tool 中的本教程

来源/参考