We are working with the UCD3138 LLC EVM and its source code. In init_dpwms.c, all the PWMs have their min duty mode set to "2":
Dpwm0Regs.DPWMCTRL0.bit.MIN_DUTY_MODE = 2;
What this does is that, when the duty cycle goes under a threshold, it is kept just at that threshold.
However, for our supply, this will not work as well, so we would rather work in mode "1", which says, when the duty cycle goes under a threshold, the duty is forced down to "0".
However, when we build the firmware with that setting, when we go under the duty threshold, the IC is outputting HIGH from the PWM pin, instead of "0".
Any ideas what might be wrong?