Hi,
I'm having trouble using the duty cycle on the PWM modules.
Im running on the PWM, channel D HI.
I'm running the PWM at 25kHz and the default duty cycle of 50% (when setting duty0 and duty1 to 0 on assymetric mode) comes out correct.
Similarly when I calculate the duty cycle for 0-50% it works as the duty0 and duty1 are positive. As soon as these are negative, it doesn't work. I cannot get 50%-100% duty cycle.
Please could someone clarify how to use the function: adi_pwm_setoutputdutycycle ?
Thanks,
Ben