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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/06/05 08:08
Read: times


 
#94382 - My code for use of timer2 in 89C52
Responding to: ???'s previous message
I hav tried to output 500kHz frequecy.
I hav written the code by reading datasheet of 89C52.
Plz guide me to make it appropriate.

.org 0000h
back: mov t2con,#0cch
mov r0,0c9h
mov @r0,#03
setb p1.1
clr p1.1
mov rcap2l,#0cah
mov rcap2h,#0ffh
mov r0,0c9h
mov @r0,#03
here: jnb t2con.7, here

sjmp back
.end

List of 6 messages in thread
TopicAuthorDate
help reqrd for usage of timer2 in 89C52            01/01/70 00:00      
   Code            01/01/70 00:00      
   Pulse?            01/01/70 00:00      
   Sample Code            01/01/70 00:00      
   My code for use of timer2 in 89C52            01/01/70 00:00      
      Comments            01/01/70 00:00      

Back to Subject List