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