CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

a MCU with 9 pwm channels

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
eng.mohamedtoumi



Joined: 13 Jan 2018
Posts: 23
Location: Tun

View user's profile Send private message Visit poster's website

a MCU with 9 pwm channels
PostPosted: Sat Jan 13, 2018 7:16 pm     Reply with quote

Is there any MCU with 9 PWM channels? is there is please give me their reference ... thank you[/b]
temtronic



Joined: 01 Jul 2010
Posts: 9081
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Jan 13, 2018 7:56 pm     Reply with quote

PIC16C84 can be configured to have 9 PWM channels
BUT you need to supply MORE information !
What frequency or frequencies do you require ?
Fixed or variable.
PWM from 0-100% or fixed % points ?
if variable , what is the desired update rate?
resolution ? 4 bit,8 bit, 10, 12, 16, 24 bits ?
How are the data to be decided ? Preset or input ?
If input, via RS232 (serial), wireless, encoders, dip switches?
I believe CCS supplies an example in the examples folder..ex_patg.c.. it's a 'pattern generator'
I'm sure others can think of more points to ask, these are just some basic ones.
Jay
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jan 13, 2018 8:22 pm     Reply with quote

If you want hardware PWM channels, go to this Microchip page:
https://www.microchip.com/maps/microcontroller.aspx

1. At the top, in the CPU box, select the type of PIC that you want,
such as "8 bit PIC".

Wait a few seconds each time you change something, because it takes
time for the page to automatically reload with the results.

2. Go down to the Digital Peripherals section, and set PWM Chan = 9
in the left column. Don't touch the right-side column.

Wait for the page to reload. You'll see 16F1527 and 16F1526
in the box at the top right of the page.

The only problem is they are 64-pin TQFP and QFN packages.
If you're a hobbyist you may not want that.
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Sun Jan 14, 2018 2:55 am     Reply with quote

and, for 'larger' PIC's, almost any of the PIC24's etc..
These support 'output compare', rather than the simpler PWM, which can be configured to give PWM functionality, as well as CCP's. Many have this on almost every pin!.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group