Wiznet makers

irina

Published March 19, 2025 ©

93 UCC

5 WCC

87 VAR

0 Contests

0 Followers

0 Following

Original Link

W5500-EVB-Pico with Zephyr RTOS(Nordic)

W5500-EVB-Pico integrates **RP2040 MCU** & **W5500 Ethernet**, supports **Zephyr RTOS**, and is available from **nRF Connect SDK v2.9.1** for wired networking

COMPONENTS
PROJECT DESCRIPTION

W5500-EVB-Pico Overview

The W5500-EVB-Pico is a powerful development board that combines the RP2040 microcontroller and the W5500 Ethernet controller. This board provides a reliable wired Ethernet solution and is now fully compatible with Zephyr RTOS.

🔹 Key Features

RP2040 MCU – Dual-core ARM Cortex-M0+ processor
W5500 Ethernet Controller – Integrated TCP/IP stack for stable network communication
Zephyr RTOS Support – Ready for real-time applications
SPI-based Ethernet Communication – Efficient data transfer between MCU and W5500
Flexible GPIO & Expansion Pins – Easily connect sensors and peripherals
Supported in Nordic Semiconductor's nRF Connect SDK – Beginning from version 2.9.1

🛠 Setting Up W5500-EVB-Pico in Zephyr

To use the W5500-EVB-Pico with Zephyr RTOS, follow these steps:

1️⃣ Zephyr Board Configuration

Zephyr uses Device Tree Source (DTS) files to define board hardware configurations. The w5500_evb_pico.dts file sets up SPI communication and GPIO configurations for W5500.

Example snippet:

&w5500 {
    compatible = "wiznet,w5500";
    reg = <0x0000 0x0008>;
    spi-max-frequency = <40000000>;
    cs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};

2️⃣ SPI Pin Configuration

The w5500_evb_pico-pinctrl.dtsi file assigns RP2040 pins for SPI communication.

&spi0 {
    pinctrl-0 = <&spi0_pins>;
    pinctrl-names = "default";
    status = "okay";
};

3️⃣ Enable W5500 Driver

Modify prj.conf in your Zephyr project to enable SPI and Ethernet support:

CONFIG_SPI=y
CONFIG_ETH_W5500=y
CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_IPV4=y

📌 Running a Basic Network Test

After configuring the board, compile and flash the Zephyr application. Run a simple network test using:

ping 192.168.1.100  # Replace with assigned IP

If the board responds, the W5500 Ethernet interface is working correctly! 🚀

📚 Additional Resources

📌 Official Documentation: Zephyr W5500-EVB-Pico Docs
📌 nRF Connect SDK v2.9.1 Overview: Nordic Semiconductor Docs
📌 GitHub Repository: Zephyr Project

Documents
Comments Write