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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

624 Views
sandeepn
Contributor II

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.          

0 Kudos
1 Reply

485 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Could you check with below document, which using PWM sub-module in complementary mode.

https://community.nxp.com/docs/DOC-335308 

Wish it helps.


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos