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.

[FAQ] 66AK2H12: UART Example project for K2H family devices

Part Number: 66AK2H12

Explain the Code, Hardware configuration, and Implementation of the UART example project in K2E family devices?

  • To run the UART example for K2H devices make sure the pre-requisites are present.

    1. Install CCS (,
    2. TI RTOS SDK
      1. For K2H: Install PROCESSOR-SDK-RTOS-K2HK  (Version: 06_03_00_106, ),
    3. Generate the Example projects for PDK,
      1. For K2H: (

    Now, Import the CCS project into CCS and go on

    1. To Import the project goto File -> Import -> "CCS projects" in "C/C++" -> Browse "Select Search-directory". make sure to uncheck the "Copy Projects into Workspace" (This is to avoid compilation errors only If TI-RTOS SDK was installed in a different location than "C:\ti\").
      1. we have the following DSP example projects
        1. UART_BasicExample_K2H_c66xDMATestProject,
        2. UART_BasicExample_K2H_c66xExampleProject,
        3. UART_BasicExample_K2H_c66xTestProject.
      2. we have the following ARM example projects
        1. UART_BasicExample_K2H_armDMATestProject,
        2. UART_BasicExample_K2H_armExampleProject,
        3. UART_BasicExample_K2H_armTestProject.
      3. Do not open ARM and DSP examples at the same time, CCS will throw project out-of-sync error dialog.
      4. In this FAQ, "UART_BasicExample_K2H_c66xExampleProject" is explained here.
    2. For Hardware connections,
      1. we can connect through RS232Serial cable(with 4 PIN header) received along with EVM to COM1 (mentioned in EVM) and through Mini USB connecting through J1 (Other mini USB port (J3) used by Onboard Debug Emulator).
      2. There will be two mini USB ports available for UART in the "Device Manager" section in "Windows OS" (CP2105 chipset, refer to device manager image for reference)
        1. The Port with the lowest number is the UART port.
        2. The Port with the highest number is BMC port.
      3. UART configuration used in these projects were "8N1"(Data Bit = 8, Parity = None and Stop bit = 1) and baud rate "115200". 
      4. Please refer UART project video.
      5. For other UART driver definitions
        1. Driver APIs: "{TI_RTOS_K2H_INSTALLATION}/pdk_k2hk_4_0_16/packages/ti/drv/uart/docs/doxygen/html/files.html"
        2. CSL APIs: "{TI_RTOS_K2H_INSTALLATION}/pdk_k2hk_4_0_16/packages/ti/csl/docs/doxygen/html/group___c_s_l___u_a_r_t.html"

    Thanks & regards,

    Rajarajan U