2019-06-30 10:23 AM
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.