Search FAQs on the left to see if your question has been answered. Click on the dropdown to view all of the documents associated with the product. If you can't find your question, click on Ask a Question

Output code of AD7321

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.
Comments
Anonymous
Related