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

AM3352网卡DP83848 ping丢包

各位好:

  最近调试网卡这一块,网卡为dp83848,现在能连通,但是ping的时候丢包严重,各个寄存器打印如下,请帮忙分析下原因,谢谢

[    9.405404] MII_BMCR = 0X3100

[    9.408587] MII_PHYSID1 = 0X2000
[    9.412033] MII_PHYSID2 = 0X5c90
[    9.415477] MII_LPA = 0X41e1
[    9.418597] MII_EXPANSION = 0X7
[    9.421977] DP83848_ANNPTR = 0X2801
[    9.425682] DP83848_PHYSTS = 0X15
[    9.429257] DP83848_PHYCR = 0X8021
[    9.432898] DP83848_PHYRBR = 0X21
[    9.436347] MII_CTRL1000 = 0X21
[    9.439852] MII_BMSR = 0X786d
[    9.443297] MII_ADVERTISE = 0X1e1

[   11.393265] PHY: 0:01 – Link is Up – 100/Full

PING 192.168.0.30 (192.168.0.30): 56 data bytes
64 bytes from 192.168.0.30: seq=0 ttl=64 time=2.675 ms
64 bytes from 192.168.0.30: seq=1 ttl=64 time=0.485 ms
64 bytes from 192.168.0.30: seq=2 ttl=64 time=0.475 ms
64 bytes from 192.168.0.30: seq=3 ttl=64 time=0.438 ms
64 bytes from 192.168.0.30: seq=4 ttl=64 time=0.437 ms
64 bytes from 192.168.0.30: seq=5 ttl=64 time=0.486 ms
64 bytes from 192.168.0.30: seq=6 ttl=64 time=0.429 ms
64 bytes from 192.168.0.30: seq=7 ttl=64 time=0.446 ms
64 bytes from 192.168.0.30: seq=8 ttl=64 time=0.393 ms
64 bytes from 192.168.0.30: seq=9 ttl=64 time=0.405 ms
64 bytes from 192.168.0.30: seq=10 ttl=64 time=0.458 ms
64 bytes from 192.168.0.30: seq=15 ttl=64 time=0.421 ms
64 bytes from 192.168.0.30: seq=20 ttl=64 time=0.431 ms
64 bytes from 192.168.0.30: seq=21 ttl=64 time=0.460 ms
64 bytes from 192.168.0.30: seq=23 ttl=64 time=0.451 ms
64 bytes from 192.168.0.30: seq=25 ttl=64 time=0.449 ms
64 bytes from 192.168.0.30: seq=26 ttl=64 time=0.441 ms
64 bytes from 192.168.0.30: seq=27 ttl=64 time=0.463 ms
64 bytes from 192.168.0.30: seq=28 ttl=64 time=0.458 ms
64 bytes from 192.168.0.30: seq=29 ttl=64 time=0.616 ms
^C
— 192.168.0.30 ping statistics —
30 packets transmitted, 20 packets received, 33% packet loss
round-trip min/avg/max = 0.393/0.565/2.675 ms

Jian Zhou:

丢包问题一般和硬件电路有关,可以参考下DP83848的参考电路

David wang7:

回复 Jian Zhou:

我的电路图如下,能探测到100M网卡,但是ping不通。

但是我把图中的R1111去掉,将RMII_REFCLK直接接到50MHZ晶振的OUT引脚却能正常工作。请问这是怎么回事,按说83848的25MHZ_OUT引脚也是输出50M的。还有就是83848和RMII_REFCLK能共用一个晶振吗。谢谢

Jian Zhou:

回复 David wang7:

83848工作在RMII方式下,要外部加50M的low jitter时钟源的,请参考下面的文档:

http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/45981.aspx

赞(0)
未经允许不得转载:TI中文支持网 » AM3352网卡DP83848 ping丢包
分享到: 更多 (0)