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 utility of local device IDs

Hello everyone ,


I'm testing SRIO on C6678, the plateforme i'm using contains two Dsps (C6678)
connected to each other using a switch.

To test the 16 local devices IDs that are implemented in this version of rapidio
I configured the TLM Port BRR's "Control Registers" and "Pattern match registers"
(4 ports x 4 BRRs), then i tested the the local device Ids by sending different transactions
with different IDs.

but My question is : I didn't really understand the Utility of the use of Local devices Ids ?
if someone can give me a concrete example ??
And what is the advantage of using 16 devices instead the version 1.3 of srio that use 1 local
device ?
Because i think if we just need to send to many Ids we can just use Multicast ?!!!

if someone can answer my questions to clarify this aspect I would be very grateful.

thank you ,waitting for your answer!

Regards ,
Asma

  • Hi Asma,

    As an endpoint device, the peripheral accepts packets based on the destination ID. There are two mode-selectable options for packet acceptance. The first option accepts only packets whose DestIDs match the local DeviceID. This provides a level of security. The second option is system multicast operation.

    The DeviceIDs in the BRR's contain the 16 deviceIDs that are local to the DSP. Any one of these IDs can be used in the SRCID field of an outgoing message. The DESTID of an outgoing message/packet can be set to anything, supporting connections to thousands of devices. This is done when programming the LSU for DirectIO traffic, or the TX descriptors for message traffic.

    The purpose of the BRR's is for accepting packets. There are modes for explicit checking of an incoming packet's DESTID versus the BRR contents. There are also modes where this check is ignored and any packet is accepted.

    Thanks,

  • Hi Ganapathi , 

    Thank you very much for your reply, I succeed  to use the  BRR routine registers and I configured with different IDs for each port but my question is : what is the purpose of using  different Ids for each port, is it for managing  the traffic? instead of using the same ID for all ports waiting for your response? 

    i can't understand what is the advantage of this solution compared to the use of the same IDs for all ports?? 

    Thank you ,waitting for your answer!

    Regards ,
    Asma

  • Hi Asma,

    yes, it is managing the traffic.

    Please see sections 2.3.12 and 2.3.13 in the sprugw1 user's guide.

    Thanks,

  • Hi Ganapathi ,

    Thanks for your help ,  your answers  helped me alot in solving the problem i had .

    Thanks again

    Regards,

    Asma

     

  • Hi Asma,

    Thanks for your reply.

    Thanks,