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.

CC2650 ADC sample code

Dear All:

I find adc sample code in TI-RTOS SDK:

about ADC project , adcsinglechannel.c is main

I want to know which pin is for ADC ? Because I don't see any pin define ADC?

  • Hi Tzuyu,

    Board_DIO23_ANALOG

    CC2650DK_7ID.c

    const ADCCC26XX_HWAttrs adcCC26xxHWAttrs[CC2650DK_7ID_ADCCOUNT] = {

      {

           .adcDIO = Board_DIO23_ANALOG,

           .adcCompBInput = ADC_COMPB_IN_AUXIO7,

           .refSource = ADCCC26XX_FIXED_REFERENCE,

           .samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,

           .inputScalingEnabled = true,

           .triggerSource = ADCCC26XX_TRIGGER_MANUAL

       },