Skip to main content
Associate III
February 19, 2025
Solved

How to use the Ethernet middleware and all necessary settings on STM32F767ZI nucleo board.

  • February 19, 2025
  • 4 replies
  • 1178 views

Hi everyone,

I’m currently working on an STM32F767ZI Nucleo board and trying to configure the Ethernet middleware. I’m new to STM32 Ethernet and LWIP, so I’d appreciate some guidance.

Here’s what I’m looking for help with:

  1. Ethernet Middleware Configuration:

    • How to properly set up the Ethernet middleware using STM32CubeMX.
    • Steps or tips to enable and configure LWIP for basic functionality.
    • Best practices for initializing the MAC and PHY layers.
  2. RCC and Clock Settings:

    • What are the correct RCC configurations for the STM32F767ZI to ensure Ethernet works properly?
    • Any specific settings for the HSE, PLL, or system clock frequency that I need to pay attention to?

I’ve already started with STM32CubeMX and enabled the Ethernet peripheral, but I’m not sure if I’ve configured the clocks and middleware correctly. If anyone has a working example or detailed guidance, that would be incredibly helpful!

Thanks in advance for your help

Best answer by mƎALLEm

Hello,

Unfortunately there is no step by step ETH for F7 family. Only H7 and H5.

You need to start with the example provided in Cube HAL. Unfortunately there is no ioc attached to the project.

4 replies

Andrew Neil
Super User
February 19, 2025

As your board has ethernet on it, check out the examples in CubeIDE/MX for that board.

Also check out the Knowledge Base:

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=includeTkbs&inactive=false&include_tkbs=true&q=ethernet

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
mƎALLEmBest answer
Technical Moderator
February 19, 2025

Hello,

Unfortunately there is no step by step ETH for F7 family. Only H7 and H5.

You need to start with the example provided in Cube HAL. Unfortunately there is no ioc attached to the project.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Pavel A.
Super User
February 20, 2025

In this repo are .ioc files for many older boards

https://github.com/STMicroelectronics/STM32_open_pin_data/blob/master/boards/A71_Nucleo_NUCLEO-F767ZI_STM32F767ZI_Board_AllConfig.ioc

Software and clock settings in these ioc files, though, may be not 100% matching the examples.

 

MADHU2Author
Associate III
February 21, 2025