cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE 1.9.0, and CubeH7 1.10.0 does not generate HAL_ETH_MspInit.

Sokolowski.Tomasz
Associate II

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.

11 REPLIES 11

PHY settings indeed are related to the ETH peripheral, not the lwIP stack!

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