---
title: "Teensy-Only Wiznet Ethernet Library"
url: "https://maker.wiznet.io/irina/projects/teensy-only-wiznet-ethernet-library/"
markdown_url: "https://maker.wiznet.io/irina/projects/teensy-only-wiznet-ethernet-library/md"
type: "UCC: User Created Content"
author: "PaulStoffregen"
author_url: "https://github.com/PaulStoffregen/Ethernet"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "PaulStoffregen"
original_url: "https://github.com/PaulStoffregen/Ethernet"
published: "2023-06-02"
language: "en"
likes: 0
views: 568
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Teensy-Only Wiznet Ethernet Library

> . I tested on many boards and it was released as Arduino Ethernet version 2.0.0.

Original author: PaulStoffregen (source: https://github.com/PaulStoffregen/Ethernet)

## Article

## Improved Performance Ethernet Library

Wiznet chips W5100, W5200 and W5500 are automatically detected.

Efficient block mode of W5200 & W5500 are used for data and multi-byte register access.

Wiznet socket registers are cached, which greatly reduces SPI communication overhead, at the cost of a small increase in RAM usage. TCP connections and UDP packets accessed in small chunks typically see a substantial performance boost.

Adafruit's Ethernet.init(CSPIN) extension is supported, to allow use of different pins for the chip select signal. Optimized direct register I/O is used for most Arduino compatible boards.

![](http://www.pjrc.com/store/wiz820_assem5.jpg)

---

Source: https://maker.wiznet.io/irina/projects/teensy-only-wiznet-ethernet-library/
