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
Reply by Mike Dunn●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,
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 _____________________________________ Note: If you do a simple "reply"
with your email client, only the author of this message will receive your
answer. You need to do a "reply all" if you want your answer to be distributed
to the entire group.
_____________________________________ About
this discussion group: