Searching \ for 'Dual PWM's?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/pwm/index.htm?key=pwm
Search entire site for: 'Dual PWM's?'.

Truncated match.
PICList Thread
'Dual PWM's?'
2000\04\28@165622 by Jeffrey Siegel

flavicon
face
I'm using a PIC16F877 which has two CCP/PWM modules.  It seems like the
period for the PWM is set by timer2...does this mean that I can't have
different frequencies coming out of each PWM?


'Dual PWM's?'
2000\05\10@110451 by Wollenberg, Frank
flavicon
face
On Fri, 28 Apr 2000, Jeffrey Siegel [spam_OUTjeffrey.siegelTakeThisOuTspamactivecenter.com]
wrote

> I'm using a PIC16F877 which has two CCP/PWM modules.  It seems like the
> period for the PWM is set by timer2...does this mean that I can't have
> different frequencies coming out of each PWM?

Jeffrey,
both PWM outputs have the same frequency, because this is determined by PR2.
There are two registers CCPR1L and CCPR2L for the two PWM, so you can have
different duty cycles.
Look into the data sheet - section Capture/Compare/PWM-Module, subsection
PWM mode.
There's also an appnote AN594, which describes all the modes of the CCP
module in a very good way. Also it shows the interaction between the CCP's.

Frank

------------------------------------------
GSP Sprachtechnologie GmbH
Teltowkanalstr.1, 12247 Berlin
Tel.:  +49 (30) 769 929 - 78
Tel.:  +49 (30) 769 929 - 12

.....f.wollenbergKILLspamspam@spam@gsp-berlin.de
http://www.gsp-berlin.de

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...