2026-05-21 7:46 AM
Hello,
I have a device with a variable message stream in UART and there is the issue that I cannot know when it's stream ends due to gaps (so a single ReceiveIdle won't work). The device has clear framing via an interrupt so I use that.
The final system will have limited DMA channels so keeping a ReceiveIdle always set is wasteful.
As such there is the following workflow:
The issue is if this workflow is safe? Is there an issue arming DMAs on callbacks or IT on DMA callbacks?
Thank you