I'm using rfal lib 1.3.0 on ST25r3916 on NUCLEO-NFC05A1. nfc_demo_poller gets stuck randomly sometimes and my embedded platform is completely unavailable. How this can be solved?
I have developed an embedded Linux board (microprocessor ARM Cortex-A5 core) which is connected through SPI port to a NUCLEO-NFC05A1. I want to detect tags and then transmit the interrupt event (aka the tag present) to the main board, on which the rfal lib (v.1.3.0) is running.
Actually, everything works fine and tags are detected most of the times. Anyway, sometimes (I don't know why, it does not seem to be related to anything else), the nfc-poller demo stucks and drags all the board resources together (the maximum priority thread does not allow to make any other operation). I've tried to run the nfc-poller demo alone and it stucks itself (randomly) even if it is left to run without tags to be detected. To resume, nfc-poller demo works, but it has this bad feature of blocking itself and also blocking the main board. Adding watchdogs seem to be not so effective, because it is nearly impossible to know and detect where the software is stuck.
Thank you
