Mifare Classic reading with st25r3916
Hi,
I am implementing the st25r3916 firmware to be used in my reader. I have taken the code of "X-NUCLEO NFC06A1".
To make the authentication, I am able to send the command 0x60 + block number; I receive the answer and I send the next message with the key and I receive an answer from the card with length 4 bytes, but I have the status of the reader "RFAL_ERR_PAR". But when I check the received 4 bytes, they are the right ones. I am using the flags:RFAL_TXRX_FLAGS_CRC_TX_MANUAL|RFAL_TXRX_FLAGS_CRC_RX_KEEP|RFAL_TXRX_FLAGS_NFCIP1_OFF |RFAL_TXRX_FLAGS_AGC_ON|RFAL_TXRX_FLAGS_PAR_RX_REMV|RFAL_TXRX_FLAGS_PAR_TX_NONE|RFAL_TXRX_FLAGS_CRC_RX_MANUAL
In order to continue with the reading, I was ommiting this error, and I am sending the command 0x30 to read, with the encryption (I know this part is well done due I have it already running in the st25r3911), in this case I am using next flags:
RFAL_TXRX_FLAGS_CRC_TX_MANUAL | RFAL_TXRX_FLAGS_CRC_RX_KEEP | RFAL_TXRX_FLAGS_NFCIP1_OFF | RFAL_TXRX_FLAGS_AGC_ON | RFAL_TXRX_FLAGS_PAR_RX_KEEP | RFAL_TXRX_FLAGS_PAR_TX_NONE|RFAL_TXRX_FLAGS_CRC_RX_MANUAL
but I do not receive any answer from the card. In this case I need to send 36 bits, due the parity ones, and I do not know if I need to change something to be able to send them, or if maybe the error cames from the previous parity error.
thanks,
Sandra
