Forum Discussion

srinivasan's avatar
srinivasan
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

Pcie loopback in the end point

Hello sir,

I am using Arria 10 Pcie Hard IP in Arria 10 SOC development kit , Here I am configuring IP as Pcie root complex (Master FPGA) and need to acheive the loop back mode at the end point(other device). For that I need to configure the TS1 Loopback bit set in the root complex to enable loop back mode at the end point.

Here My query is how/where I need to set the TS1 loopback bit in the Pcie root complex design to enable loop back at the end point.So Please share me the Corresponding Registers and steps need to be followed in the Design. If possible please share the End point loop back and root complex reference design.

Regards,

Srinivasan.

14 Replies

  • KFPW_Intel's avatar
    KFPW_Intel
    Icon for New Contributor rankNew Contributor

    Hi,

    Thank you for your interest in Intel® SGX.

    We are here in Intel® SGX community forum and I believe you are looking for Arria 10 PCIE support. I am going to transfer the question to a correct community forum for more information.

    Allow us to refer to a correct team and the team will assist you and your question further. Thank you.

    Regards,

    Ken


  • srinivasan's avatar
    srinivasan
    Icon for Occasional Contributor rankOccasional Contributor

    Hello sir,

    Just tell how to access the TS1 loopback set bit in the rootcomplex design to enable the loopback at the end point...Pls send the configuration registers.

  • srinivasan's avatar
    srinivasan
    Icon for Occasional Contributor rankOccasional Contributor

    Thanks for the reply,

    Hello chuan,

    What you shared is correct, but I want to send the loopback configuration packet from the root complex design to end point.

    Please send the screenshot of the loopback register used in the implemented root complex design.

    Note: End point should be in loopback mode

  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    I wish to follow up with you about this case.

    Do you have any further questions on this matter ?

    ​​​​​​​Else I would like to have your permission to close this forum ticket

    Regards,

    Wincent_Intel


  • srinivasan's avatar
    srinivasan
    Icon for Occasional Contributor rankOccasional Contributor

    Hi,

    Finally, Please send the Configuration loopback register access RTL code for root complex design.

    Note: Not whole design, only configuration RTL code(Verilog/VHDL file).

  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    I wish to follow up with you about this case.

    Do you have any further questions on this matter ?

    ​​​​​​​Else I would like to have your permission to close this forum ticket

    Regards,

    Wincent_Intel


  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    If you are using JESD204B serial loopback, there are two ways to enable.

    1. there is a port in the IP interface, you can assert to enable the serial loopback mode.

    2. You can use the reconfig interface as you describe in the case, actually there is no base address, but you should use the reconfig avmm interface, not the JESD204B csr avmm interface, the address for each channel is 0x2000, so the first channel base address is 0x0, and the second address is 0x2000, third 0x4000, and so on.


    Hope this answer your question.

    Regards,

    Wincent_Intel


  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    I wish to follow up with you about this case.

    Do you have any further questions on this matter ?

    ​​​​​​​Else I would like to have your permission to close this forum ticket

    Regards,

    Wincent_Intel


  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi

    We have not hear from you and this Case is idling. It is not recommended to idle for too long.

    Therefore following our support policy, I have to put this case in close status. My apologies if any inconvenience cause

    Hence, This thread will be transitioned to community support.

    If you have a new question, feel free to open a new thread to get support from Intel experts.

    Otherwise, the community users will continue to help you on this thread. Thank you

    If you feel your support experience was less than a 9 or 10,

    please allow me to correct it before closing or let me know the cause so that I may improve your future support experience.

    Regards,

    Wincent_Intel