2024-10-22 07:07 AM - last edited on 2024-10-22 07:11 AM by Andrew Neil
We have designed a boards, main board has STM32H742VGT6 and it is connected to Microchip PHY IC KSZ8091RNBCA in RMII Mode, Onboard Clock 25Mhz for PHY)
we have tried basic configuration such as enabled ETH, LWIP Stack.
we are using STM32CubeIDE 1.13.1 (Windows).Please suggest hardware setting and PHY IC Register setting.
2024-10-22 07:25 AM
The mostly used PHY on the STM32 evaluation boards is the LAN8742, so get the check driver for that one.
a) compare datasheets of LAN8742 and KSZ8091, mainly the MDIO registers and each bit.
b) copy and edit LAN8742 driver accordingly.
That shouldn't be too hard, unless the KSZ8091 is something very special. Or you already screwed it with the HW design... ;)
2024-10-22 07:49 AM
we already compared datasheet of LAN8742 and KSZ8091.MDIO register value are almost same for necessary registers.
Please suggest how to configure setting in .IOC file like CLOCK and Peripherals
what should be the memory address and PHY setting as it indicates it will work only when RAM is Pointing at 0x24000000(What does it mean).
2024-10-22 02:20 PM - edited 2024-10-22 02:20 PM
STM32H742 is a close relative of very popular STM32H743/753 so try to find and reuse example projects and tutorials for the latter MCUs. The internal SRAM and peripherals are same, only the flash is different IIRC.
2024-10-31 11:26 AM
Hi Pavel A
Can you please share the link of any use case.
2024-10-31 03:21 PM