hello everyone....my program transmits 'SAMPLE CODE' continuously on the uart...chip 'm using is p89v51rd2..the problem is nothing is being displayed on the hyperterminal...i checked the TXD pin on the scope,i can c pulses there...i've checked the serial cable,shorted pins 2 n 3,even that works fine....watelse could be the problem..??help me out...
'm sorry...but i didn't get u..
Then you do need to review those basics of the 8051/2 UART!
Look at all the things that affect the baud rate...
www.8052.com/tutser.phtml
http://www.8052.com/tut8052
See also: www.8052.com/.../120112
"'m sorry...but i didn't get u.."
What, exactly, do you try to tell with that sentence?
Exactly what didn't you get? Obviously not "u" since that is just the character following "t" in the alphabet.
If there are a sentence or paragraph you don't understand, then you must write a post where you clearly indicate which sentence/paragraph you have trouble understanding. We just can't guess what you might be thinking.
If playing with the linked baudrate calculator, you should also spend time looking through the documentation for the processor. There are lots of references available explaining exactly how the baudrate generator functions. What you can not do is just ignore parts of an expression that you don't understand. You must then dig deeper to try to find information explaining the concepts you have troubles with. Just ignoring something can sometimes _seem_ to be a working concept. Maybe, just maybe, code will work if you ignore if the processor runs with 6 or 12 clock cycles or setting of SMOD. But know understanding means that you are throwing a dice, just hoping that it will end up well.