• about timer2
    hello every one: in my system,I use the AT89c52 mcu, but I start the system ,the system often reset,who can tell me that how to use the P1_0,P1_1 about the timer2? thanks at first
  • Timer2 interrupt
    Hello, I'm currently writing code to decode RC5/6 signals. Therefore, I'm using Timer2 of a 8032 processor because of its very convenient time measurement capabilities. The Timer2 is set in the Capture...
  • Timer2 in Capture Mode
    I tried to use Timer2 in Capture Mode, I have to measure frequency from 8 to 10 KHz. I used the following code but no way to work. To set Timer2 T2CON=9; T2MOD=0; TL2=0; TH2=0; RCAP2L=0; RCAP2H...
  • Timer2 - Printf function
    Hi, Sorry for the mistake. Here is the question again: I need to use 89C52 timer2 counter function. However, when I use the timer2, I cannot use printf function to debug my program, that is,...
  • 89S52 TIMER2 INTERRPT PRIORITY
    HELLO EVERYONE, I AM USING 89S52,WHEN I WRITE ANY INTERRUPT PRIORITY LIKE, (SERIAL) PS, (TIMER0) PT0, TIMER2 (PT2), SHOWS ERROR. I WANT TO USE TIMER2 FOR .5 SEC COUNT AS A HIGH INTERRUPY PRIORITY. ...