Other Parts Discussed in Thread: AM5728
工具/软件:Linux
我们缺少 A15内核的 UART 端口、想知道我们是否可以使用来自 A15的 PRU 的 UART、
完成了以下帖子、
我们根本不会使用 PRU、因此、如果根本不使用 PRU、UART 将如何计时。
除了存储器映射之外、还必须执行哪些其他配置?
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.
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