cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_UART_Receive_IT usage

Alexmouse
Senior

I'm having trouble understanding correct usage of the HAL UART functions to receive incoming bytes. The function assumes you know the byte count in advance. I would expect a receive function to respond to receive buffer full,empty and maybe half full flags? How to use the UART HAL layer functions to receive indeterminate incoming data?

2 REPLIES 2
S.Ma
Principal

Save time: for USART, use low layer (LL).

Alexmouse
Senior

Makes a bit of a mockery of the HAL layer, but I suspect you're right.