I'm using the DR8908 and I am writing the PWM_DUTY_CTRL registers to set my PWM duty cycle.
What I see on my oscilloscope is that when I write 255, the PWM duty is 99.6%.
The datasheet says 100% duty is 255 and gives the formula for duty as register value * 100% * 1/255.
My measurements suggest that it is actually 1/256. This is problematic because that would mean 255/256 is impossible and fully on is impossible.
A workaround is to disable PWM in software if the desired value is 100%, but I'd rather not take that route.
Can you verify my measurement and tell me whether the datasheet is wrong or not?