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.

How to Use SRIO Maintenance Transection read destination's REG

Other Parts Discussed in Thread: TMS320C6678

i have all the config ready 

I can communicate between DSP with Nwrite \ Request \ doorbell type .

.apart from that  i also can access switch's REG to change the router  by maintenance  package type ,

but how to access other DSP's REG to  get status of other DSP.

such  as the  interrupt flag bit? 

and i use c6638.

  • Hi,

    Are you trying to configure the switch registers on SRIO maintenance transaction? Refer SRIO user guide document for SRIO maintenance transaction.

    When accessing RapidIO defined memory mapped register within an external device, RapidIO allows 4 bytes, 8 bytes, or any multiple of a double-word access (up to 64 bytes) for type 8 (maintenance) packets. The peripheral only supports 4-byte accesses as the target, but can generate all sizes of request packets. RapidIO is defined as big-endian only, and has double-word aligned big-endian packet payloads.

    Thanks,

  • I have succeed in configuring switch router by Maintenance packets

    and now I want to access the DSP's status Reg (like DOORBELL_n InterruptConditionStatusRegister(DOORBELL[0-3]_ICSR)
    )
    could i use Maintenance type to access these Reg filed in dest DSP?
  • Yes, you can access these Reg field.
    Note: Accesses to the DSP Control/Status Registers are valid only from the DSP. Accesses to these registers are not allowed by an external PE through RapidIO maintenance transactions.

    Thanks,
  • Hi,

    We wanted to access SRIO switch registers from DSP (TMS320C6678). Is there any example codes to perform maintainence read/write

    operation? 

    If yes, Kindly share the code.

    Regards,

    S.Sivanantham

  • Hi,
    Now we are able to read srio switch registers. But when we perform write followed by read the switch register gives previous register value vice versa works fine. If we perform dummy maintainence write and then issue a maintainence write works fine.

    Is there anything else need to be taken care for maintainence read and write?

    Regards,
    S.Sivanantham
  • Hi,
    I try to communicate between DSP and FPGA by maintenance read/write, but don't understand how to do it. If you have work code of maintenance operation, can you share it?

    With regards,
    Vladimir