I am using pic18f87J90 which has four timers
is there any way I can get stable frequency from any?
in the ISR I use the foloowing instructions to go to the timer subroutines
btfsc INTCON,2
goto TMR0L_int
btfsc PIR1,0
goto TMR1_int ; yes
btfsc PIR1,1
goto TMR2_int
btfsc PIR2,1
goto TMR3_int
But the frequency just does not remain steady?
Is this the only way to access the timers?
What is the use of multiple timers in PIC if we cannot create steady
frequencies from each timer?
The time spent in executing one timer subroutine affects the other timer subroutines and hence no steady frequency.
is there any way out?
is there any way I can get stable frequency from any?
in the ISR I use the foloowing instructions to go to the timer subroutines
btfsc INTCON,2
goto TMR0L_int
btfsc PIR1,0
goto TMR1_int ; yes
btfsc PIR1,1
goto TMR2_int
btfsc PIR2,1
goto TMR3_int
But the frequency just does not remain steady?
Is this the only way to access the timers?
What is the use of multiple timers in PIC if we cannot create steady
frequencies from each timer?
The time spent in executing one timer subroutine affects the other timer subroutines and hence no steady frequency.
is there any way out?