cancel
Showing results for 
Search instead for 
Did you mean: 

use STM32L5 or H5 with an external PHY ksz8851 chip to access the Internet.

WL1
Associate II

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!

1 ACCEPTED SOLUTION

Accepted Solutions

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

6 REPLIES 6
mbarg.1
Senior III

Start a new project, select download any example flagging MCU family and LWiP ! 

With STM32CubeIde, of course.

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

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

Guillaume K
ST Employee

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).

 

l5 use spi connected ksz8851 

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.