Actually I'm not decided yet what driver to use. I just want to quick check if my board working with SmartCard. But as usually quick maybe more than few days .
I guess in case of wrong baud rate or parameters ISR should be triggered in any case. Only thing that come in my mind is I/O setup. But when I'm sending something to serial port I see that in oscilloscope, so transmission works well. I will try to connect logic analyzer ...
Actually I'm using design from http://www.st.com/st-web-ui/static/acti ... 166510.pdf. I'm also modified example code from ST and it's works fine. I double checked all USART3 and GPIOC registers in both projects and they are almost the same.
I'm trying to enable SmartCard mode for SD3, everything looks fine except my application not receive any data from IO line. In oscilloscope I see that SIM card response with ATR.
That how I initialize serial port:
/* * Port C setup. * Everything input with pull-up except: ...
Yes, exactly the same 8MHz crystal. Configuration I also not changed. From Linux usb monitor I see that my board not responds at all.( As I mentioned before USB isr also not executed on board)
ffff880156f00540 797183841 S Ci:3:001:0 s a3 00 0000 0001 0004 4 < ffff880156f00540 797183868 C Ci:3:001 ...