>No, that's the graph I'm referring to. It's a straight line, but look
>at the digial values: they are not monotonic.
>
>If you replot it as described above you'll see two sections: one has
>xrange (0:61A8) and yrange (vref/2:vref), the second has xrange
>(9E58:FFFF) and yrange (0:vref). I'd try ascii art, but I know better :)
It looks monotonic to me.
The thing to notice is that this graph shows that the output is signed.
Zero counts is at vref/2. Voltages less than vref/2 are negative counts
and voltages greater than vref/2 are positive counts.
Or, to put it another way, -25000 is the lowest voltage (zero) and
+25000 is the highest voltage (vref). (more or less - the graph
shows that those limits are approximate. i.e. don't be shocked if
you see +25001.)
The easiest way to deal with this is to sign extend the value when you
pick it out of the ADC, then use ordinary scaling after that.
Mark S.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|