Skip to main content
Nero
Associate
December 4, 2024
Question

How to use UART Fifo HAL library

  • December 4, 2024
  • 1 reply
  • 614 views

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 ?

 

 

This topic has been closed for replies.

1 reply

Pavel A.
December 4, 2024

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.