Skip to content

STM32F4XX HAL: stopping ADC DMA can incorrectly return error #4261

@davedesro

Description

@davedesro

Overview
HAL_ADC_Stop_DMA() can incorrectly return HAL_DMA_ERROR_NO_XFER and may not properly stop the DMA engine.

Target
stm32f4xx. I found this on the Nucleo_F446RE

other thoughts
If there is an abort request while DMA is not busy, should it really be considered an ERROR? Maybe instead it should just return HAL_OK. Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions