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.

CC1350如何实现多通道连续采样

在buf例程中设置四通道但是只能得到第一个通道的结果

int q;
for(q=0;q<3;q++)
{
    /* Configure the conversion struct */
    continuousConversion[q].arg = NULL;
    continuousConversion[q].adcChannel = Board_ADCBUF0CHANNEL0;
    continuousConversion[q].sampleBuffer = sampleBufferOne;
    continuousConversion[q].sampleBufferTwo = sampleBufferTwo;
    continuousConversion[q].samplesRequestedCount = ADCBUFFERSIZE/4;
    if (adcBuf == NULL){
        /* ADCBuf failed to open. */
        while(1);
    }
    /* Start converting. */
    if (ADCBuf_convert(adcBuf, &continuousConversion[4], 4) !=
        ADCBuf_STATUS_SUCCESS) {
        /* Did not start conversion process correctly. */
        while(1);
    }
}