Hello, From my DSK6711's serial port I would like to drive a 12bit DAC. Is truncation by dropping LSB's the best way to convert 32bit words to 12bit? Is there anything I should consider when doing so? thnx!! chiko lee |
|
32bit to 12bit
Started by ●July 16, 2003
Reply by ●July 17, 20032003-07-17
Technically you could use whatever 12 bits that you want to - as long as
the software keeps them straight and matches the hardware. "As a
general rule", I would use the lower 12 bits and mask off the upper ones.
That way, when you look at a 12 bit value in a memory location or watch window,
it will map directly to the data sheet value to generate a specific
voltage.
just my opinion,
mikedunn
silver_sparrow <s...@yahoo.com> wrote: Hello, |