Question
Multi channel ADC with DMA in circular mode using CubeMX and HAL, how do I use the half transfer complete and transfer complete callbacks?
Posted on June 29, 2018 at 03:03
I am using the STM32F091. I have been trying to use the ADC with DMA in circular mode writing to a large array for use as a sort of double buffer by shifting the first half of the values out on the half transfer complete callback the the other half on the transfer complete callback. However the documentation is super vague on what these callbacks are called and how they should be used.
Anybody know what these callbacks are called? How would I use them in my main to run code on a
half transfer and transfer complete interrupt?
