Configuring DMA for ADC in SW?
Hello!
I am relatively new to embedded systems and particularly SW; mainly, I have been using STM32CubeIDE. Our current objective is to modify current code in SW to include DMA to sample an ADC pin and store into a circular buffer in memory. I have a working STM32CubeIDE project which does this, however Importing the project into SW doesn’t run, although the code compiles fine.
I have tried to go into STM32CubeMX to change the toolchain over to SW only to find the option removed from V6.6 onwards, so made a brief attempt with a makefile with no luck.
Since I am now trying to get DMA working on a fresh project, could someone explain to me with steps what is needed to correctly configure DMA for this purpose?
Many Thanks!
Sam