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.