Serial DMA for STM32H7#27633
Conversation
Make existing serial DMA more maintainable by using more HAL functions and HAL variables Added support for STM32H7
|
Everything looks reasonable and complete to me! If something was missed, we'll have to leave it to testers to discover it. |
I'm quite confident, I tested on hardware covering all code "paths" and compiled it for all STM32 platforms. It's not so far away from the previous version anyway. |
|
When I enable this in my SKR 3, the board locks in the startscreen with the Marlin logo. Is it incompatible with that port? |
|
It seems DMA works on SERIAL_PORT 1, but not in port 3. |
Description
Make the existing serial DMA more maintainable by using more HAL functions and HAL variables Added support for STM32H7
Requirements
This will benefit users with STM32H7 based boards. This is not only to improve performance, but in my case also solved serial data reliability issues where sometimes a serial byte was corrupted. Using DMA solved this issue.
Benefits
Lower MCU utilization, higher serial data transmission reliability
Configurations
Just enabled SERIAL_DMA in Configuration_Adv.h
Related Issues:
#27601
#27633