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.

[参考译文] DP83869HM:无法在网络上建立通信。

Guru**** 2835675 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1606969/dp83869hm-unable-to-establish-communications-onto-network

器件型号: DP83869HM
主题: DP83869 中讨论的其他器件

我有一个与 DP83869 光纤连接的定制 PCB、无法在网络上建立任何通信。 我随附了原理图的屏幕截图。 以及器件树段。

 

image.png

sfp0: sfp {
		compatible = "sff,sfp";
		maximum-power-milliwatt = <2000>;
		i2c-bus = <&i2c3>;
};

&fec {
	status="okay";
	phy-handle = <&ethphy1>;
	phy-mode = "rgmii-id";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&pinctrl_fec>;
	pinctrl-1 = <&pinctrl_fec_sleep>;

	eth2_mdio: mdio {
		#address-cells = <1>;
		#size-cells = <0>;
		ethphy1: ethernet-phy@0 {
			compatible = "ethernet-phy-ieee802.3-c22","ethernet-phy-id2000.a0f1";
			device_type = "ethernet-phy";
			// interrupts not being processed correctly. using polling mode for now
			// interrupt-parent = <&gpio4>;
			// interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
			reg = <0>;
			sfp = <&sfp0>;
			ti,op-mode = <DP83869_RGMII_1000_BASE>;
		};
	};
};

我的系统能够识别 PHY 并识别载波:  
image.png

image.png

ethtool 输出:  
image.png

`IP A`输出

image.png

`ifconfig eth0`的输出

image.png

来自 ethtool 的 NIC 统计信息:

NIC statistics:
     tx_dropped: 0
     tx_packets: 164
     tx_broadcast: 48
     tx_multicast: 116
     tx_crc_errors: 0
     tx_undersize: 0
     tx_oversize: 0
     tx_fragment: 0
     tx_jabber: 0
     tx_collision: 0
     tx_64byte: 0
     tx_65to127byte: 97
     tx_128to255byte: 19
     tx_256to511byte: 48
     tx_512to1023byte: 0
     tx_1024to2047byte: 0
     tx_GTE2048byte: 0
     tx_octets: 29367
     IEEE_tx_drop: 0
     IEEE_tx_frame_ok: 164
     IEEE_tx_1col: 0
     IEEE_tx_mcol: 0
     IEEE_tx_def: 0
     IEEE_tx_lcol: 0
     IEEE_tx_excol: 0
     IEEE_tx_macerr: 0
     IEEE_tx_cserr: 0
     IEEE_tx_sqe: 0
     IEEE_tx_fdxfc: 0
     IEEE_tx_octets_ok: 29367
     rx_packets: 2772
     rx_broadcast: 1
     rx_multicast: 0
     rx_crc_errors: 2771
     rx_undersize: 0
     rx_oversize: 0
     rx_fragment: 0
     rx_jabber: 0
     rx_64byte: 633
     rx_65to127byte: 1977
     rx_128to255byte: 79
     rx_256to511byte: 83
     rx_512to1023byte: 0
     rx_1024to2047byte: 0
     rx_GTE2048byte: 0
     rx_octets: 268789
     IEEE_rx_drop: 0
     IEEE_rx_frame_ok: 1
     IEEE_rx_crc: 2771
     IEEE_rx_align: 0
     IEEE_rx_macerr: 0
     IEEE_rx_fdxfc: 0
     IEEE_rx_octets_ok: 64
     rx_xdp_redirect: 0
     rx_xdp_pass: 0
     rx_xdp_drop: 0
     rx_xdp_tx: 0
     rx_xdp_tx_errors: 0
     tx_xdp_xmit: 0
     tx_xdp_xmit_errors: 0
     rx_pp_alloc_fast: 756
     rx_pp_alloc_slow: 13
     rx_pp_alloc_slow_ho: 0
     rx_pp_alloc_empty: 13
     rx_pp_alloc_refill: 0
     rx_pp_alloc_waive: 0
     rx_pp_recycle_cached: 0
     rx_pp_recycle_cache_full: 0
     rx_pp_recycle_ring: 1
     rx_pp_recycle_ring_full: 0
     rx_pp_recycle_released_ref: 0

 

我怎么能在这里建立共鸣?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、  

    它像 PHY 有链路一样没有、可以发送数据包、但无法接收数据包。 通常、这是 RGMII 延迟不匹配导致的。 您是否为 RGMII 启用了 TX 和 RX CLK 延迟? 启用和调整 RGMII 上的 CLK 延迟通常可以解决该问题。 我建议通过研究寄存器 32h 来启用 RX 和 TX CLK 延迟并调整延迟参数。

    此致、

    j