MaJerle / stm32-usart-uart-dma-rx-tx

STM32 examples for USART using DMA for efficient RX and TX transmission
MIT License
1.3k stars 323 forks source link

STM32H5 serial has FIFO mechanism, can you please update this new kind of method to article in addition? #40

Open ZeguangCai opened 2 months ago

ZeguangCai commented 2 months ago

Hi MaJerle! What a nice article!Thanks for your contribution. I am now disturbed by new feature of STM32H5's UART FIFO. image I'd like to know FIFO mechanism is suit for which kind of application.Can we use FIFO to replace DMA? Best wishes!

MaJerle commented 2 months ago

You can always use FIFO which allows you to store up to some amount of data (btw, this is not new feature in H5, many other STM32s have this feature), but it does not replace the DMA. You still have to manually ready data from receive buffer, just that receive buffer can hold more bytes.