---
title: "Rust_Embedded_MAX31865"
url: "https://maker.wiznet.io/rena/projects/rust-embedded-max31865/"
markdown_url: "https://maker.wiznet.io/rena/projects/rust-embedded-max31865/md"
type: "UCC: User Created Content"
author: "Erhnam"
author_url: "https://github.com/erhnam/Rust_Embedded_MAX31865"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Erhnam"
original_url: "https://github.com/erhnam/Rust_Embedded_MAX31865"
published: "2023-09-19"
language: "en"
tags: ["Rust"]
hardware: ["WIZnet W5500"]
likes: 0
views: 6675
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Rust_Embedded_MAX31865

> Board STM32F401RET6 reading temperature using sensor MAX31865 with SPI1 and W5500 Ethernet controller in SPI2.

Original author: Erhnam (source: https://github.com/erhnam/Rust_Embedded_MAX31865)

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

The GitHub project [Rust_Embedded_MAX31865](https://github.com/erhnam/Rust_Embedded_MAX31865) is focused on reading temperature data using the MAX31865 sensor with the STM32F401RET6 board. The project is written in Rust and uses SPI1 for sensor communication and SPI2 for a W5500 Ethernet controller. The connection is established with a 3-wire setup.

**Installation and Execution**

- **Installation**: The project requires **gdb-multiarch** and **openocd**, which can be installed using **sudo apt-get install gdb-multiarch openocd**.

- **Execution**: To run the project, you need to execute **openocd -f interface/stlink-v2-1.cfg -f target/stm32f4x.cfg** in one Linux terminal and **cargo update cargo build cargo run** in another.

---

Source: https://maker.wiznet.io/rena/projects/rust-embedded-max31865/
