Skip to main content
SF??r
Associate III
May 21, 2019
Question

Bug: HAL UART driver lock should be independent for RX and TX functions

  • May 21, 2019
  • 0 replies
  • 523 views

Hi,

plainly I must realize that the LOCK macros are active in new HAL functions and return "silently " the BUSY state.

In the USART/UART driver there are only one lock flag but the TX and RX functions should work independently from each other. So sometimes a ISR call with for example HAL_UART_Receive_DMA fails with busy because the main thread code was into HAL_UART_Transmit_DMA.

Would be great to split this locks like the UART states in TX and RX!

Best regards

Basti

This topic has been closed for replies.