hi
I want to setup 6 channel pwm module on dspic30f4011.
I need a sample code.
Its code is not like with a pic16 and pic18f series.
Please help me.
thanks
Ttelmah
Joined: 11 Mar 2010 Posts: 19515
Posted: Tue Oct 23, 2012 3:28 am
Be aware, that Microchip are very misleading in what they call 'channels'. They use 'channel' as a PWM output pin. This PIC _only_ has three PWM timing generators, and can only output three PWM signals at a time. The three signals can drive six pins.
Look at the example "EX_MOTOR_PWM.c", which shows how to setup this PWM.
In your case only pairs 1 to 3 can be used.
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