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
解決済! 解決策の投稿を見る。
Hello,
Please refer to the reference manual for dead time insertion in eMIOS channels:
For example in this mode:
Best regards,
Peter
Hello,
Please refer to the reference manual for dead time insertion in eMIOS channels:
For example in this mode:
Best regards,
Peter
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.
Thank you very much!
Best Regards,
Emily
Hello,
From reference manual:
So you clock to pwm is not generated in case it is 0.
Best regards,
Peter