---
title: "W55RP20_CAN_TO_ETH"
url: "https://maker.wiznet.io/Aimee0/projects/w55rp20-can-to-eth/"
markdown_url: "https://maker.wiznet.io/Aimee0/projects/w55rp20-can-to-eth/md"
type: "WCC: WIZnet Created Content"
author: "Aimee"
author_url: "https://maker.wiznet.io/Aimee0/"
original_author: "aimee"
published: "2025-04-15"
language: "en"
hardware: ["WIZnet W55RP20-EVB-Pico"]
likes: 0
views: 1261
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# W55RP20_CAN_TO_ETH

> This example shows how to implement an Ethernet-to-CAN converter using the W55RP20 EVB PICO board.

Original author: aimee

## Components

- **WIZnet W55RP20-EVB-Pico** x 1 ([docs](https://wiznet.io/products/powered-by-raspberry-pi/w55rp20-evb-pico))

## Documents and links

- [W55RP20_CAN_TO_ETH](https://github.com/aimee0000/W55RP20_CAN_to_ETH/tree/main) (code)

## Article

github link : <https://github.com/aimee0000/W55RP20_CAN_to_ETH/tree/main>

RP2040 PIO CAN code link : <https://github.com/KevinOConnor/can2040>

### CAN protocol?

**1.Overview**

![](https://maker.wiznet.io/upload/ckeditor5/662782412%5F1744735186%2Epng)

The Controller Area Network (CAN) is a serial communication protocol used primarily for communication between microcontrollers and devices within a vehicle. It was developed for real-time data exchange and provides high reliability with robust error detection.

**2.Key Features**

- **Multi-master, message-based communication**: Priority-based message transmission between nodes

- **High-speed data transfer**: Up to 1Mbps (CAN FD supports up to 5–8Mbps)

- **Strong error detection**: Ensures reliability with CRC, ACK, and error frames

- **Cost-effective**: Simple 2-wire bus (CAN_H, CAN_L) for easy maintenance

**3.Message Frame**

- **SOF (Start of Frame)**: Indicates the beginning of a frame

- **Identifier (ID)**: Unique identifier that determines message priority (11-bit or 29-bit)

- **Control Field**: Contains data length information (DLC)

- **Data Field**: Actual transmitted data (0–8 bytes, up to 64 bytes in CAN FD)

- **CRC (Cyclic Redundancy Check)**: Checksum for error detection

- **ACK (Acknowledge)**: Indicates successful reception by other nodes

- **EOF (End of Frame)**: Marks the end of the frame

### Where CAN to Ethernet converter need?

**1.PC to CAN Communication**
PCs and servers typically lack CAN interfaces, so a converter bridges Ethernet and CAN.

**2.Remote Monitoring & Control**
Ethernet enables long-distance access to CAN networks for diagnostics or control.

**3.Integration of Mixed Networks**
In smart factories, devices with Ethernet and CAN need to communicate seamlessly.

**4.Development & Testing Environments**
Developers can simulate or test CAN communication over Ethernet when native CAN is unavailable.

### How to test CAN to Ethernet?

Please refer to ReadMe on this page.

<https://github.com/aimee0000/W55RP20_CAN_to_ETH/tree/main>

---

Source: https://maker.wiznet.io/Aimee0/projects/w55rp20-can-to-eth/
