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 23:33
Modified:
  10/17/07 23:39

Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#145870 - Check TCON2 setting
Responding to: ???'s previous message
MOV T2CON,#14h


Don't you have to enable the transmit and receive clock together with this device when using Timer2? My guess is you should be setting TCON2 this way:

MOV T2CON,#34h

This is only a hint (there may be other problems). I would suggest that you have another read of the Serial I/O and TCON2 register set on pages 47 - 52 of the datasheet.



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