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

TFI Mismatch error #670

Open
Ataraxiall opened this issue Apr 4, 2022 · 1 comment
Open

TFI Mismatch error #670

Ataraxiall opened this issue Apr 4, 2022 · 1 comment

Comments

@Ataraxiall
Copy link

Ataraxiall commented Apr 4, 2022

Hi all,

Im trying to work with a PN532 SPI NFC reader but it dont works.
Version 1.8.0

debug   libnfc.general  log_level is set to 3
debug   libnfc.general  allow_autoscan is set to true
debug   libnfc.general  allow_intrusive_scan is set to false
debug   libnfc.general  1 device(s) defined by user
debug   libnfc.general    #0 name: "_PN532_SPI", connstring: "pn532_spi:/dev/spidev0.0:500000"
debug   libnfc.general  0 device(s) found using acr122_usb driver
debug   libnfc.general  0 device(s) found using pn53x_usb driver
debug   libnfc.driver.pn532_spi Attempt to open: /dev/spidev0.0 at 500000 Hz.
debug   libnfc.bus.spi  SPI port speed requested to be set to 500000 Hz.
debug   libnfc.bus.spi  ret 0
debug   libnfc.bus.spi  SPI port mode requested to be set to 0.
debug   libnfc.chip.pn53x       Diagnose
debug   libnfc.chip.pn53x       Timeout value: 500
debug   libnfc.bus.spi  RX: 00
debug   libnfc.driver.pn532_spi Got 0 byte from SPI line before wakeup
debug   libnfc.chip.pn53x       SAMConfiguration
debug   libnfc.chip.pn53x       Timeout value: 1000
debug   libnfc.bus.spi  TX: 01 00 00 ff 03 fd d4 14 01 17
debug   libnfc.bus.spi  TX: 02
debug   libnfc.bus.spi  RX: 01
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: 00 00 ff 00 ff 00
debug   libnfc.chip.pn53x       PN53x ACKed
debug   libnfc.bus.spi  TX: 02
debug   libnfc.bus.spi  RX: 01
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: 00 00 ff 02
debug   libnfc.bus.spi  RX: fe
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: 15
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: 00
error   libnfc.driver.pn532_spi TFI Mismatch
pn53x_check_communication: Input / Output Error
debug   libnfc.chip.pn53x       InRelease
debug   libnfc.bus.spi  TX: 01 00 00 ff 03 fd d4 52 00 da
debug   libnfc.bus.spi  TX: 02
debug   libnfc.bus.spi  RX: 01
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: 00 00 ff 00 ff 00
debug   libnfc.chip.pn53x       PN53x ACKed
debug   libnfc.bus.spi  TX: 02
debug   libnfc.bus.spi  RX: 00
debug   libnfc.bus.spi  TX: 02
debug   libnfc.bus.spi  RX: 01
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: 00 00 ff 03
debug   libnfc.bus.spi  RX: fd
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: 53
debug   libnfc.bus.spi  TX: 03
debug   libnfc.bus.spi  RX: d8
error   libnfc.driver.pn532_spi TFI Mismatch
debug   libnfc.general  Unable to open "pn532_spi:/dev/spidev0.0:500000".
nfc-list: ERROR: Unable to open NFC device: pn532_spi:/dev/spidev0.0:500000

Any ideas?

Thanks!

@DjamikTea
Copy link

Raspberry pi?

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

No branches or pull requests

2 participants