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.
工具/软件: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实例。