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.

SRIO 6678



srio_cfg.blockEn.bLogic_Port_EN[0]= FALSE;
srio_cfg.blockEn.bLogic_Port_EN[1]= FALSE;

请问官方例程中这两行作用是什么,我要调成4X模式需要改他吗

  • port number和lane是有关系的。具体请看手册table 3-107
    The lowest numbered lane of the path used in a port is the port number as follows:
    • Lane A: port 0
    • Lane B: port 1
    • Lane C: port 2
    • Lane D: port 3
    For example, in the 2x+1x+1x configuration, the 2x port uses lanes A and B and is numbered port 0; the 1x ports use C and D respectively and so are numbered 2 and 3
    www.ti.com.cn/.../sprugw1c.pdf
    也可研究一下srio_identify_used_ports_lanes函数的配置。
    如果是 Mode 4: One independent 4x port in lanes {A,B,C,D}*/,修改为port0使能试一下。