Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

offset binary question

0 views
Skip to first unread message

Ray

unread,
Dec 30, 1998, 3:00:00 AM12/30/98
to
I'm trying to write data to D/A board, and the manual says ". . .the data
should be in offset binary code." I know that is fundamental, but I can't
remember it. Can someone either tell me how to convert shorts to "offset
binary" or point to Q/A etc where it might be discussed? Thanks much. Ray


Thomas

unread,
Dec 30, 1998, 3:00:00 AM12/30/98
to

Try: news:comp.arch.embedded

--
Thomas Matthews
email: mat...@stamps.stortek.com

Will Rose

unread,
Dec 31, 1998, 3:00:00 AM12/31/98
to
Ray (ra...@oregon.uroregon.edu) wrote:
: I'm trying to write data to D/A board, and the manual says ". . .the data
: should be in offset binary code." I know that is fundamental, but I can't
: remember it. Can someone either tell me how to convert shorts to "offset
: binary" or point to Q/A etc where it might be discussed? Thanks much. Ray

Subtract half the largest possible number to get the result. The
advantage is that 0 is the smallest output from the ADC, and 1111...
the largest. Note that 1000... is 0, and the MSB the sign.


Will
c...@crash.cts.com


0 new messages