2022-05-30 02:27 AM
Problem with generating initialization code for ETH. After updating my project written in CubeIDE 1.8.0 and CubeH7 1.9.1 do Cube IDE 1.9.0 and CubeH7 1.10.0 Ethernet stopped working. After short investigation I find out that CubeMX does not generated HAL_ETH_MspInit, this is part where GPIO is configured. When I added missing functions from previous version everything start to work. I also tried to generate new project and it still miss HAL_ETH_MspInit.
Is it known issue?
Edit:
It happens also when I use CubeIDE 1.9.0 and CubeH7 1.9.1, so probably its CubeIDE problem.
Solved! Go to Solution.
2022-06-07 05:17 PM
PHY settings indeed are related to the ETH peripheral, not the lwIP stack!
2022-06-08 05:57 AM
Yes and no:). We can use diffrent PHY with same ETH configuration. PHY module can use the same pinout but can have different commands and registers so they will not work correctly.
The best solution is to keep this three parts independent ETH, PHY and Ethernet stack.
Tomasz