cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F2 Smartcard mode with DMA

whwong84
Associate II
Posted on February 05, 2014 at 16:08

Hi Support,

As to date, I have successfully implement smart card TX and RX together with DMA. But I encounter a problem. It is regarding on guard time. As per Reference Manual, the guard time can be configured, but it will only delay and affecting the TC interrupt. But as in USART DMA, the TC interrupt will only happened after all the data is transmitted.

As per ISO7816-3 standard, the guard time is defined as the stop bit of each character, meaning that every characters must have the predefined guard time.

Is there anyway I can solve this with DMA?? FYI, I also tried to use TC interrupt approach. From what I probed from Logic Analyser, it seems that there's additional (unwanted) 1 stop bit. Hope you guys help.
0 REPLIES 0