use STM32L5 or H5 with an external PHY ksz8851 chip to access the Internet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-26 10:40 PM - last edited on ‎2025-06-11 4:34 AM by mƎALLEm
In this regard, I would like to use STM32L5 or H5 development boards to implement the LWIP protocol stack+FREERTOS minimal system. I have no idea how to build the LWIP protocol stack on the FREERTOS system. May I ask if you can send me the LWIP protocol stack code or demo suitable for STM32L5 or H5。Thanks!
Solved! Go to Solution.
- Labels:
-
Ethernet
-
LwIP
-
STM32H5 Series
-
STM32L5 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-11 4:34 AM - edited ‎2025-06-11 4:34 AM
Hello,
That's definitely an ETH controller not just an Ethernet PHY .
There was someone used KSZ8851SNL with STM32H7. See this github link, ioc file included. So you need to inspire from it.
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-26 10:47 PM
Start a new project, select download any example flagging MCU family and LWiP !
With STM32CubeIde, of course.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-26 10:52 PM
thanks for reply .For example, can I create a f407 project with LWIP+Freertos and directly copy the LWIP related code into the L5 project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-26 11:28 PM
No, you cannot take all - you need to write low level drivers and later interface to LWIP - It depends to what hardware you are using, every hw has it own requirements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-03 1:58 AM - edited ‎2025-06-03 2:04 AM
Does the external PHY ksz8851 use a RMII bus to connect to the micro controller ?
The STM32L5 doesn't have an Ethernet MAC IP (no RMII ethernet interface).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-10 7:49 PM
l5 use spi connected ksz8851
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-11 4:34 AM - edited ‎2025-06-11 4:34 AM
Hello,
That's definitely an ETH controller not just an Ethernet PHY .
There was someone used KSZ8851SNL with STM32H7. See this github link, ioc file included. So you need to inspire from it.
Hope that helps.
