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.