Skip to main content
Lghi.1
Associate
August 20, 2022
Question

STM32F407ZTE6 LwIP problem with DP83848 - does not ping

  • August 20, 2022
  • 3 replies
  • 1865 views

hello every one,

I have one STM32F407ZTE board with DP83848 as PHY.

I want to use STM32cubeMX as initialization code generator.

STM32F4 version is 1.27.1. I try with and without RTOS v2, but I can get ping.

3 replies

Lghi.1
Lghi.1Author
Associate
August 20, 2022

0693W00000QO7mTQAT.png0693W00000QO7miQAD.png0693W00000QO7mnQAD.png0693W00000QO7n2QAD.png0693W00000QO7nCQAT.png0693W00000QO7n7QAD.png

MSG_ST
ST Employee
December 9, 2022

Hello,

Try to switch to MII mode (Since it's the default mode and maybe there's a HW rework to make to activate the RMII mode) and ensure that the default task stack size is sufficient (larger than 1024). Normally it should work.

Regards

Mahdy

Explorer
October 1, 2024

Hi,
This solves the problem, it is necessary. (default task stack size is sufficient (larger than 1024).)

Hello, Elynert

 

el_d
Associate
December 11, 2022

You could debug ethernet_link_thread to find is it a hardware/configuration problem or not.

and take a short look at my post about ETH on f407 and dp83848 couple https://community.st.com/s/question/0D53W00001sGiChSAK/cubemx-lwip-ethernetlinkthread-bug

or read assential list of topics about ETH here https://community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32