2024-11-14 09:51 PM - last edited on 2024-11-15 07:58 AM by SofLit
hi,
I'm new to STM32 and I need assistance with Ethernet configuration on the Nucleo-H7Z3G board. I'm starting from the beginning and hence I want to achieve the following: 1. Configuration of the Ethernet interface: RMII/MII on Nucleo-H7Z3G 2. Configuration of TCP/IP: LWIP (Lightweight IP) protocol stack 3. TCP/IP send/receive: able to send and receive packets over Ethernet. I have the following: Nucleo-H7Z3G, Ethernet cable, STM32CubeIDE. I need help with the following: 1. Where to set up the Ethernet in STM32CubeMX 2. How to set up and initialize LWIP 3. Where to look for example codes for send/receive 4. Where can I find resources/examples/tutorials for this? What I've tried thus far: - Review of the STM32CubeMX manual - Extensive online search ranging from forums to formal documentation. I've received no errors, but I'm stuck. Please help! Any and all examples, tutorials, suggestions are greatly appreciated!
Thankful in advance.
2024-11-14 10:22 PM
Hello @ParthDhoble and welcome to the Community,
I advise you to follow this article : How to create a project for STM32H7 with Ethernet ... - STMicroelectronics Community, which provided ready-to-use example and steps on how to create LwIP project from scratch.
2024-11-15 07:48 AM
The board the i using Nucleo-H723ZG has RMII Ethernet interface.
the link provide for article https://community.st.com/t5/stm32-mcus/how-to-create-a-project-for-stm32h7-with-ethernet-and-lwip-stack/ta-p/49308 configure the Ethernet on MII config. which i can use with my board.
so please provide me a guide on how to implement RMII for ethernet controll.
2024-11-15 07:54 AM - edited 2024-11-15 07:57 AM
Hello,
Inspire from the examples provided in CubeH7 / running on Nucleo-H723ZG board: https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/NUCLEO-H723ZG/Applications/LwIP
Get the ETH init/PHY config from their.
Note: no CubeMx available but get the config from one of the examples and apply it to CubeMx.