2019-03-21 01:07 PM
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?
2019-03-21 01:12 PM
Save time: for USART, use low layer (LL).
2019-03-21 01:30 PM
Makes a bit of a mockery of the HAL layer, but I suspect you're right.