My issue is not related to this library, but I hope somebody can help me. I'm plugging PN5180 module to Raspberry Pi and use your library as the basis. According to datasheet BUSY line goes to IDLE when PN5180 is able to receive a new frame or data is available.
But I get a problem. After receiving the first byte (0x04 - instruction "read register") PN5180 assert "busy" line to high and hold it.
Also I tried to pause for 100ms after each byte, but it didn't help. Busy line is still high.
What I doing wrong?
I got it. I did not notice that the NSS line should be set to HIGH for a couple milliseconds after sending the instruction and before receiving the answer
My issue is not related to this library, but I hope somebody can help me. I'm plugging PN5180 module to Raspberry Pi and use your library as the basis. According to datasheet BUSY line goes to IDLE when PN5180 is able to receive a new frame or data is available. But I get a problem. After receiving the first byte (0x04 - instruction "read register") PN5180 assert "busy" line to high and hold it. Also I tried to pause for 100ms after each byte, but it didn't help. Busy line is still high. What I doing wrong?