DMA registers are not set correctly on STM32L052K8T6 Hello, I want to use the DMA to shift data from 9 ADC Channels into an Array. The problem is that I set up the ADC and the DMA in CubeMX. But the Registers of the DMA are not set correctly.
My CubeMX Setup:
DMA:
ADC:
ADC NVIC:
After I had done this, I generated the
Code and Started the ADC and the DMA with the HAL_ADC_Start_DMA function. The
function Started the ADC as I wanted, but the Registers of the DMA are not set
Correctly.
The DMA register, which is not set correctly:
I assumed that the CIRC and the MINC bit should be set, and also the PSIZE should be 0x01 and MSIZE 0x02. Have I done something wrong or what is happening?
If you need some more Information, just say it and I will upload it as fast as possible.