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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/04/02 19:13
Read: times


 
#21423 - 8052 UART settings question
Hi everybody!
thanks for help me in I2C procedures

I have one more question on UART baud rates on 8052 (I am working on AT89C55WD)
datasheet says:

(rcap2h,rcap2l)=65536-(osc.freq/(baud*32))

is that right?
so what I have to do to set a baud rate of 9600 with a 3.5716MHz cristal is:

mov SCON,#050h
mov T2CON,#030h
mov RCAP2H,#0FFh
mov RCAP2L,#0F4h
setb TR2

is it all right?

best regards,
teo.

List of 8 messages in thread
TopicAuthorDate
8052 UART settings question            01/01/70 00:00      
RE: 8052 UART settings question            01/01/70 00:00      
RE: 8052 UART settings question            01/01/70 00:00      
RE: 8052 UART settings question            01/01/70 00:00      
RE: 8052 UART settings question            01/01/70 00:00      
RE: 8052 UART settings question            01/01/70 00:00      
RE: 8052 UART settings question            01/01/70 00:00      
RE: 8052 UART settings question            01/01/70 00:00      

Back to Subject List