cancel
Showing results for 
Search instead for 
Did you mean: 

The ethernet of custom STM32F417VGT6 board can only work on 10Mbps?

Yang Yang
Associate II

Hello, ST experts

AR8031 Ethernet PHY works on STM32F417 custom board. MII interface is used here. When PHY works on normal mode at 10Mbps, everything looks fine. But when link speed is set to 100Mbps, the ethernet part can not work, HAL_ETH_GetReceivedFrame()get nothing.

So a further more work has been done about this problem. AR8031 is set to loopback mode on different speed. That means the control register at offset 0x0 is set to 0x6100 or 0x4100. Still 100Mbps is fine and 10Mbps get nothing. At this time only HAL_ETH_TransmitFrame() and HAL_ETH_GetReceivedFrame() are used for test. And I have measured ETH_RXDV pin, it functions well. When 256bytes data is sent to AR8031 at 100Mbps, it showes about 21us pulse, and 42us in the case of 512bytes data. Also ETH_RXCLK is 25MHz. I think they are all right. But HAL_ETH_GetReceivedFrame()still get nothing. What might be the problem?

Best Regards

Yang

1 REPLY 1
Yang Yang
Associate II

Hello

Is there any update on this thread?

BR

Yang