---
title: "W5500 Ethernet Module Initialization with MIotKit"
url: "https://maker.wiznet.io/sophia/projects/w5500-ethernet-module-initialization-with-miotkit/"
markdown_url: "https://maker.wiznet.io/sophia/projects/w5500-ethernet-module-initialization-with-miotkit/md"
type: "UCC: User Created Content"
author: "Lazy Pig Demon"
author_url: "https://www.bilibili.com/video/BV1mNDKYhEp1/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Lazy Pig Demon"
original_url: "https://www.bilibili.com/video/BV1mNDKYhEp1/"
published: "2025-05-29"
language: "en"
hardware: ["WIZnet W5500"]
likes: 0
views: 1821
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# W5500 Ethernet Module Initialization with MIotKit

> Initializes W5500 on MIotKit (STM32), sets up SPI, configures network (IP/GW), and tests Ethernet on hl_miniOS. A practical guide for embedded Ethernet setup.

Original author: Lazy Pig Demon (source: https://www.bilibili.com/video/BV1mNDKYhEp1/)

## Components

- **WIZnet W5500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))

WIZnet parts: W5500 ([Datasheet](https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet?utm_source=maker&utm_medium=project&utm_campaign=w5500), [product hub](https://maker.wiznet.io/products/w5500/))

## Article

## 📌 Project Overview

**Project Title**: W5500 Ethernet Module Initialization with MIotKit

**Video Link**: [Lesson 5.2 - MIotKit Initialization: Configuring W5500](https://www.bilibili.com/video/BV1mNDKYhEp1/)

**Creator**: 懒惰的猪妖 (Lazy Pig Demon, developer of MIotKit)

**Platform**: MIotKit (STM32-based development board) + WIZnet W5500 Ethernet module

**Operating System**: hl_miniOS (custom RTOS)

**Development Environment**: Keil MDK5

## 🧩 Components Used

**MIotKit Development Board**: An STM32-based IoT development board

**WIZnet W5500**: A hardware TCP/IP offload Ethernet controller

**RJ45 Ethernet Port**: For physical Ethernet connectivity through W5500

## ⚙️ Project Description

This project demonstrates how to connect the W5500 Ethernet module to the MIotKit board and perform its initial configuration for Ethernet communication. The video walks through the necessary steps to configure W5500 registers, assign network parameters, and initiate SPI communication.

### Key Steps Covered:

**Connecting W5500 and Powering Up**
The W5500 is connected to the MIotKit board via SPI. Proper power supply and stable connection are ensured.

**Setting Up SPI Interface**
The STM32 microcontroller’s SPI peripheral is configured to communicate with the W5500.

**Configuring Network Parameters**
IP address, subnet mask, gateway, and other network parameters are written to the W5500’s registers using SPI.

**Testing Data Communication**
After setup, the system performs a basic test to confirm data transmission over Ethernet.

## 🧠 Learning Highlights

How to initialize and configure the W5500 Ethernet module

Implementing SPI communication between STM32 and W5500

Understanding how to set up wired networking using static IP configurations

Exploring network stack fundamentals in a lightweight RTOS (hl_miniOS) environment

## 🧰 Related Resources

**W5500 Datasheet & Documentation**: WIZnet Official Docs

**MIotKit Board Information**: Available via [Taobao - Hailin IoT Electronics Store](https://shop123456.taobao.com)

**hl_miniOS Overview**: [Developer Blog](https://www.etoraloo.com)

---

Source: https://maker.wiznet.io/sophia/projects/w5500-ethernet-module-initialization-with-miotkit/
