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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/23/00 16:42
Read: times


 
#2833 - Use RS232 without Timer 1 on 80535
I use the Nmix-0016 card with the monitor.
I like to send to RS232 some data every 3 seconds.
So I configured the Timer1(I have add the code for using the interrupt with the monitor)
I 'd like to configure Baud Rate with the bit BD of ADCON register but nothing happends.
(The caracters which appear are not this I send)



But if I use the Timer 1 to control Baud rate of the serial , all is OK.

So, I show you my config:

....
....
....
mov PCON,#80h
orl scon,#40h
mov ADCON,#80h


mov th1,#06h
mov tl1,#06h

mov ip0,#08h
mov ip1,#08h

mov tmod,#20h
mov tcon,#0C0h
mov ien0,#88h

.....


.....

Please, could you help me, or send me a example which use, Timer 1 for something and BD for baud rate for the serial RS232.

Thank you very much


List of 2 messages in thread
TopicAuthorDate
Use RS232 without Timer 1 on 80535            01/01/70 00:00      
RE: Use RS232 without Timer 1 on 80535            01/01/70 00:00      

Back to Subject List