KCC Quizzes AQQ303 about the radius of a circle
1. Quote of the month: "When I die, I want to die like my grandfather who died peacefully in his sleep. Not screaming like all the passengers in his car" - Will Rogers
2. Quiz AQQ304 about finding the radius of a circle
Good luck, and try to be
View All
August Monthly Blog Quiz! Read the blog, take the quiz, and you could win a gift card
Important: Read the blog first . The quiz questions are all based on the content of the blog:
Stay in the loop and win! Read the blog Current Output Driving Industrial Loops , then take our quick five-question quiz for a chance to win a gift card
View All
AD7770
Recommended for New Designs
The AD7770 is an 8-channel, simultaneous sampling ADC. Eight full sigma-delta (Σ-Δ) ADCs are on chip. The AD7770 provides a low input current to allow...
Datasheet
AD7770 on Analog.com
Hi
AD7770 ADC data can be read by the following table given in datasheet

Please let us know how can we calculate the ADC digital output code for the different voltage levels(2.1168V, 2.16V, 2.2032V)
As per our design we are external Vref of 3.3V
Please provide the digital output code for the full scale range of 3.3V
Thanks and Regards
Abishek V
Hi Abishek
The following function is the one I am currently using and it seems to work properly.
ref= value of the reference
raw_code= the 24bits data
voltage= pointer where the calculated voltage is stored.
void ad7771_data_to_voltage(double ref, uint32_t *raw_code, double *voltage)
{
if((*raw_code <= 0x7FFFFF) && (*raw_code >= 0x00))
{
*voltage = (double)(*raw_code * (ref/16777216.0));
}
else
{
*voltage = (double)((*raw_code * (ref/16777216.0))-ref);
}
}
This excel file will help you calculate the voltage. You only need to insert in the blue cell the value read from the ADC.
Regards
Joan