Skip to main content
Visitor II
September 15, 2022
Solved

how RFAL for ST25R39xx emulate Mifare one 1K card?

  • September 15, 2022
  • 2 replies
  • 1800 views

No example of analog M1 was found in the provided routines,Can you provide technical support for this ?

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

    Hi zhuij.1,

    Emulating a Mifare 1K card would require host-defined parity bits. This is not possible on ST25R39xx (ST25R3916(B) and derivates) through the FIFO. Please see note on no_tx_par and no_rx_par in the datasheet of e.g. ST25R3916.

    Best Regards, Ulysses

    2 replies

    Technical Moderator
    September 15, 2022

    Hi zhuij.1,

    Emulating a Mifare 1K card would require host-defined parity bits. This is not possible on ST25R39xx (ST25R3916(B) and derivates) through the FIFO. Please see note on no_tx_par and no_rx_par in the datasheet of e.g. ST25R3916.

    Best Regards, Ulysses

    zhuij.1Author
    Visitor II
    September 16, 2022

    “ This is not possible on ST25R39xx (ST25R3916(B) and derivates) through the FIFO�?​,is it possible on ST2539XX through the host mcu ram?

    Is there a Mifare 1K card example code?

    Technical Moderator
    September 19, 2022

    Hi,

    All data going to NFC needs to go through ST25R3916 of course. So it needs to go through SPI and the FIFO unless you want to build your own low level NFC stack by using the transparent mode of ST25R3916.

    Either way ST is not delivering any code for this. I am also not sure whether doing card crypto in software will be feasible due to timing requirements on such cards.

    If you look around on the community, ST is not providing any source code for the Mifare Classic crypto1. Most questions were for reader mode but the same holds also for tag mode.

    Best Regards, Ulysses