UART DMA Ring Buffer on STM32: Receiving Variable-Length Frames Without IDLE Interrupt
The IDLE line interrupt on STM32 triggers when the UART line goes idle after receiving. Combined with DMA circular mode, it gives you efficient variable-length frame reception.
The IDLE line interrupt on STM32 triggers when the UART line goes idle after receiving. Combined with DMA circular mode, it gives you efficient variable-length frame reception.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- uart
- dma
- stm32
- ring-buffer
- firmware
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.