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
已解决! 转到解答。
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