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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/08/01 09:45
Read: times


 
#15520 - RE: Serial Port
Hi Jose,

try to use a terminal program (Hyperterminal) at first (8 bit, no handshake).

To verify, if on the 8051 the timer mode, timer reload value, uart mode, PCON are initialized right, you can use the following test routine.
It echoes back the received character + 1:

loop:
jnb ri, loop
clr ri
inc sbuf
sjmp loop

E.g. on sending 'A' it returns 'B'


Peter


List of 7 messages in thread
TopicAuthorDate
Serial Port            01/01/70 00:00      
RE: Serial Port            01/01/70 00:00      
RE: Serial Port            01/01/70 00:00      
RE: Serial Port            01/01/70 00:00      
RE: Serial Port            01/01/70 00:00      
RE: Serial Port            01/01/70 00:00      
RE: Serial Port            01/01/70 00:00      

Back to Subject List