2016-02-26 04:54 AM
There should be two functions:
HAL_ADC_Start_DMA()HAL_ADC_Start_DMA_IT()If i want to use adc with dma i normaly dont want to use interrupts. But HAL_ADC_Start_DMA calls HAL_DMA_Start_IT() instead of HAL_DMA_Start(). #stm32-hal-adc-dma2016-03-07 09:07 AM
Hi haas.christian,
We suggest to use __HAL_DMA_DISABLE_IT interface to disable the interrupt of DMA if you don't want to use it/* ### Disable DMA interrupts not used */
__HAL_DMA_DISABLE_IT(AdcHandle.DMA_Handle, DMA_IT_TC | DMA_IT_HT);
-Syrine-