Searching \ for '[PIC] PWM Output compare datasheet question' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/microchip/ios.htm?key=pwm
Search entire site for: 'PWM Output compare datasheet question'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] PWM Output compare datasheet question'
2009\02\23@105111 by Mark E. Skeels

picon face
Hello, List.

After a long hiatus using MSP430 I am considering a PIC for a new design.

I want a PIC24 with 4 PWM outputs.

Using Microchip's parametric search, I have a list on my browser
indicating PIC24H parts with quote "4 -std. PWM" unquote; one of which
is the PIC24HJ64GP202.

However, it appears that there are only 2 output compare I/O pins, OC1
and OC2.

So, effectively, I can only get 2 PWM channels outside of this PIC.......

Am I missing something? Or is this correct? If so, what is the reason
for 4 PWM if only two can get outside the PIC?

Thanks,
Mark


2009\02\23@112925 by Adam Field

flavicon
face
> So, effectively, I can only get 2 PWM channels outside of this PIC.......
>
> Am I missing something? Or is this correct? If so, what is the reason
> for 4 PWM if only two can get outside the PIC?

Going off the datasheet, you have four outputs. The peripherals are
mappable to different pins. See the output chart on page 130 detailing
OC1-4. And on page 165 you have the details of OCxCON 1-4, the output
control register. The PIC24H family reference has more information on
output compare modes.

2009\02\23@114953 by Mark E. Skeels

picon face
Thanks, I got it confused with the PIC24HJ32GP202.......

Mark

Adam Field wrote:
{Quote hidden}

2009\02\23@120845 by olin piclist

face picon face
Mark E. Skeels wrote:
> Using Microchip's parametric search, I have a list on my browser
> indicating PIC24H parts with quote "4 -std. PWM" unquote; one of which
> is the PIC24HJ64GP202.
>
> However, it appears that there are only 2 output compare I/O pins, OC1
> and OC2.

I haven't looked up that part, but Microchip has two separate PWM
peripherals for the dsPIC line.  The one that is more like the PWM module of
16 and 18 PICs is called "output compare", whereas the new fancy PWM module
is called PWM.  So they may be counting PWM modules, not output compare
modules.  Or perhaps they are lumping them together if this chip has 2 OC
and 2 PWM modules.

The parametric search has its uses, but there are sometimes errors.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

2009\02\23@130428 by Alan B. Pearce

face picon face
>I haven't looked up that part, but Microchip has two separate PWM
>peripherals for the dsPIC line.  The one that is more like the PWM
>module of 16 and 18 PICs is called "output compare", whereas the
>new fancy PWM module is called PWM.

Maybe on the 18 series, or dsPic series, but on the 24 series they call it
"Output Compare with Dedicated Timer". Section 35 of the family reference
manual. Similar for the Input Capture.

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