2025-10-19 6:40 PM
I use STM32Cube FW_N6 V1.2.0 to create an FW to run a web server on the DK board. I figured out that I can not talk to the PHY chip to read the PHY ID. I compared the code with another example that ST released and figured out that these lanes are missing on HAL_ETH_MspInit
__HAL_RCC_ETH1MAC_CLK_ENABLE();
__HAL_RCC_ETH1RX_CLK_ENABLE();
__HAL_RCC_ETH1TX_CLK_ENABLE();
after adding this to my MSPInit function problem was solved!
I wonder if this is a bug in this package or if I need to set it in the CubeMX settings?