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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/17/07 22:35
Read: times


 
#145868 - Timer 2 in AT89C51RB2
I am used for my application timer 0 and timer 1 but because i want to in some points of my programm to communicate with HyperTerminal i want to use the timer2, i applied this with timer 1, but with timer 2 ,,without without result. I use crystal 11,0592MHz
For timer 1 there is an equation but...
i can not figure out from the manual an equation ,
does anyone, have used this timer with UART Comunication?
thanks for every suggestion

Also, i initialize the timer2:
MOV SCON,#50h ; Mode 1/Stop b/Rec en/x/x/Flags
MOV RCAP2H,#0FFh
MOV RCAP2L,#00H ; Reload value for 9600 Bd
MOV T2MOD,#00h ;
MOV BDRCON,#00h
MOV T2CON,#14h ;
SETB TI
CLR RI

List of 4 messages in thread
TopicAuthorDate
Timer 2 in AT89C51RB2            01/01/70 00:00      
   Check TCON2 setting            01/01/70 00:00      
   the easy way            01/01/70 00:00      
   Few Timer2 reload values            01/01/70 00:00      

Back to Subject List