2020-11-04 03:09 AM
Hi,
i'm unable to run the NFC poller on a X-NUCLEO-NFC05A1 on a raspberry running Raspbian Lite.
I get the following error:
"Error: writing interrupt pin to gpio export file"
Could someone advise please?
Jacopo Chicco
2020-11-12 08:07 AM
The default user account on Raspberry Pi does not have the required permissions to access the GPIO pins as necessary. If you run the app with `sudo` it will work.
Sean
2020-11-17 04:41 AM
Thank you for your answer.
I'm doing sudo but it doesn't work anyway.
I discovered that it just doesn't work with recent versions of raspbian OS.
I installed an old one and it works, but it would be better to fix it.
Thanks
Jacopo
2020-11-17 06:54 AM
It will also fail if an invalid GPIO pin number is used. PLTF_GPIO_INTR_PIN is set to 7 in the demo code, but my on Pi 4B that wasn't a valid option, and I ended up setting it to 25 and using GPIO 25 instead.