cancel
Showing results for 
Search instead for 
Did you mean: 

KSZ8563 example code ? UDP example is not working ?

ESent.1
Associate

Hi,

I am working on KSZ8563 3 port ethernet switch. I can communicate with KSZ via MDIO but Lwip udp example is not working. Controller is STM32H753ZI.

example link :

https://community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working

1-Mpu Configuration:

0693W00000DqMm3QAF.png2- Ethernet Global interrupt is enabled

3- Lwip Configuration:

0693W00000DqMo0QAF.pngLWIP_NETIF_LINK_CALLBACK enabled.

Also I atteched linker script.

After these settings, i reset the KSZ (Hardware reset) and ı reach the basic control register of phy via MDIO. After soft reset for Phy port 1 and port 2, udp example code is running (above example link). But unfortunately ther is no communication.

Looking forward to your advice.

Thank you.

0 REPLIES 0