Output code of AD7321

Document created by analog-archivist Employee on Feb 23, 2016
Version 1Show Document
  • View in full screen mode

How does the sign-bit together with other 12-bit (Straight binary or
2-complement) to form a integral code?

 

Straight binary & bi-polar :if MSB is 1, the input is positive; if MSB is 0,
the input is negative
Straight binary & uni-polar :if MSB is 1, the input is in upper half of the
selected range
2-complement: if MSB is 0, the input is positive; if MSB is 1, the input is
negative

When in differential mode the “no missing code” resolution is 13-bits.
When in single ended mode the “no missing code” resolution is 12-bits

The reading back results over the SPI port you should see the following
0b00arrrrrrrrrrrrr (13 r bits)
a is ADD0 and corresponds to the channel that the results is from.
13 bits rr.rrrr which contain the result, SIGN is always the MSB of the result
irrespective of the mode.
1 person found this helpful

Attachments

    Outcomes