Linux demo X-NUCLEO-NFC06A1 canot find device
I connect the module to a raspberry pi 3 through SPI, compiled and executed sudo./demo/nfc_demo_st25r3916. I changed the interrupt pin to physical pin 11 because the default was busy.
The demo stays at scanning and never detects the module.
I ran it with gdb and it is caught in an endless loop in main.c:111.
Function "st25r3916CheckChipID" in "Linux_RFAL_st25r3916_v2.2.0/rfal/source/st25r3916/st25r3916.:141" returns ERR_HW_MISMATCH. The ID returned is 0, that would be "old silicon" according to the code comment.
I connected SC to the module's CN5 pin 3 and also triyed pin 1.
1.How does the read in the register happens if spiTxRx is not called from st25r3916CheckChipID>st25r3916ReadRegister > st25r3916ReadMultipleRegisters > st25r3916comTxByte( ((reg & ~ST25R3916_SPACE_B) | ST25R3916_READ_MODE), true, false );
2. what may be wrong in my setup?
