cancel
Showing results for 
Search instead for 
Did you mean: 

There is any bare metal routines for the ETH on the MP135?

morthy
Associate

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

1 REPLY 1
PatrickF
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.