Question: ECE 2 0 4 9 Homework # 4 Analog - to - Digital Conversion and the ADC 1 2 1 ) With the ADC 1
ECE Homework # AnalogtoDigital Conversion and the ADC
With the ADCA as configured below, for each analog input list, the specific
values of the following, given that the external reference voltage V eRefV
i Fullscale range, ii Resolution, iii. Dynamic Range
iv Input Channel v Memory output register
unsigned int value value value;
REFCTL & ~REFMSTR;
ADCCTL ADCSHT ADCSHT ADCREFON
ADCON ADCMSC;
ADCCTL ADCCSTARTADD ADCSHP;
PSEL BIT;
PSEL BIT;
ADCMCTL ADCSREF ADCINCH;
ADCMCTL ADCSREF ADCINCH;
ADCMCTL ADCSREF ADCINCH ADCEOS;
ADCCTLADCSCADCENC;
while ADCCTL & ADCBUSY
nooperation;
value ADCMEM & xFFF;
value ADCMEM & xFFF;
value ADCMEM & xFFF;
b What is the code value in value for the default voltage on that input channel? What is
the voltage value on the corresponding analog input if valuex What is the code
value in value if the voltage on the corresponding input is V
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
