AnsweredAssumed Answered

Why PWM's with KV46F256VLL Not Working in Complementary Mode (Using MCUXpresso IDE) ?

Question asked by sandeep N on Aug 20, 2018
Latest reply on Aug 20, 2018 by Hui_Ma

I am trying to generate PWM to control PMSM Motor with three phase inverter.

Configuration for each of the PWM Module A is given below(Using eFlexPWM).

Sub Module 0 - Complementary PWM

                        Clock source - IPBus Clock

                        Local Reload

                        Full cycle reload

                        PWM Reload at every opportunity.

Sub Module 1 - Complementary PWM

                        Clock source - Sub Module 0 Clock

                        Master Reload

                        Master Sync

                        Full cycle reload

                        PWM Reload at every opportunity.

Sub Module 2 - Complementary PWM

                        Clock source - Sub Module 0 Clock

                        Master Reload

                        Master Sync

                        Full cycle reload

                        PWM Reload at every opportunity.

 

I am using ADC End of Conversion Interrupt(with PWM Sync for Triggering an ADC) to reload PWM Registers.

 

With Sub Module 0, If i make it as independent PWM Mode, I can see PWM on the Pins.

But same does not work with other modules.

 

I have been working with eFlex PWM from past 3 Years with DSC Series Controller and didn't find any problem to generate PWM for three phase inverter. But, The same couldn't work with Kinetis Controller MKV46F256VLL. Can anyone tell where i am going wrong?.

 

Any help is appreciable.          

Outcomes