Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9702

CC13xx/ CC26xx ADC driver function return wrong value if ref is VDSS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • TI Device Drivers
    • TIDRIVERS-3868
    • 3.80.01
    • TIDRIVERS_5_10_00
    • Hide
      CC13x2
      CC26x2
      Show
      CC13x2 CC26x2

      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. 

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: