cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407ZTE6 LwIP problem with DP83848 - does not ping

Lghi.1
Associate

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.

4 REPLIES 4
Lghi.1
Associate

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

MSG_ST
ST Employee

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

el_d
Associate II

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

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

Hello, Elynert