PWM resolution
#1
Posted 17 October 2012 - 08:53 PM
#2
Posted 18 October 2012 - 09:03 PM
Does anyone know what the PWM resolution is when using 4.2? (Latest)?
I am using PWM at 10Khz and the minimum duty ratio I can get is 0.01. Which suggests that the PWM resolution is 100.
The ARM has a resolution of 16bit which is a good deal higher than the 7 bits I seem to be getting. This means when controlling LED brightness it goes from off to about 20% perceived brightness in one jump which is a bit rubbish really.
I'm using Microsoft.Spot.Hardware.PWM, am I doing something stupid? Would I get a better result by setting the period and the duration of the pulse?
I would have though this had already been posted but I couldn't find anything.
Really no-one know?
#3
Posted 18 October 2012 - 09:18 PM
#4
Posted 22 October 2012 - 07:37 PM
#5
Posted 24 October 2012 - 09:06 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users