We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!
Hi, Yes in simulation mode, my program works fine and the serial window works fine, but when i switch to Cygnal uVision DLL and test in the hardware its not that simple! I saw a commom method of generating the baud rate, but only works with the pre-defined frequencys, like 24500000/8 /4 /2 /1, but when i choose a frequency like 22150684 close to the 22118400, the formula doesnt give the right TH1, so i had to try different values with the help of comwatch application to see if i were close! Now i have my problem resolved, but thank you anyway. By the way i use the C51 v7.07 and S8051.dll v2.4 too! Cya!