2022-05-20 06:24 AM
Hi All,
I'm a long time user/developer of STM32 micros (on STM32IDE) but until now have managed to avoid anything ethernet. However, I couldn't avoid it forever and work have tasked me with a fairly urgent project.
I plan to design a custom board around the STM32H742 (which I have a few of from another project) coupled with an ethernet PHY running FreeRTOS (which I have some experience in) and LWIP. My original design used the LAN8742 (which is listed in the LWIP platfrom settings), but these aren't available until the middle/end of next year which doesn't meet the project timescales. So I need to find something else.
My question is:- If only the LAN8742 is listed in the LWIP platform settings, is it possible to use/configure a different PHY in CUBEMX/CUBEIDE? STM32CUBEIDE also tells me that it will select the LAN8742 as default if there is only one device listed (which there is), so how would/can I get around that?
Any help would/pointers would be very much appreciated at this point.
Kind regards,
Peter
2022-05-20 04:52 PM
Adapt there registers and bit fields for your PHY:
And also...
2022-05-23 04:53 PM