cancel
Showing results for 
Search instead for 
Did you mean: 

How to use UART Fifo HAL library

Nero
Associate II

Hello,

 

I am using STM32U5G9ZJTxQ-DK2. I was wondering if the FiFo option from the UART can replace a ring buffer implementation ?

 

I couldn't find much information on the UART FIFO, most documentations and examples are referring to DMA FIFO used with UART IT.

 

If so, how should it be used to read and transmit byte to byte ?

 

 

1 REPLY 1
Pavel A.
Evangelist III

The UART FIFO does not replace a ring buffer, it is just a FIFO. Helps to avoid receiver overflows. Even can hold entire short messages.