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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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. 

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2205 - CC13xx/ CC26xx ADC driver function ...
                SYNCHRONIZED
                • Last Sync Date: