Skip to main content
Visitor II
February 14, 2019
Solved

Help on Mifare classic

  • February 14, 2019
  • 2 replies
  • 841 views

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

    This topic has been closed for replies.
    Best answer by Ulysses HERNIOSUS

    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

    2 replies

    Technical Moderator
    February 14, 2019

    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.4Author
    Visitor II
    February 14, 2019

    Hi Ulysses,

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

    Best,

    Van