Error in the library DSPIC33EP128MC202?
There is probably a bug in the 33EP128MC502.fcdx file
According to the datascheet, DSPIC33EP128MC202 has 3 PWM channels
The PWM component shows 4 channels: Channel 1, Chanel2, Chanel3, Chanel4
Which is incorrect?
I checked in V7 the same way.
I do not have the code yet.
I have a problem which channel to choose
In the data dspic33ep128mc202 there is information that there are 3 PWM channels .In the flowcode v7, v8 4PWM channels.
One is so fake, - which?
Attachments
capture_002_29062018_112824.jpg (72.55 KiB) Viewed 6903 times
It is written in technical data:
"High-Speed PWM
Up to Three PWM Pairs with Independent Timing
Dead Time for Rising and Falling Edges
7.14 ns PWM Resolution"
If there are 3 PWMs in dsPIC33EP128MC202 it is not possible to run 4 PWM
4 PWM generators are available only in dsPIC33FJ06GS001 / 101A and dsPIC33FJ09GS302A and that is why it is a bug.
I looked at your example.
I believe that it will not work on a real processor
Two years ago, I used this processor with the C code to start the clock at 140MHz and everything worked OK
If you enter Clock speed 8,000,000 Hz, all frequencies get very low. All interrupt and PWM frequencies are incorrectly calculated
This is very fast DSP has 70MIPS
If there is 6 PWM, why is there only 4 PWM in flowcodeV6, V7, V8?
PWM Pair means that each PWM can have two outputs. They can be controlled depending on the need. they may have identical or opposite phases, They may also have dead time
HI Guys.
take note FC does not support the advanced PWM module modes such as the Motor Control PWM module as in this dsPIC it is a MC chip it has the
Motor Control PWM module that allows for pairing PWM with different modes (example complementary) phase shifts and Dead Times.
it also extends to the Switch Mode power supply PWM modules which can have up to 12 pairs of PWM's
Flow Code PWM Component only supports the Standard PWM Mode /Module check your device in standard PWM mode how many pin are available as PWM and then check the component
There is no bug this is as it is at the moment with PWM on the advanced mcu's you can use the advance mode but use a C call and control the module with your own code