This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM3356:具有 DMA 的 UART3

Guru**** 2038710 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1340425/am3356-uart3-with-dma

器件型号:AM3356

您好!

我的客户希望使用 DMA 进行 UART3传输。 操作系统是 SDK Linux。

q1)您能告诉我如何为 UART3启用 DMA 吗?
Q2) 具有 DMA 的 UART3能否支持高达1Mbsp?

谢谢。此致、
田代浩一郎

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tashiro-San:


    q1)您能告诉我如何为 UART3启用 DMA 吗?

    首先、我们需要从 TRM 获取 DMA 通道信息:

    -检查表11-25 (交叉开关映射)显示 UART3对 TX 使用交叉开关事件#7,对 RX 使用8;

    -检查表11-24(直接映射)是否有任何一对未使用的"打开"事件编号。 它们将用于 UART3的交叉开关配置。

    以下器件树示例显示了如何将 DMA 事件#34和#35用于 UART3:

     &uart3 {
           dmas = <&edma_xbar 34 0 7
                   &edma_xbar 35 0 8>;
           dma-names = "tx", "rx";
     };
    

    user6021594 said:
    Q2) 带 DMA 的 UART3支持高达1 MB 吗?

    是的、应该这样。