Skip to main content
Visitor II
August 25, 2021
Question

KSZ8563 example code ? UDP example is not working ?

  • August 25, 2021
  • 0 replies
  • 907 views

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.

    This topic has been closed for replies.