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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/31/03 05:16
Read: times


 
#42594 - eliminating interrupt latency for PWM
I've been using a timer interrupt 0 to generate PWM signals. I'm running into a problem with not being able to generate low duty cycles because of interrupt latency. At very low duty cycles, I wanted to turn on the output, load timer 0 and wait for the timer to overflow, turn off the output and leave the interrupt routine.

I wasn't able to get this to work. I know that the TF0 flag doesn't work while you are in the interrupt service routine, but I was wondering if I could read the timer registers or use another timer.

Any suggestions approeciated.

Thanks.


List of 5 messages in thread
TopicAuthorDate
eliminating interrupt latency for PWM            01/01/70 00:00      
   RE: eliminating interrupt latency for PWM            01/01/70 00:00      
      RE: eliminating interrupt latency for PWM            01/01/70 00:00      
         RE: eliminating interrupt latency for PWM            01/01/70 00:00      
            RE: eliminating interrupt latency for PW            01/01/70 00:00      

Back to Subject List