??? 03/24/05 07:00 Read: times |
#90323 - PWM generation using microcontroller Responding to: ???'s previous message |
Hello Prahlad,
I am not able to generate the audio frequencies of 250Hz,500Hz and 1Khz which i intend to generate. If I change the count of CCAP1H, only the volume changes. I have initialised the registers required for PWM as follows: 0D9H= #00H(CMOD: 1/6 OSCILLATOR FREQ.) 0DBH= #42H(CCAPM1:ECOM,PWM) 0FBH= #20H(CCAP1H) (Low Volume) = #7Fh(CCAP1h) (High Volume) I haven't initialised the CCAP1L since there is an auto reload from CCAP1H. Regards:) Sushil |
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 |