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.

TMS320C6674 to SRIO switch communication using maintenance packets

Hi TI engineer,


We have 2 DSPs (TI processor that am using is TMS320C6674), 1 FPGA and an SRIO switch(CPS1432) on our board. In order to bring up the switch, we have done slight modifications to the TI DIO example code according to our board PLL configuration change, transfer mode(4x), we were able to the "PORT OK" bit getting set. We are operating the SRIO in normal mode only. In order to perform configuration of SRIO switch, we were trying to read DEVICE_ID register from SRIO switch using maintenance packet support. But we are not able to read a proper value. Always it is giving constant data as (0xc350). Even we tried to read different CAR registers of Switch from DSP, still we're receiving the same constant data.

And while reading SP(n)_ERR_DET register, "Protocol error" bit is getting set even before LSU transaction. So we tried to clear it by writing 0 to that field. But still after some time, again it is getting set.

We are directly accessing LSU register for maintenance transactions..!

Please help me in performing maintenance transaction to the Switch.

I would be glad to receive your response. Thanks in advance..!

  • Hi Mounika,

    Please take a look at MCSDK SRIO Throughput test code. It support external SRIO switch.

    MCSDK Path: C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\exampleProjects\SRIO_TputBenchmarkingTestProject

    Refer section "5.4 Single EVM looped back externally using an external SRIO switch" and "9.3 Setting up C-S-C connection mode (core to core, with a SRIO switch)" on SRIO_Benchmarking_Example_Code_Guide document.

    Doc Path: \ti\pdk_C6678_1_1_2_6\packages\ti\drv\srio\test\tput_benchmarking\docs\SRIO_Benchmarking_Example_Code_Guide.

    Thanks,