Skip to main content
PChia.2237
Senior
Mar 2, 2022 11:06 AM UTC
Question

RTOS multiple uart

Hello,

there is some solution for sending data over multiple uarts with RTOS,

because HAL_UART_Transmit,HAL_UART_Transmit_IT,HAL_UART_Transmit_DMA not send data in second uart. Still BUSY.

Thank you in advantages

This topic has been closed for replies.

1 reply

TDK
Mar 2, 2022 2:14 PM UTC

If it returns HAL_BUSY, the peripheral is still servicing the previous call. You will need to wait or implement a buffer to hold data until the peripheral is ready to send it out again.

"If you feel a post has answered your question, please click ""Accept as Solution""."