cancel
Showing results for 
Search instead for 
Did you mean: 

Help with porting STM32H723VGTX Ethernet

surendersampath
Associate II

So,

I've been trying to get the STM32 Lwip example working on a custom board ( STM32H723VGTX ) but could not get it working. My custom board uses KSZ8081RNB.

I referred to the link : https://community.st.com/t5/stm32-mcus-embedded-software/stm32h745-not-works-with-ksz8081rna/m-p/95822#M4006
Can you please help confirm if everything is configured correctly from the software side?

 

Here is what I did so far :

I took the LWIP example ( Link here )and ran it on Nucleo H723ZG BOARD and it worked solid. Great!

The same project, I modified the .ioc file to change the MCU name, model and pin to 100. Because, it's literally the same chip with difference only in the number of pins. The .ioc settings is literally the same. (See below screenshot) when I compared the .ioc file.

surendersampath_0-1742465252418.png

 

surendersampath_2-1742465313244.png

The above project is set up to run a tcp echo server. in the custom board, I can the Lwip initiaises succesfully, so I believe the hardware is okay and can see in the software break points that it is listening to incoming tcp connections.

 

Additionally,

1. I modified the flash script and placed the user code in ethernetif.c same as it's been done in the example.
2. The MPU is configured the same as it's in the example.

surendersampath_0-1742468713516.png

surendersampath_1-1742468746438.png

surendersampath_2-1742468790368.png

 

 


However, there is a slight difference in the hardware. I'm using KSZ8091RNB - Also uses RMII same LAN8726 PHY. So should be swappable with the one in Nucleo Board.
ps : The board is modified to have a steady 25 Mhz clock to the ethernet driver. So, generating a clock from MCU does not matter.

surendersampath_3-1742465513918.png

 

 

 

 

0 REPLIES 0