Priya
Newbie level 5
adc 2s complement
I have CS5550 ADC from cirrus logic. The output register is of the form
-(2^0) (2^-1) (2^-2) .......... (2^-23)
This is a 24-bit register. It is given in the datasheet that : These register contain the last value of the measured results of AIN1 and AIN2. The results will be within the range of -1.0 <= AIN1, AIN2 < 1.0. The value is represented in 2's complement notation, with the binary point place to the right of the MSB (MSB have a negative weighting. These values are 22 bits in length. The 2 least significant bits,(located at the far right-side) have no meaning, and will always have a value of "0". I use this ADC for weighing scale application. How can I use the output from ADC to calculate the weight? So far I dealt with ADC's which give output in binary coding and I can directly map into corresponding weight. I have no idea with the 2's complement form.
Help me.
I have CS5550 ADC from cirrus logic. The output register is of the form
-(2^0) (2^-1) (2^-2) .......... (2^-23)
This is a 24-bit register. It is given in the datasheet that : These register contain the last value of the measured results of AIN1 and AIN2. The results will be within the range of -1.0 <= AIN1, AIN2 < 1.0. The value is represented in 2's complement notation, with the binary point place to the right of the MSB (MSB have a negative weighting. These values are 22 bits in length. The 2 least significant bits,(located at the far right-side) have no meaning, and will always have a value of "0". I use this ADC for weighing scale application. How can I use the output from ADC to calculate the weight? So far I dealt with ADC's which give output in binary coding and I can directly map into corresponding weight. I have no idea with the 2's complement form.
Help me.