2024-07-18 12:10 AM
Hello,
I am trying to do bare metal development, and the ETH uses the RGMII interface and the lwIP protocol stack. The routines I have found are mostly for M4 or M7, and the interfaces are all RMII. I tried to port lwIP from the STM32H7, but it's doesn't work. the hardware is right because the network is working when tested on the development board with Linux
2024-07-18 04:14 AM
HI @morthy
within STM32CubeMP13 delivery, you could find ETH IP driver
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP13_Package#HAL_drivers
There is also some NetXDuo examples provided.
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP13_Package#NetX_Duo_applications
with some help to migrate from LwIP.
https://wiki.st.com/stm32mpu/wiki/Introduction_to_NETXDUO#Migration_to_NetX_Duo
Porting LwIP is probably possible, but need some work on your side to really understand all the differences from STM32H7 (mostly around SYSCFG and clock config).
Regards.