iMX8MP eqos not working for 10base-t

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8MP eqos not working for 10base-t

260 Views
rbeims
Contributor III

Hello,

Since we introduced the Verdin iMX8MP SoM, we knew that the 10base-t speed wasn't working on the ethernet port that's included in the SoM. This ethernet port is connected to the eqos MAC and we include a KSZ9131 PHY. At first, we thought this would be a software bug, but even the latest upstream kernel (currently .17-rc1) still presents the same issue.

On a web search I found this thread: https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-ethernet-eqos-ksz9131-can-link-but-ping-fail-at...

 

In the solution, they mention that the reason for the failure is the fact that the KSZ9131 removes the preamble bytes, which it does. However, the Errata ERR050694 states (emphasis mine):

"However due to the defect, in configurations where frame preemption is enabled, when preamble byte does not precede the SFD, SMD-S, or SMD-C byte, the received packet is discarded by the MAC receiver"

I checked, and could only find that frame preemption is enabled when using the traffic shaping utilities, so no frame preemption enabled by default. 

Could someone confirm that the Errata ERR050694 applies even when frame preemption is disabled? 

0 Kudos
Reply
2 Replies

71 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

According to the IP experts, when the PHY removes the preamble, EQOS discards the packet. The PHY must be configured to send the preamble.

It was revealed by Microchip that there is a reserved bit (register 0x11, bit 2 is marked read-only in the datasheet) that prevents the preamble removal in 10Mbps mode, allowing this to work.

Regards

0 Kudos
Reply

26 Views
rbeims
Contributor III

Thank you for your response!

I verified that after setting bit 2 in register 0x11, data started flowing in 10BaseT mode.

0 Kudos
Reply