QHow does the sign-bit together with other 12-bit (Straight binary or
2-complement) to form a integral code?
AStraight 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
2-complement: if MSB is 0, the input is positive; if MSB is 1, the input is
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