2024-04-27 07:37 AM
Hi,
I am new to STM , I just cant use Multi Channel ADC to get data from 3 potentiometer, please anyone know what wrong?? I use Cube MX and code on Keil C
This is the debug
Thank you!!
2024-04-27 02:55 PM
The ADC returns 16-bit values, not 32-bit ones.
Not sure of the casting of the array to the DMA, but the array of values needs to be uint16_t adc_array[3]