Re: How to enable DMA transfers for UART?
Li, Jun R
Hi Stefan and Erwan, I’m rebasing my previous implementations to the latest master branch and you can find it here: https://github.com/zephyrproject-rtos/zephyr/pull/14916 I’m still working on it since it is still lacking a couple of things and there are some bugs affecting RX. But the basic idea is to use UART IDLE to define the end of a RX DMA transaction.
If you think it is worth keeping going, let’s work together to make it happen.
Best Regards, Jun
From: Erwan Gouriou <erwan.gouriou@...>
Hi Stefan,
On Tue, 26 Mar 2019 at 13:01, Stefan Jaritz <stefan@...> wrote:
Thanks for sharing code and experience, this is useful!
Indeed, we should have a proper DMA driver that could be called from other drivers.
While I agree DMA has numerous benefits, I don't think this should be the only configuration, nor the default one. Main issue is initial complexity and configuration needs. People should be able to use the async API first and then enable DMA once they feel comfortable with the API.
Erwan
|
|