Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
I am currently using the TMS570LC4357 and implementing the ETPWM output function.
I have generated initialization code via HALCoGen to produce two 20 kHz PWM pulses. I found that the PWM waveform becomes discontinuous when the duty cycle is below 10% (as shown in Figure 1); the waveform returns to normal only when the CMP register value reaches 375 (as shown in Figure 2).


The waveform was captured with an oscilloscope, and the ARM output pin is in a floating state, so the influence of the subsequent circuit can be ruled out.
All other functions are disabled in the software. After initializing the ePWM module, the program runs in an empty while(1) loop.
How to resolve the issue of abnormal low-duty-cycle output on this microcontroller?