Tagged: usart idle

STM32 tutorial: Efficiently receive UART data using DMA 23

STM32 tutorial: Efficiently receive UART data using DMA

Latest updates and examples are available at my official Github repository. STM32 + UART + DMA RX + unknown length This repository may give you information about how to read data on UART by using DMA when number of bytes to receive is not known in advance. In STM32 microcontroller family, U(S)ART reception can work in different modes: Polling mode (no DMA, no IRQ): Application must poll for status bits to check if new character has been received and read...