[SimpleLink MSP432E4 SDK-> SimpleLink Academy-> TI Drivers-> ADC Simulatenous Sampling] shows how to use two ADCs.
I thought I did the same, but the second ADCBuf_open () function returns NULL.
adc.adc_handle [0] = ADCBuf_open (ADCBUF0, & adcBufParams); // OK
adc.adc_handle [1] = ADCBuf_open (ADCBUF1, & adcBufParams); // returns NULL
I thought I did the same, but the second ADCBuf_open () function returns NULL.
adc.adc_handle [0] = ADCBuf_open (ADCBUF0, & adcBufParams); // OK
adc.adc_handle [1] = ADCBuf_open (ADCBUF1, & adcBufParams); // returns NULL
If the "Enable Timer" option of the ADCBUF is checked, the two ADCs must use the same timer, as shown below.
So I set the same timer (Timer4) for Trigger Source Timer of ADCBUF0 and ADCBUF1 as shown below.
However, as shown in the figure below, you will see a warning that Timer4 is a duplicate.
Is this normal?
So I set the same timer (Timer4) for Trigger Source Timer of ADCBUF0 and ADCBUF1 as shown below.
However, as shown in the figure below, you will see a warning that Timer4 is a duplicate.
Is this normal?