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.

[参考译文] AM5748:在 U-boot 时启用 UART6 以配置 GPS 芯片

Guru**** 2463330 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1551924/am5748-enabling-uart6-at-u-boot-to-configure-gps-chip

部件号:AM5748


工具/软件:

您好、

我们正在 尝试使用 mw.b md.c 命令在 u-boot 时启用 UART6、 但时钟未启用

下面是我们用于启用时钟的地址

mw.b 0x4A005580 0x2         //将 0x2 写入 CM_IPU_UART6_CLKCTRL 寄存器

=> MD.b 0x4A005580 4.         //读取以检查天气模块是否已启用
4a005580: 02 00 03 00  

我们也尝试在 DTS 中添加 uart6 节点,但没有帮助

下面是我们执行的引脚多路复用
    {GPMC_A4、(M8 | PIN_INPUT)}、                                  /* uart6_RxD */
       {GPMC_A5、(M8 | PIN_OUTPUT )}、                                 /* uart6_TxD */
       {GPMC_A6、(M8 | PIN_OUTPUT)}、                                 /* uart6_CTSn */
       {GPMC_A7、(M8 | PIN_OUTPUT)}、                                 /* uart6_rtsn */

已使用 u-boot 版本:u-boot-2018.01

如果我们确实对 uart5 启用时钟 、 您能否解释为什么尤其是 UART6 模块不启用、并提供在 Uboot 阶段启用 UART 的详细过程。  

此致
Yashwanth

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

    您好:

    并请教 AM57xx 专家。 我们将在一天或两天内回复您。

    谢谢、
    Keerthy

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

    您好、Yashwant、

    您能告诉我您正在使用什么 SDK 吗?

    您在哪个文件中执行 pinmux?

    -Josue