Replies: 3 comments
-
@djiatsaf-st ^^ |
Beta Was this translation helpful? Give feedback.
-
Hello @msmttchr, |
Beta Was this translation helpful? Give feedback.
-
Update PR available #80921 |
Beta Was this translation helpful? Give feedback.
-
We are having trouble using some of the lower-end MCUs (STM32F0, G0 and C0) for some of our end-devices.
The MCUs in these devices must support a UART interface at sustained 500Kbps with no flow control.
We've noticed data loss when using Zephyr v3.7.0 UART driver with UART_ASYNC_API.
Using this configuration we have seen data loss when the DMA interrupts and attempts to restart the DMA with a new buffer.
We believe the cause of the data loss is because the current driver implementation doesn’t process data quickly enough.
Normally, STM32 supports circular dma buffer management with ability to have half full irq and full irq, so that software can read previous half while current half is being filled. In this case, no dma buffer setup is needed during reception, but I believe Zephyr drivers model does not support circular buffer.
Could you please suggest how to handle this use case?
Beta Was this translation helpful? Give feedback.
All reactions