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.

Some question about SRIO link maintenance request

Other Parts Discussed in Thread: TMS320C6678

Hello,

         We try to communicate 2 TMS320C6678 by SRIO.Because there is some error in the link,we try to check the link by the use of link maintenance request,code as following:

         for(portnum=0;portnum<4;portnum++)

             CSL_SRIO_SendPort LinkMaintRequest(hSrio,portnum,3);

             while(CSL_SRIO_IsLinkResponseReceived(hSrio,portnum)!=TRUE);

              CSL_SRIO_GetLinkResponseStatusInfo(hSrio,portnum,&ackIdStatus,&linkStatus)

         We want to know 2 things:

         1.if link status is OK(0x10),if it means no link-level error,or link is OK?

         2.We know C6678 has 4 SRIO lane,and we configure the lane mode as one 4x port,so we can only check port0,aren't us?Or we need to check 4 ports?I'm not sure if 4 ports is corresponding to 4 lanes.

         Regards.