Hi NXP Community,
I am looking for some clarification regarding the PWM-X deadtime correction feature.
From the documentation, I understand that PWM-X can modify the PWM pulses based on the current/load condition. However, I am not clear about how the PWM pattern is generated and how the required feedback signal is connected and routed.
In my application, the switches and current-sensing circuitry are external to the MCU:
Is the sensed current signal expected to be connected directly to an MCU pin?
Or should it first go through LPCMP and then be internally routed to PWM-X through TRGMUX or another internal connection?
What is the expected signal path and configuration for this feature?
I have attached an image from the NXP reference design/documentation showing the slightly decaying output waveform obtained across the load.
What I am particularly trying to understand is the PWM pulse pattern used to generate this waveform.
The waveform shown in the reference design is the resulting waveform at the load/power stage. However, the PWM signal generated by the MCU will pass through the gate driver and switching stage, so the PWM signal itself will not have the same shape as the waveform shown.
PWM-X generated pulses → gate driver/power stage → resulting waveform across the load
Specifically, I would like to understand how PWM-X determines the pulse width/duty cycle and timing required to obtain the shown output waveform, including how the deadtime correction is applied.
Is there any reference design, application note, example code, or reference software where this PWM-X feature is implemented? An example showing the PWM configuration, pulse pattern, pin configuration, internal signal routing, and required external circuitry would be very helpful.
I also have a question regarding FlexPWM synchronization.
Can the synchronization signal be generated internally by another peripheral, or does it have to originate from an external MCU pin?
For example, can a signal generated by eMIOS be internally routed to the FlexPWM synchronization input?
Any example or clarification regarding the internal routing/configuration would be very helpful.
Thanks in advance.
Best regards,
Ganesh