2024-06-26 07:28 PM
Hi guys,
Just wonder if there is anyone tried LwIP on the newer version of stm32cubeIDE (1.12 and above). I am trying to integrate stm32F4 series with LAN8720.
There is a "Platform settings" which requires us to select the driver_PHY. I am using LAN8720 but I can only see "Undefined, LAN8742 and DP83848" as options.
I went thru UM1709, UM1713, UM1718 and AN3966 but still could not find the solution. At least UM1718 section 19.10 still mentioned there should be a "user PHY" but this option is not available in my current version of IDE.
Maybe I should just try to modify LAN8742's BSP driver's code? or is there anyway I could manually include the component drivers to be used in my project? If yes, may I know how? (Newbie to ethernet protocol)
Solved! Go to Solution.
2024-08-14 06:29 AM
Hello @QE-Nicholas ,
Any updates on this thread?
FYI: you can maybe use the attached LAN8420.c and .h files in here to help you implement it manually.
Regards
2024-07-31 06:24 AM
Hello @QE-Nicholas ,
This is explicable as the boards provided by ST in the STM32F4 series don't have LAN8720.
so, this should be implemented manually you need to add the PHY file and the necessary changes in the Ethernetif.c file.
maybe you can start with one of the already existing Phy than port the generated code with the correct PHY init functions.
Regards
2024-07-31 06:30 AM
LwIP is an independent 3rd-party project:
https://savannah.nongnu.org/projects/lwip/
It's widely used, so maybe an internet search would reveal non-ST drivers for the LAN8720 ... ?
2024-08-14 06:29 AM
Hello @QE-Nicholas ,
Any updates on this thread?
FYI: you can maybe use the attached LAN8420.c and .h files in here to help you implement it manually.
Regards
2024-10-10 05:48 PM
Hi @QE-Nicholas
Did you solve the problem?
2024-11-29 03:11 AM
Hello. @QE-Nicholas did you solve the problem???
2024-11-29 03:29 AM - edited 2024-11-29 04:16 AM
@Murad @LeoGP did you try using the files linked by @STea in the marked solution ?
If you have tried that, and still face problems, then start your own thread with full details - as described in the Posting Tips:
You can always give a link back to this thread for reference ...
Update:
See: https://community.st.com/t5/stm32-mcus-embedded-software/how-to-use-lwip-lan8720/m-p/748729