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.

TMS320C6678: RETRY/ERROR/DONE response when receiving SRIO DoorBell packet

Part Number: TMS320C6678

Hi,

My customer want to clarify about the responses back to SRIO linked pair when C6678 is receiving DoorBell packets.

C6678 SRIO defines the following responses for incoming DoorBell request:
- DONE response, this is typical response
- ERROR, this indicates error response 
- RETRY, the packet is not accepted, so SRIO asks linked pair to send the packet again

My customer wants to know if C6678 SRIO IP generates the above responses *automatically*, or, SW is responsible to initiate the response intentionally. Could you please comment ? Also, what is the condition to generate ERROR and RETRY responses in C6678 SRIO IP ? I could not find the related statement in SRIO UG.

Best Regards,
NK

  • The team is notified. They will post their feedback directly here.

    BR
    Tsvetolin Shulev
  • Hi Naoki,

    The DONE, ERROR and RETRY responses are the control symbols of Packet-accepted, Packet-not-accepted and Packet-retry initiated by SRIO IP. You can find the details including the "condition to generate ERROR and RETRY responses" in Chapter 4 Control Symbol Formats, from RapidIO™ Interconnect Specification, Part 4: Physical Layer 8/16 LP-LVDS Specification (part4.pdf - www.rapidio.org/.../ 6XN Gen2)

    Regards,
    Garret
  • Hi Garret,

    Thanks for responding on this. Now the customer wants to know the exact reason why SRIO IP could return RETRY responses. From my understanding, MAU handles incoming DoorBell packets to generate interrupts on local cores. The all incoming packets would be pushed into RX FIFO at first and MAU pops some if those types are regarded as DoorBell. Could you take a look at the following picture ? This is a snippet from SRIO User Guide:

    Because RETRY response seems to be automatically handled by SRIO IP on C6678 (In other words, these are handled before generating interrupts), I`m wondering the main reason would be RX FIFO is full for replying RETRY response. Is my understanding correct ?

    Best Regards,
    NK

  • Hi,

    Do you have any response on this ?

    Best Regards,
    NK
  • Sorry to push you, but my customer is waiting for your reply. Thank you in advance.

    Best Regards,
    NK

  • NK,

    Sorry for the late response. I was traveling for Embedded World last week.

    Yes, your understanding is correct. From the SRIO Spec:

    4.2.2 Packet-Retry Control Symbol

    A packet-retry acknowledgment control symbol indicates that the adjacent device in

    the interconnect fabric was not able to accept the packet due to some temporary

    resource conflict such as insufficient buffering and the source should retransmit the

    packet

    Regards, Garrett