|
|
View previous topic :: View next topic |
Author |
Message |
eng.mohamedtoumi
Joined: 13 Jan 2018 Posts: 23 Location: Tun
|
a MCU with 9 pwm channels |
Posted: Sat Jan 13, 2018 7:16 pm |
|
|
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: 9244 Location: Greensville,Ontario
|
|
Posted: Sat Jan 13, 2018 7:56 pm |
|
|
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
|
|
Posted: Sat Jan 13, 2018 8:22 pm |
|
|
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: 19541
|
|
Posted: Sun Jan 14, 2018 2:55 am |
|
|
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!. |
|
|
|
|
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
|