2023-06-05 08:35 AM
Hi all,
I want to connect an STM32H573 device to a LAN8742A to create an Ethernet interface.
Is there any board hardware guidelines available for this ?
The LAN8742A is used in REF_CLK OUT mode (50 MHz clock output from the PHY routed to the RMII_REF_CLK input of the STM32).
When looking at the datasheet of LAN8742A, page 110 of the datasheet TX, TXEN setup time to rising edge of REFCLKO is 7.5ns minimum. (Tsu)
When looking at the datasheet of SMT32H753VI for rev V electrical characteristics Td(TXD) is 11ns maximum (transmit data valid delay time).
Then for a 50MHz clock (20ns clock period), the maximum propagation delay of REF_CLK_OUT from LAN8742A to STM32 + maximum propagation delay of TX data from STM32 to LAN8742A should be lower than : 20ns - 11ns -7.5ns = 1.5ns.
There is no information into STM32H753VI datasheet from RMII_REF_CLK rising edge and invalid TX data.
This information is needed to compute minimum propagation delay of REF_CLK_OUT from LAN8742A to STM32 + minimum propagation delay of TX data from STM32 to LAN8742A + minimum clock to invalid output (into STM32) . This value should be higher than 2ns (minimum hold time Thold of LAN8742A as per the datasheet).
Regards,
Philippe
2023-06-05 11:07 PM
Good question, sorry I have no answer...
But you could check ST's H7 dev boards how ST did the routing.
Although some of the Nucleo routing is terrible (mainly due to the many options ST wants to provide), the ETH stuff is working pretty good.
2023-06-07 07:45 AM
Hi @philippe26
The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.
Regards,
Billy
2023-12-13 03:24 AM
Hi,
Also interested in this topic, was there any solution?