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.

RTOS/TMS320C6678: Need help about using SRIO on TMS320C6678 for beginners

Part Number: TMS320C6678

Tool/software: TI-RTOS

Hello

I am beginner in DSP programming and i need help about using SRIO on TMS320C6678.
I want to send and receive direct I/O packets (such as NREAD, SWRITE, ...), Message Passing packets and Maintenance packets.

I studied "RapidIO Specification" and "KeyStone Architecture Serial Rapid IO (SRIO)" documents.
Also, i installed "Code Composer Studio (CCS) v8.3.0" and "PROCESSOR-SDK-RTOS-C667x 05_03_00_07" on my system.

Unfortunately, i'm very confused to use SRIO driver correctly. Really, I do not know where to start.
Could you help me in this case and give me a general overview of the main steps to use SRIO for my design?

Best regards.

  • Hi,

    You can create the SRIO example projects as follows:
    cd ti/pdk_c667x_2_0_12/packages/
    source pdksetupenv.sh
    ./pdkProjectCreate C6678 all little srio all dsp

    This will create the following folder: ~/ti/pdk_c667x_2_0_12/packages/MyExampleProjects where SRIO example projects are located. You can import those in CCS and run them to see how SRIO works.

    You should also get familiar with the Processor SDK RTOS Software Developers Guide: software-dl.ti.com/.../index.html

    Best Regards,
    Yordan
  • Hi.

    At first, I shall thank you for your comment.

    I checked the folders on my system and found srio folder as follow:

    There are some folders and header files in the folder. 

    In the "Example" folder there are following folders:

    --------------------------------

    ---------------------------------

    ------------------------------

    ---------------------------------

    --------------------------------

    My questions are:

    1- Which of the above folders I should import to CCS? 

    2- It is needed to study "cppi_types", "qmss_types, "srio_osal", "srio_drv" header files in details? which of them are important?

    3- It is needed to run an operating system on target? Is it possible to use SRIO without operating system on target? which of the methods is easier?

    4- Is it possible to use SRIO on a single core on C6678 with 4Gbps?

    5- Is there any online solution to debug simple programs for people who do not have any board/device?  

    Thank you for your attention.

  • Hi,

    For questions 1 through 3 I mentioned how you can create the SRIO examples in my previous post. You should import the newly created folders in ~/ti/pdk_c667x_2_0_12/packages/MyExampleProjects. When you import a project in CCS you will see which header files are included and you should study those headers.

    4. See the SRIO user guide (www.ti.com/.../sprugw1c.pdf), section 1.2 RapidIO Feature Support in SRIO:
    Ability to run different ports at different baud rates(only integer multiple rates supported: 2.5 G and 5 G supported, 3.125G and 5G are not supported)
    Support for 1.25, 2.5, 3.125, and 5 Gbps rates

    5. No, you need a board with TMS320C6678 (TMDSEVM6678), TI RTOS & CCS.

    Best Regards,
    Yordan
  • Hi Yordan Kovachev.
    Thanks for your guidance.