2010-08-30 04:39 AM
STM3210C USART problem
2011-05-17 05:04 AM
Not sure how you are initializing the system, but the USART2 settings look valid.
Perhaps you should try sending ASCII characters as they will be easier to see in a terminal tool like RealTerm.2011-05-17 05:04 AM
I have the same problem. Tried ascii for easier debugging to confirm problem.
Did any one get passed this problem? Please share if you solved it.2011-05-17 05:04 AM
Do you have the STM3210C-EVAL (not a Keil / IAR / Olimex varient)? or something else?
I have the STM3210E-EVAL, plus several other STM32 custom board. I have applications using 3 USART without issue. You could try using a scope and confirming the data and bit timings. The most likely issue is with baud timings, or a mismatch in framing setting between the Tx and Rx devices. Using something like RealTerm might also be helpful, and orders of magnitude better than HyperTerm. Make sure the receive data is jumpered (JP16) to come from the RS232 connector, not the IRDA transceiver. And that the DCD pin (1) of the RS232 connector is not causing a Boot Loader Reset, and CTS pin (8) to BOOT0.2011-05-17 05:04 AM
Thanks for your feedback clive1.
Your feedback was excellent! Problem solved.
My hardware is: STM3210C-EVAL using IAR as my IDE.
2011-05-17 05:04 AM