Bug? UART_DMA_callback not accessible when DMA not in circular-mode
Hi, I'm using CubeMX, Firmware STM32Cube_FW_F4_V1.24.2 with an STM32F411VET (DISCO). When I configure an UART for TX in DMA regular-mode (as opposed to circular-mode), the code in function
UART_DMATransmitCplt()
in file stm32f4xx_hal_uart.c at line 2540)
skips the callback function, if circular-mode is not set (see else in line 2557).
I believe this is a bug. If I'm using the code in a wrong way, please let me know.
I intend to send some data out, and when this is completed by the DMA in background, I want to set the gState to HAL_UART_STATE_READY in the huartx structure (because the driver doesn't do it by default). Only this way I can send more than once on the UART.
Greetings, Bernd
