Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/24/03 04:04
Read: times


 
#37050 - transmit an \
Hi there.

I have been trying to send a character to hyper terminal from 8051.I have tried using an oscilloscope to test the signal on the rs232 cable. Indeed there's a signal which depicts an "A" in waveform. But I don't seem to see the A in hyper terminal. Settings were baud rate 9600, 7 bits, even , stop bit 1. flow control none. In fact I have done through combination of the setting.

Program goes like this.
ORG 0000H
JMP MAIN
ORG 100H

MAIN: MOV SCON,#50H ;Set serial mode
MOV TMOD,#20H ;Set baud rate to 9600
MOV TH1, #FDH
SETB TR1
MOV A,#41H ;Transmit character 'A'

TX: MOV SBUF,A
WAIT: JNB TI,WAIT
CLR TI
JMP TX
END

All Comments would be greatly appreciated.
Thankz in advance.


List of 10 messages in thread
TopicAuthorDate
transmit an \            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      
RE: transmit an            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      
RE: transmit an \            01/01/70 00:00      

Back to Subject List