cancel
Showing results for 
Search instead for 
Did you mean: 

Help on Mifare classic

VPetr.4
Associate

Dear ST team,

I know that you can not provide Mifare Classic implementation for ST25R391x chip, but I am really having trouble on implementing it by myself. Could you please, provide any similar example, that I can use as a starting point? What I already did is selecting card using iso14443ASelect function and reading card info into iso14443AProximityCard_t structure. After that I am trying to perform authentication of memory block 0 using rfalTransceiveBlockingTxRx function, but I never receive anything back from card. Do I miss a step between these procedures? Do I use correct function or should I use another one for transmit/receive? Any help would be appreciated. Thanks in advance.

Best regards,

Van

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

Hi Van,

If it is really a Mifare Classic card (SAK 08) it should answer to an authenticate request.

Most transceives will need RFAL_TXRX_FLAGS_PAR_TX_NONE | RFAL_TXRX_FLAGS_CRC_TX_MANUAL | RFAL_TXRX_FLAGS_CRC_RX_KEEP | RFAL_TXRX_FLAGS_PAR_RX_KEEP and your own generated CRC and parity.

Regards, Ulysses

View solution in original post

2 REPLIES 2
Ulysses HERNIOSUS
ST Employee

Hi Van,

If it is really a Mifare Classic card (SAK 08) it should answer to an authenticate request.

Most transceives will need RFAL_TXRX_FLAGS_PAR_TX_NONE | RFAL_TXRX_FLAGS_CRC_TX_MANUAL | RFAL_TXRX_FLAGS_CRC_RX_KEEP | RFAL_TXRX_FLAGS_PAR_RX_KEEP and your own generated CRC and parity.

Regards, Ulysses

VPetr.4
Associate

Hi Ulysses,

Thanks for the answer, I will try this flags. I was using RFAL_TXRX_FLAGS_DEFAULT flags.

Best,

Van