T = 1 Smartcard implementation with Cube MX
Hello ST electronics,
I wanted to know if there are any implementation of T= 1 protocol available with cube MX configurations.
Please do let me know.
Regards,
Adarsh T R
Hello ST electronics,
I wanted to know if there are any implementation of T= 1 protocol available with cube MX configurations.
Please do let me know.
Regards,
Adarsh T R
There are many STM32s with smartcard interface that have a USART that supports the T=1 mode, e.g. STM32F0, STM32F3, STM32F7, STM32L4. The respective Reference Manual lists the available modes under the chapter USART extended features, e.g. Supports the T=0 and T=1 asynchronous protocols for smartcards as defined in the ISO/IEC 7816-3 standard.
With CubeMX you can then select the smartcard mode for the respective supported USART, which essentially selects the bi-directional working pin and configures the smartcard function. There are indeed usually examples for T=0, but you can find information on the use of T=1 in the firmware X-CUBE-SMCARD, for example, and there specifically in the AN4800.
Does it answer your question?
Regards
/Peter
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.