Skip to main content
IBeRyUS
Associate
June 30, 2019
Question

STM32H7 HAL_ADC_DMA_Start function's not working properly

  • June 30, 2019
  • 0 replies
  • 571 views

HAL_ADC_DMA_STOP() function stops and disables ADC resources. It also disables DMNGT bits to 00 value to prevent any extra DMA request during STOP process which is normal.

But HAL_ADC_DMA_Start() function doesn't set proper DMNGT bits back. They only set by ADC_Init() function. Start funtion can easily restore DMNGT bits by Init.ConversionDataManagement value. After Stopping and enabling ADC DMA I have to set DMNGT bits to DMA to have proper functionality.

This topic has been closed for replies.