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.

[参考译文] Linux/AM5728:从 A15访问 PRU UART

Guru**** 2616675 points

Other Parts Discussed in Thread: AM5728

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/661084/linux-am5728-pru-uart-access-from-a15

器件型号:AM5728

工具/软件:Linux

我们缺少 A15内核的 UART 端口、想知道我们是否可以使用来自 A15的 PRU 的 UART、

完成了以下帖子、

e2e.ti.com/.../2395167

我们根本不会使用 PRU、因此、如果根本不使用 PRU、UART 将如何计时。  

除了存储器映射之外、还必须执行哪些其他配置?

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

    Sivaram、您好!  

    TI 不提供从 A15内核直接控制 PRU UART 的驱动程序。 但是、您可以使用 PRU 中的固件来控制 UART、然后使用 RPMsg 等方法让 PRU 与 A15进行通信。 请注意、来自 UART 的中断将进入 PRU、因此 PRU 必须将这些中断传递到 A15。

    请参阅 AM335x PRU_Hardware_UART 示例、以在 git 存储库 或 Linux 处理器 SDK 中设置 UART 的 PRU 控制(例如、ti-processor-sdk-linux-am57xx-evm-04.02.00.09/example-applications/PRU-ICSS-5.1.0/examples/AM335x)。 您需要将该示例移植到 AM5728。 AM57x PRU_RPMsg_Interrupt 示例可能有用(请参阅 git 存储库 或 Linux 处理器 SDK 中的示例、例如 ti-processor-sdk-linux-am57xx-evm-04.02.00.09/example-applications/PRU-ICSS-5.1.0/examples/am57xx)。

    此致、  

    Nick