Multiple DMA operations on same channel with UART possible?
Hi,
first time using DMA so just reading various datasheets and posts. But something is not clear.
I would like to use DMA with UART to send large amount of data through the serial port while keeping the CPU as free as possible for other intensive tasks. So I am thinking of using HAL_UART_Transmit_DMA() but, because of the large amount of data that needs to be sent, I might need to call HAL_UART_Transmit_DMA() very often with the risk to it being called while the previous HAL_UART_Transmit_DMA() call/operation is still running.
Is there a way to somehow append - or perhaps automatically queue - the new data right at the moment I need to so the code can keep executing, instead of having to wait and check for when the current DMA action is completed (whether inline or through interrupts)?
Also is there a limit to the data size I can send with HAL_UART_Transmit_DMA() ?
Perhaps using two channels?
Thank you
