Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

W5500 with a 25 MHz KDS Crystal: Why Does Every UDP Send Start with ARP?

This can be expected if Force ARP is enabled. WIZnet specifies that setting bit 1 of the global Mode Register causes the W5500 to issue an ARP request when sending data. A fresh request does not by itself show that a previous resolution failed. On a board using a 25 MHz KDS crystal, read FARP and correlate requests with sends before blaming extra network delay on clock accuracy.

Distinguish repeated resolution from retries

For a controlled peer on the same subnet, make two identifiable UDP sends to the same destination. Verify that the first ARP request was answered, then identify whether the next request came with a new send and whether its reply was followed by a datagram. Repeated requests belonging to a single unsuccessful send instead call for troubleshooting address resolution and retry behavior. For a remote subnet, check the expected local next hop before deciding the queried address is wrong.

Measure both the benefit and the cost

If the product needs to recover when approved equipment changes while retaining its IP address, use an isolated bench and ensure that only one peer owns that IP at a time. Compare request counts, learned next-hop behavior and actual delivered datagrams with Force ARP enabled and disabled. Run another comparison with a stable peer and measure overhead during normal traffic. Do not treat a local transmit indication as proof of application delivery. If forced resolution is not needed for every send, verify the changeover with it disabled before approving that setting. Keep the clock and SPI fixed across the comparisons so the result can be attributed to the mode rather than an unrelated reference change.

Related selection guide: MERLIN Crystal Timing: Can a 12 pF crystal replace the 18 pF crystal on a 25 MHz W5500 board?

Resource link: https://www.mecxtal.com.cn/en/handbook/new-0785.html

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.