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

DP83867E: DP83867E

Part Number:DP83867EOther Parts Discussed in Thread:TDA4VM

TDA4VM DP83867 RGMII接口, pcblayout cable length RX(RD0、RD1、RD2、RD3、RXC):6500mil,TX(TD0、TD1、TD2、TD3、TXC):6000mil,

目前硬件板子上已经把 TX、RX延时全部改成0ns, k3-j721e-common-proc-board.dts 设备树里配置如下:

&wkup_pmx0 {
mcu_cpsw_pins_default: mcu-cpsw-pins-default {
pinctrl-single,pins = <
J721E_WKUP_IOPAD(0x0058, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
J721E_WKUP_IOPAD(0x005c, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */
J721E_WKUP_IOPAD(0x0060, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */
J721E_WKUP_IOPAD(0x0064, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */
J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */
J721E_WKUP_IOPAD(0x006c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */
J721E_WKUP_IOPAD(0x0078, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */
J721E_WKUP_IOPAD(0x007c, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */
J721E_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */
J721E_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */
J721E_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* MCU_RGMII1_TXC */
J721E_WKUP_IOPAD(0x0074, PIN_INPUT, 0) /* MCU_RGMII1_RXC */
>;
};

mcu_mdio_pins_default: mcu-mdio1-pins-default {
pinctrl-single,pins = <
J721E_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* MCU_MDIO0_MDC */
J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_MDIO0_MDIO */
>;
};
};

&mcu_cpsw {
pinctrl-names = "default";
pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
};

&cpsw_port1 {
phy-mode = "rgmii-rxid";
phy-handle = <&phy0>;
};

&davinci_mdio {
phy0: ethernet-phy@0 {
reg = <0>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_50_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
};
};

目前TDA4VM 作服务端, PC作客户端,iperf3 -c 192.168.1.205 -i 1 -t 20 -u -b 500M  测试丢包率小于0.1%

TDA4VM作客户端,PC作服务端,iperf3 -c 192.168.1.200 -i 1 -t 20 -u -b 500M 测试丢包率60%

使用iperf3 带宽测试时,-u -b 500M,RX基本不丢数据,TX丢数据明显,请问调整哪些参数可以降低TX丢数据?

Taylor:

您好

建议您到英文技术论坛进行提问,TI的工程师会解答您的问题。E2E英文:https://e2e.ti.com

赞(0)
未经允许不得转载:TI中文支持网 » DP83867E: DP83867E
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1