You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For installing the needed software I followed this manual: https://github.com/svvitale/nxppy
Installation was without any fails.
But even the instantiation of Mifare raises an exception.
Python Code:
import nxppy
mifare=nxppy.Mifare()
Exception:
nxppy.InitError: Nxppy: Unknown Error from Undefined Component
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "nfc.py", line 3, in <module>
mifare=nxppy.Mifare()
SystemError: <class 'nxppy.Mifare'> returned a result with an error set
The SPI was switched on of course. ^^ And I tested the interface with the loopbacktest: https://elinux.org/RPi_SPI
So SPI is working.
On my Raspbarry Pi 3B+ everything works fine. Now I am looking for a solution to fix this problem.
Do you can help me out here?
Thanks a lot
Alexander
The text was updated successfully, but these errors were encountered:
Please answer these questions as part of your new issue.
Which version of Python are you using?
Python-3.6
Which OS and version are you running?
Raspbian GNU/Linux 10
Is SPI enabled?
Yes --> and already checked!
Are you trying to read/write a Mifare Classic card? (This is currently unsupported)
Also
Hi,
the NFC card reader PNEV512R (https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-readers/explore-nfc-exclusive-from-element14:PNEV512R) does not work with my new raspberry pi 4.
Kernel:
For installing the needed software I followed this manual: https://github.com/svvitale/nxppy
Installation was without any fails.
But even the instantiation of Mifare raises an exception.
Python Code:
Exception:
The SPI was switched on of course. ^^ And I tested the interface with the loopbacktest: https://elinux.org/RPi_SPI
So SPI is working.
On my Raspbarry Pi 3B+ everything works fine. Now I am looking for a solution to fix this problem.
Do you can help me out here?
Thanks a lot
Alexander
The text was updated successfully, but these errors were encountered: