F042 ADC DMA malfunction:?? I am using a Nucleo_F042k board but will target a F042F MCU later. I'm using DMA to set up 2 ADC channels + the 3 internal ADC values. Results : 1: 2146: 2: 1668: 3: 0: 4: 0: 5: 0. Only the first is verifiable.
I have probably missed something simple. I use CubeMx to Configure the A2D channels hadc.Instance = ADC1; hadc.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV1; hadc.Init.Resolution = ADC_RESOLUTION_12B; hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT; ...