This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1310: Are the ADC gain calibration stay unchanged after Forced Mass Erase operations

Part Number: CC1310

Greetings to All.

I'm trying use ADC. VDDS value expected as 3.36, but ADC returns 3.16. 

0.2 Volts is much large than datasheet says (2 LSB). 

Once or twice I performed mass erase on this chip. May this fact be the reason of such inaccuracy?

I use simplelink_cc13x0_sdk_1_60_00_21

ADC HwAttrs:
.refSource                  = ADCCC26XX_FIXED_REFERENCE
.inputScalingEnabled = true
.returnAdjustedVal     = true

  • A mass erase will not affect calibration values stored as part of the production test.

    Do you do a ADC_convertRawToMicroVolts in your code as it's done in the ADC examples in the SDK? It's an additional scaling done in this function that could potentially adjust the error you are seeing.
  • Thank you, TER for your reply )

    I didnt use ADC_convertRawToMicroVolts directly, but I set in board description file flag .returnAdjustedVal = true
    I looked to the ADC driver code and saw that this conversion is applied, if this flag is set.

    Besides, I tried to reset this flag, and results become some worse.

    Looking deeper I saw, that ADC_convertToMicrovolts calls AUXADCValueToMicrovolts, wich ADC_convert doesn't call.

    May be this is the point, thank You!