Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 14309

DRV8908-Q1: PWM duty 255 is not 100% ON

$
0
0
Part Number: DRV8908-Q1

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?


Viewing all articles
Browse latest Browse all 14309

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>