cancel
Showing results for 
Search instead for 
Did you mean: 

how RFAL for ST25R39xx emulate Mifare one 1K card?

zhuij.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

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

View solution in original post

3 REPLIES 3
Ulysses HERNIOSUS
ST Employee

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.1
Associate II

“ 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?

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