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/CC3220MODA: how to add UART2 in AT_Command demo codes

Part Number: CC3220MODA
Other Parts Discussed in Thread: CC3220SF

Tool/software: Code Composer Studio

Hello Champs,

Customer needs to use another UART in CC3220MODA, would you please kindly help provide the guidance how to add UART2 function in below AT_Command demo codes?

C:\ti\simplelink_cc32xx_sdk_4_20_00_07\examples\rtos\CC3220SF_LAUNCHXL\demos\at_commands\tirtos\ccs

Thanks!

Best Regards,

Linda

  • Hi Linda,

    Please note that UART2 is the name of a driver that is a "UART 2.0" set of APIs. For example, instead of UART_read, the API would be UART2_read. UART2 is not a peripheral name.

    If the customer would like to add a second UART instance, they should add a second instance to the UART driver.

    The AT_commands example demonstrates UART functionality in uart_term.c. They also should see the TI Drivers API guide for documentation and code snippets.

    Best regards,

    Sarah