2025-05-16 2:57 AM
I have a custom board that uses STM32F746VGT6 MCU and 1894K-33LF Ethernet IC. I have an old STM32CubeIDE project that allows to configure Ethernet parameters (such as duplex mode, speed, autonegotiation) from internal MX configurator. Generating new code with MX changes the libraries to newer version that differ significantly in how Ethernet and PHY are initialised. Also it's not possible to configure as many Ethernet parameters as before.
How to configure external Ethernet PHY with newer libraries?
2025-05-16 3:37 AM
There are many external PHYs (some of them are even multi-port bridges or switches) so it is not reasonable to configure a PHY in the GUI. Just replace the generated PHY code to your own. "Drivers" for some PHYs are on the github:
https://github.com/STMicroelectronics/stm32-lan8742
https://github.com/STMicroelectronics/stm32-rtl8211
Here you can find more help for adapting you project to a custom PHY.