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-CC26X2R1: Sampling multiple ADC channels at 100 Hz

Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: BOOSTXL-EDUMKII, SYSCONFIG

Tool/software: Code Composer Studio

Hello,

I'm working with the launchpad LAUNCHXL-CC26x2R1 Rev. C

I need to sample the accelerometer of the development kit BOOSTXL-EDUMKII Educational Booster Pack. So I have to configure 3 continuous ADC channels at 100 Hz. When I open the first one everything works:

    /* Start converting. */
    if (ADCBuf_convert(adcBuf, &continuousConversion, 1) !=
        ADCBuf_STATUS_SUCCESS) {
        /* Did not start conversion process correctly. */
        while(1);
    }

But opening the second and third one, they doesn't start:


    /* Start converting. */
    if (ADCBuf_convert(adcBuf, &continuousConversion2, 1) !=
        ADCBuf_STATUS_SUCCESS) {
        /* Did not start conversion process correctly. */
        while(1);
    }
    /* Start converting. */
    if (ADCBuf_convert(adcBuf, &continuousConversion3, 1) !=
        ADCBuf_STATUS_SUCCESS) {
        /* Did not start conversion process correctly. */
        while(1);
    }


I would like to know also if there are a library to write on the LCD SPI.

Thank you,

Best regards

Sebastian