-
Bug
-
Resolution: Fixed
-
Medium
-
TI Device Drivers
-
TIDRIVERS-3868
-
3.80.01
-
TIDRIVERS_5_10_00
-
Test: Run adcsinglechannel example on CC1310. If changing the reference to:
.refSource = ADCCC26XX_VDDS_REFERENCE,
the function ADC_convertRawToMicroVolts return wrong value. The reason is that the function call:
AUXADCValueToMicrovolts((hwAttrs->inputScalingEnabled ? AUXADC_FIXED_REF_VOLTAGE_NORMAL : AUXADC_FIXED_REF_VOLTAGE_UNSCALED), adjustedValue);
does not take into consideration what the reference is set to. To get correct value out from this function the first parameter has to be the VDDS value on the board this function is used.