This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART

Hi,

I'm using a Internal oscillator of 11059200 Hz and i set my desired baud rate.
When i'm going to test the serial communication with the application "hyperterminal" from windows, i can't receive the information i send correctly, just strange characters, and i can send information to my uC but just funny characters too. And this only "works" when the baud rate from hyperterminal is less than the baud rate defined in my uC.

How can i receive the correct information? The only guess i have is that the baud rate defined in uC isn't the baud rate 100% correct, maybe only 98%! But with the formula it should be correct.

Thank you!

Parents
  • As Drew said, check all of your baud rate settings. A quick way is to take your code into the debugger, break after your baudrate initialization and look at the uart peripheral dialog. You can modify the settings quickly and verify your baudrate.
    Also, remember hyperterminal default baudrate is 2400. Check your hyperterminal properties.

Reply
  • As Drew said, check all of your baud rate settings. A quick way is to take your code into the debugger, break after your baudrate initialization and look at the uart peripheral dialog. You can modify the settings quickly and verify your baudrate.
    Also, remember hyperterminal default baudrate is 2400. Check your hyperterminal properties.

Children