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.

SRIO SWITCH

Hi,

       We were trying to configure the SRIO Switch for 2.5Gbaud. But we can able to configure only for 1.25Gbaud. 

       We can't able to perform the internal-loopback in C6678 through SRIO switch in c6678(REV-2.0). But we can able to perform the internal-loopback in C6678 through SRIO switch in c6678(REV-1.0). 

        Reference code for the SRIO Switch? 

Regards,

Avinash.N

  • Hello Avinash

     

    Have you looked at the Table 3-7 in the SRIO User Guide?

    http://www.ti.com/lit/ug/sprugw1b/sprugw1b.pdf

     

    If you are using the C6678, then you have a reference clock of 312.5 MHz so that means you need an MPY of 8 at a quarter rate.

    If you are doing a loopback from the C6678 to a switch, then you are doing an external loopback because the data leaves the C6678 SRIO SerDes, goes through the switch, and then returns back to the C6678.

    Did you change "CSL_SRIO_SetLoopbackMode(hSrio, 0); " to "CSL_SRIO_SetNormalMode(hSrio, 0); "? Set the DEST_ID of the packet the same as the C6678?

     

    Thanks

    Elush

  • Hi,

    1. Have you looked at the Table 3-7 in the SRIO User Guide?

    We were proceding according to the table 3-7in the SRIO user Guide.

    2. Did you change "CSL_SRIO_SetLoopbackMode(hSrio, 0); " to
    "CSL_SRIO_SetNormalMode(hSrio, 0); "?

    We change as mentioned above and checked, Still same problem.

    3. Set the DEST_ID of the packet the same as the C6678?
    We have set the in the same way as you mentioned.

    PROBLEM:

    The Reference clock for our Board is highleted in RED COLOR

    Port OK is set but Input Error and Ouput Error also set at the dsp and 
    switch side. We cleared those errors as mentioned in Software error 
    recovery procedure at both sides. But again same input and output error 
    bit are set.


    Regards,

    Avinash.N

  • 6406.TCI6678_8_Srio_v0.13.gelAvinash

     

    If you are using the C6678 (Nyquist Shannon), then the default reference clock is 312.5 MHz. How did you change the reference clock? Are you using an outside source to drive the SerDes clock?

     

    Which input and output error is set?

    I am attaching a GEL file to this post. A GEL file is a debugging tool used by the CCS to help the user catch any bugs. I assume you have the CCS v5.

    To use the GEL file:

    1. Enter into CCS Debug Mode (should be in the top right of CCS next to CCS Edit) and you have ran your program or paused your program. 2. Select Tools->GEL files 3. A GEL Files tab should open up 4. Right click in an entry under Script/Status table and select "Load Gel..." 5. Select the GEL file I have given you and wait for its status under the Script/Status table to turn to "Success". 6. Select Scripts and see all the different tests provided.

    I recommend running the SRIO Errors Scan (both physical and logical), LSU Status and Configuration Scans.

     

    Elush Shirazpour

  • Hi Elush

    Where can one get the latest 6678 SRIO gel files?

    Cheers

    Eddie