2023-09-14 07:03 AM
Is there an example or link where I can see the code for STM32F407IG Ethernet (UDP) communication?
https://www.st.com/en/embedded-software/stm32cubef4.html
The link here doesn't have the code I want
- UPD Ethernet connection
- Code for Ethernet Receive and Send
2023-09-14 07:20 AM - edited 2023-09-14 07:23 AM
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
2023-09-14 07:21 AM
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.
2023-09-14 08:02 AM
2023-09-15 06:11 AM
As I said, it's not that simple...
So my advice: debug!