cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F411RE as ISO7816 Slave mode (card emulation)

cucabelu
Associate

Hello,

I’m trying to use an STM32F411RE microcontroller as an ISO7816 smartcard slave rather than a reader (i.e., to emulate an actual smartcard). In this scenario, the clock would come from an external source, and the MCU would respond with an ATR and process incoming APDUs. However, the native Smartcard peripheral on STM32 seems designed for master clock generation.

Is there any official way or workaround to configure the STM32F411RE (or its USART peripheral in Smartcard mode) to operate as an ISO7816 slave, receiving the external clock and synchronizing accordingly? If not, is there any recommended approach (HAL, LL, or hardware configuration) to emulate a smartcard on this MCU?

Thanks in advance!

Note:

When I used the MCU as master (reader), it worked perfectly.




0 REPLIES 0