??? 03/26/05 00:51 Read: times |
#90435 - Freq. or duty cycle or both ? Responding to: ???'s previous message |
Not sure if I follow your query.
If you want to generate fixed frequencies with a 50% duty cycle, then the easiest way would be to use Timer2 in the "Programable Clock out" . Read the data sheet for more details on this. The concerned equation is , Freq = (Oscillator Freq ) / ( n x (65536 - RCAP2H,RCAP2L)) where n=2 for a 6 clocker and 4 for a 12 clocker. I am not clear where did PWM enter the picture. Raghu |
Topic | Author | Date |
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 |