| ??? 03/04/99 11:45 Read: times |
#276 - Timer0 affected by Timer2 |
I am running a 8052 using serial port, to generate a frequency. Timer1 is used for the serial port. Timer2 is using the autoreload mode and Timer 0 as 16 bit counter. The problem is that i have to reload TH0 and TL0 everytime Timer0 overflows. The frequency on timer 0 is always below the expected value, when timer2 is on. When timer2 is off, the frequency is as required. How can i avoid the problem. Is it something to do with where i place the command mov TH0,#0FFh mov TL0,#33h. Thnx, i really need a accurate freq. |
| Topic | Author | Date |
| Timer0 affected by Timer2 | 01/01/70 00:00 | |
RE: Timer0 affected by Timer2 | 01/01/70 00:00 |



