---
title: "W5500 work with STM32CubeMX"
url: "https://maker.wiznet.io/WIZnet/projects/w5500-work-with-stm32cubemx/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/w5500-work-with-stm32cubemx/md"
type: "UCC: User Created Content"
author: "mengguang"
author_url: "https://github.com/mengguang/w5500_stm32cube_driver"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "mengguang"
original_url: "https://github.com/mengguang/w5500_stm32cube_driver"
published: "2023-02-17"
language: "en"
hardware: ["WIZnet W5500"]
likes: 4
views: 637
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# W5500 work with STM32CubeMX

> W5500 work with STM32CubeMX

Original author: mengguang (source: https://github.com/mengguang/w5500_stm32cube_driver)

## 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

## w5500_stm32cube_driver

drive w5500 network chip using STM32Cube HAL

This project depends Wiznet ioLibrary: <https://github.com/Wiznet/ioLibrary_Driver>
No need to change the ioLibrary code. Just add the .c and .h files to your project.

Then add network.h and network.c to your project.

You need to label the w5500 spi cs pin as WCS in STM32CubeMX.
Or change the code in network.c to proper value.
Then include network.h in main.c and call network_start();

More information and code examples here:
<https://github.com/Wiznet>

---

Source: https://maker.wiznet.io/WIZnet/projects/w5500-work-with-stm32cubemx/
