Monthly Archive: July 2017

STM32 tutorial: Efficiently receive UART data using DMA 22

STM32 tutorial: Efficiently receive UART data using DMA

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 it fast enough in order to get all bytes PROS Very...