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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/29/05 13:26
Read: times


 
#90586 - possibly this way
Responding to: ???'s previous message
I see a lot of discussion of PWM with the PCA. That, of course will not influence the frequency.
However, the PCA can be used to generate the frequencies as well. Set the compare to whatever count will generate the desired frequency, then, in the PCA ISR reset the counter and complement the output pin. This, of course gives no control over volume (unless you are extremely clever) but it does make the PCA the frequency generator.

anyhow for "fun with the PCA" see The PCA cookbook
http://www.intel.com/design/mc...270609.htm

It refers to an ancient derivative, but the modern PCAs (at least those I know of) are identical except for the clocking options.

Erik

List of 19 messages in thread
TopicAuthorDate
PWM generation using microcontroller            01/01/70 00:00      
   Whats your intention.            01/01/70 00:00      
      PWM generation using microcontroller            01/01/70 00:00      
         Freq. or duty cycle or both ?            01/01/70 00:00      
         PWM?            01/01/70 00:00      
            Amplitude?            01/01/70 00:00      
               Amplitude control by PWM            01/01/70 00:00      
                  I agree...            01/01/70 00:00      
                     Back to the question            01/01/70 00:00      
                     Remote hugging..            01/01/70 00:00      
                        Sorry guys...            01/01/70 00:00      
                           PWM generation using microcontroller            01/01/70 00:00      
                              Not at all!            01/01/70 00:00      
   Varying both frequency and duty cycle.            01/01/70 00:00      
   possibly this way            01/01/70 00:00      
      thanxs but..................            01/01/70 00:00      
         PWM and frequency            01/01/70 00:00      
            This thread is fuzzy because            01/01/70 00:00      
         Both frequency and amplitude? Yes!            01/01/70 00:00      

Back to Subject List