TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320C6678: 如何配置Configure 4下的Mode 0?

Part Number:TMS320C6678

/* Configure the path mode 4 for the ports */CSL_SRIO_SetPLMPortPathControlMode(hSrio, 0, 4);

这是把SerDes的Lane配置成 mode 4,如果配置成configure 4下的mode 0,

调用哪个函数来完成设置?

Nancy Wang:

CSL_SRIO_SetPLMPortPathControlMode第二个参数是port number,第三个参数是pathmode。

configure 4下的mode 0就是1xLaneA_1xLaneB_1xLaneC_1xLaneD

pathmode为1,port number可为0/1/2/3

,

Haiyang Ma:

pathmode为1,configure1, configure 2 and configure4都有。

如果pahtmode=1,那么configure对应的是1, 还是2 ,还是4呢?

,

Nancy Wang:

CSL_SRIO_GetPLMPortPathControl中有对pathconfig和pathmode的配置。

pathmode应该为0,pathconfig为3 配置了之后查一下 PLM Port(n) Path Control Register (PLM_SP(n)_PATH_CTL)寄存器是否正确。

赞(0)
未经允许不得转载:TI中文支持网 » TMS320C6678: 如何配置Configure 4下的Mode 0?
分享到: 更多 (0)