James Richard Tyrer wrote:
To directly implement a 3 level (actually pseudo-3-level), you take only
the two most significant and generate the following:
11 ffffff
10 800000
01 7fffff
00 000000
Or, you can add another bit and have everything 25 bit by adding a LSB
of 0 to the input so that you have "0".
11 1fffffe
10 0ffffff
01 0ffffff
11 0000001
I don't really know if this would make a significant improvement. But
this would probably be better since the PWM needs an even number for
input and we would probably have to use 32 bit adders anyway.
--
JRT
_______________________________________________
Open-hardware mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-hardware