Skip to main content
This topic has been closed for replies.

3 replies

Issamos
Lead III
September 14, 2023

Hello @younginpark 

I can't find direct exemples using STM32F407 but, I suggest you to take a look at this tutorial and try to adapt it to your F407IG (that's not going to be so hard). For advice, I suggest you to migrate to use a H7 or F7 MCU.

Best regards.

II

Associate II
September 14, 2023

I tried LWIP (UDP) communication by looking at the example in the link, but can you tell me why it doesn't connect?
Error : lwip.c -> ethernetif_set_link(&gnetif);  
An error occurs in this part. Could you please tell me a function or method that can be used instead?

LCE
Principal II
September 14, 2023

The bad news: it's not that simple...

UDP: do you want to use lwIP ?

Ethernet Rx / Tx: do you want to use the HAL drivers ? (I don't like these)

CubeMX is a good starting point for that. But IMO only for starting, concerning the HAL ethernet drivers.

LCE
Principal II
September 15, 2023

As I said, it's not that simple...

So my advice: debug!