AnsweredAssumed Answered

Is this a bug that STM32H743 HAL_ADC_Stop_DMA clears ADC_CFGR_DMNGT?

Question asked by Aaron Chang on Aug 21, 2017
Latest reply on Aug 23, 2017 by Amel N



    In the line 1760 of "stm32h7xx_hal_adc.c" in pack "STM32H7xx_DFP 1.0.1":


   /* Disable ADC DMA (ADC DMA configuration ADC_CFGR_DMNGT is kept) */




    The comment says "keep the DMNGT" while the code actually clears it.  Besides it doesn't make much sense to me that calling a "HAL_ADC_Stop_DMA" could change the initial configuration of ADC.


    Is this a bug?  Or "HAL_ADC_Stop_DMA" is not something I should call under normal condition?