Insert deadtime for PWM generated by eMIOS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Insert deadtime for PWM generated by eMIOS

ソリューションへジャンプ
235件の閲覧回数
EmilyZhou8
Contributor III

Hi,

I am finding documents about inserting deadtime for PWM generated by eMIOS of MPC5XXX. I only found  the document AN4658 mentioning about PWM deadtime on page 10. Is there any document with demo about inserting deadtime for PWM using eMIOS? 

Thank you very much!

Emily

0 件の賞賛
返信
1 解決策
219件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Please refer to the reference manual for dead time insertion in eMIOS channels:

petervlna_0-1718613648613.png

For example in this mode:

petervlna_1-1718613682193.png

Best regards,

Peter

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
220件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Please refer to the reference manual for dead time insertion in eMIOS channels:

petervlna_0-1718613648613.png

For example in this mode:

petervlna_1-1718613682193.png

Best regards,

Peter

 

 

0 件の賞賛
返信
211件の閲覧回数
EmilyZhou8
Contributor III

Hi Peter,

Thank you for your reply which helps a lot. I did successfully use OPWMC mode to generate PWM with dead time. But I don't understand why I should add "EMIOS.CH[1].CCR.B.UCPREN = 1; /* Enable prescaler; uses default divide by 1 */", or else PWM won't be generated. I attached my code blow.

EmilyZhou8_1-1718719502180.png

 

Thank you very much!

Best Regards,

Emily

 

0 件の賞賛
返信
188件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

From reference manual:

petervlna_0-1718866975980.png

So you clock to pwm is not generated in case it is 0.

Best regards,

Peter

0 件の賞賛
返信
184件の閲覧回数
EmilyZhou8
Contributor III
Thanks a lot
0 件の賞賛
返信