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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/01/03 17:05
Read: times


 
#53806 - RE: PCA/PWM: only fixed freqs?
Responding to: ???'s previous message
Hi

You can produce other Frequencies with PCA in high speed mode. Exp. I use four PWM Outs at 20kHz @ 20MHz for this I program PCA 0 in Software timer mode to produce an Interrupt with highest priority.

Exp. 250x100nsec + 250x100nsec

what you have to do is recalulate PCA values for the next period in one interrupt period.

With this method you will only be able to produce PWM ratios of 5..45usec (with single channel) 10..40usec with 4 channels. But you can produce PWM OUtputs with 100nsec Frequency resolution

Werner



List of 13 messages in thread
TopicAuthorDate
PCA/PWM: only fixed freqs?            01/01/70 00:00      
   RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
      RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
   RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
      RE: PCA/PWM: Raghunathan            01/01/70 00:00      
         RE: PCA/PWM: Raghunathan            01/01/70 00:00      
            RE: PCA/PWM: Raghunathan            01/01/70 00:00      
   RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
   RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
      RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
         RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
            RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      
               RE: PCA/PWM: only fixed freqs?            01/01/70 00:00      

Back to Subject List