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.

[参考译文] CCS/CC1352P:复制了 CC9/CC1352 syscfg UART2索引

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/887951/ccs-cc1352p-cc9-cc1352-syscfg-uart2-index-duplicated

器件型号:CC1352P
Thread 中讨论的其他器件: SysConfig

工具/软件:Code Composer Studio

我们将"simplelink_cc13x2_26x2_SDK_3_40_00_02"和 CCS 9.3.0.00012用于低于1Ghz 产品开发。

目前、该开发在 CC1352P 定制板上进行。

电路板具有2 个 UART 连接。

生成 syscfg 配置时、两个 UART 都具有相同的0索引、因此无法打开 UART。

*
*==== UART ====
*

/*
* TX:DIO13
* RX:DIO12
*
#define CONFIG_UART_0


/*
*==== UART2 ====
*

/*
* TX:DIO24
* RX:DIO19
*
#define CONFIG_UART2_0

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

    Amit、您好!

    您可能会对 SysConfig 中的 UART 和 UART2感到困惑。 UART 是 UART 驱动程序的第一个版本、而 UART2是 UART 驱动程序的2.0版本、而不是 UART1外设(第二个外设)。

    因此、如果您希望同时使用两个 UART 外设(UART0和 UART1)、则需要分配两个 UART 实例两个 UART2实例。