cancel
Showing results for 
Search instead for 
Did you mean: 

Any Microchip KSZ example code for stm32h7 processor

umtkyck
Associate II

We are working with KSZ8563 3 port ethernet switch over the RMII interface. Communication is MDIO and it is working. But we couldn't run the lwip udp example.

Is there any sample software on KSZ Phys, so I will check the settings? Our controller is STM32H753ZI.

Umit

3 REPLIES 3
Pavel A.
Evangelist III

KZ8563 perhaps.

If I remember correctly this is very simple.

STM32 connects to the internal MAC only port of the KZ, so it is considered always connected and always at 100 Mbit full duplex.

Other two external ports are by default managed automatically.

So you just remove the link detection logic in the examples, and it should just work.

Later you can add link detection on external ports and do something with that info, if you want.

-- pa

umtkyck
Associate II

Thank you Pavel,

Could you give me more details about link detection logic? How can i remove it ?

Pavel A.
Evangelist III

For example in LwIP_HTTP_Server_Netconn_RTOS demo:

in this place instead of getting the PHY state just skip to this line and proceed as if you have 100 MB/s full duplex.

Also, do nothing here. STM32 sits on the port that is always connected.

--pa