Skip to main content
PChia.2237
Senior
March 2, 2022
Question

RTOS multiple uart

  • March 2, 2022
  • 1 reply
  • 579 views

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
Super User
March 2, 2022

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""."