This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM33-SDK: PMW management issue when duty cycle request is 0%

Part Number: MSPM33-SDK
Other Parts Discussed in Thread: SYSCONFIG

Hello,

I come back on topic :

MSPM33C321A-Q1: reccomandations on API to use for PWM managing 0-100% - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

The PWM management is correct, except when the duty cycle requested is 0%.

Let me explain you

At first (after µc reset), the duty cycle requested is 0%:

DL_TimerG_setCaptureCompareValue(PWM_INST, u32compareValue, DL_TIMER_CC_1_INDEX);
with u32compareValue = 0
 
 
After, I set PWM with duty cycle different of 0
with u32compareValue = 2334    (for example)
 
And now, the duty cycle is set to 0, with u32compareValue = 0
 
As you can see, the signal is not at 0 everytime, the duration is arround 120ns
 
Could you tell me how to fix this issue ?
 
Thanks