cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 USART1 problem!

hassan2399
Associate
Posted on May 13, 2010 at 12:04

STM32 USART1 problem!

1 REPLY 1
Posted on May 17, 2011 at 13:50

Use something like RealTerm, it is orders of magnitude better for this kind of application. http://realterm.sourceforge.net/

Check also how you are initializing, and incrementing RxBuffer and RxCounter.

Check also how you are NUL terminating the data in RxBuffer before you use puts() or printf(). If you fail to put a NUL character at the end of the buffer you might well see junk.

Post enough of your code for others to review/build.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..