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.

CCS/LAUNCHXL-CC1312R1: sensor controller compb task malfunction when ADC task sampling multiple pins

Part Number: LAUNCHXL-CC1312R1

Tool/software: Code Composer Studio

Hi,

I have two task in sensor controller, ADC and COMPB, if ADC only sample one pin, the COMPB task works well, the event triggered at about > 2.4v and < 2.3v.

when I add 

// For each pin (with one entry per pin in cfg.pAdcValue[] and output.pAdcValue[]) ...
for (U16 n = 0; n < SENSOR_OUTPUT_COUNT; n++) {

    // Select ADC input
    adcSelectGpioInput(cfg.pAuxioASensorOutput[n]);

    // Sample the pin and store the ADC value
    adcGenManualTrigger();
    adcReadFifo(output.pAdcValue[n]);
}

the sampling multiple pins sample code of help of sensor controller studio to ADC task, the COMPB task works abnormal, which triggered at about 3.2v.

Is there anyother solution?

Thanks.