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.

[参考译文] LAUNCHXL-CC1312R1:syscfg 中无 UART

Guru**** 2482105 points


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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1258261/launchxl-cc1312r1-no-uart-in-syscfg

器件型号:LAUNCHXL-CC1312R1

您好!

我不熟悉 CC13xx。
我从示例 rRfPacketRx 导入。
我正在尝试通过 UART 打印 Rx 数据包。

但是、syscfg 窗口中没有 UART 元素。
仅限 UART2。 我附加了捕获图像。

问题是什么?

Br
保罗

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

    UART2是 UART 驱动程序的名称、也是您应该使用的名称。  

    Siri

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

    谢谢
    我就在之前发现:)


    但是 #include 失败
    致命错误:"TI/drivers/uart.h"未找到文件"错误

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

    使用 UART2驱动程序时、您需要包括 UART2文件:

    #include <ti/drivers/UART2.h>

    SDK 中有多个使用此驱动程序的示例、因此可以将它们用作了解其工作原理的起点。

    uart2callback (TI.com)

    uart2echo (TI.com)

    Siri