2019-08-28 01:23 AM
2019-08-28 01:34 AM
> It is enable ADC DMA interruption by default in the STM32CubeHAL library, why did you do that?
Perhaps because the complexity of Cube's code generator is already over the head of their coders, and they use a shotgun approach to handle all possible / imagineable use cases ?
> I do not need the ADC DMA interruption, what should I do?
Edit the generated code according your needs, or drop Cube/HAL alltogether.
I did the latter, and do not use or service any Cube-generated code.
2019-08-28 05:47 PM
Hello,
Thank you for helping me!
It is not Cube-generated code. It is a part of STM32 HAL library in "HAL_ADC_Start_DMA()" function.