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...
I don't believe you!
Check again at http://www.keil.com/c51/baudrate.asp - and note that you need to specify more than just the oscillator frequency and RCAP2...
And think about what settings could possibly change the speed by a factor of two...
Review the basics of the 8051/2 UART:
www.8052.com/tutser.phtml
http://www.8052.com/tut8052
But do you understand why you needed to do that?
Or, to put it the other way, why you were previously getting half the baud rate you wanted?
Again, you should probably review the basics of the 8051/2 UART:
If you don't understand these basics, then you will keep getting stuck in the same trap!