2024-12-04 06:26 AM - edited 2024-12-04 06:27 AM
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 ?
2024-12-04 07:35 AM
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.