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 index duplicated

Part Number: CC1352P
Other Parts Discussed in Thread: SYSCONFIG

Tool/software: Code Composer Studio

We are using "simplelink_cc13x2_26x2_sdk_3_40_00_02" and CCS 9.3.0.00012 for sub1Ghz  product development.

Currently the development is on the CC1352P custom board..

board has 2 UART  connection.

When generating syscfg configuration, both UART has same 0 index, so opening UART fails.

*
* ======== UART ========
*/

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


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

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

  • Hi Amit,

    You may be confused by what UART and UART2 in SysConfig is. UART is the first version of the UART driver, while UART2 is the 2.0 version of the UART driver, not the UART1 peripheral (second peripheral).

    So, if you want to use both UART peripherals (UART0 and UART1), then you need to allocate either two UART instances or two UART2 instances.