/* Configure the path mode 4 for the ports */
CSL_SRIO_SetPLMPortPathControlMode(hSrio, 0, 4);
这是把SerDes的Lane配置成 mode 4,如果配置成configure 4下的mode 0,
调用哪个函数来完成设置?
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.
/* Configure the path mode 4 for the ports */
CSL_SRIO_SetPLMPortPathControlMode(hSrio, 0, 4);
这是把SerDes的Lane配置成 mode 4,如果配置成configure 4下的mode 0,
调用哪个函数来完成设置?
CSL_SRIO_SetPLMPortPathControlMode第二个参数是port number,第三个参数是pathmode。
configure 4下的mode 0就是1xLaneA_1xLaneB_1xLaneC_1xLaneD
pathmode为1,port number可为0/1/2/3
pathmode为1,configure1, configure 2 and configure4都有。
如果pahtmode=1,那么configure对应的是1, 还是2 ,还是4呢?
CSL_SRIO_GetPLMPortPathControl中有对pathconfig和pathmode的配置。
pathmode应该为0,pathconfig为3 配置了之后查一下 PLM Port(n) Path Control Register (PLM_SP(n)_PATH_CTL)寄存器是否正确。
