cancel
Showing results for 
Search instead for 
Did you mean: 

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

SF??r
Associate III

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

0 REPLIES 0