ethernet

Implementing and optimizing an Ethernet 10BASE-T MAC layer for maximum throughput

38 min read

In this final post in a series of posts on my Niccle project, I describe how I implemented and optimized a MAC layer on top of my bit banged Ethernet 10BASE-T PHY implementation, responsible validating packet checksums, buffering received packets, and interfacing with higher-level TCP/IP software stacks.

Read more →

Receiving data at the Ethernet 10BASE-T PHY layer

20 min read

In this post I discuss how I implemented a bit banged Ethernet 10BASE-T PHY receiver layer.

Read more →

Transmitting data at the Ethernet 10BASE-T PHY layer

23 min read

In this post I'll implement those parts of the Ethernet 10BASE-T PHY layer that are necessary to support outgoing data transmissions, and I'll turn that code into a small library that can be reused, and upon which I can build further features.

Read more →

Designing an electrical circuit for connecting to Ethernet 10BASE-T

35 min read

In this post I discuss an electrical circuit design for connecting a microcontroller to an Ethernet 10BASE-T network using a differential transceiver. I then describe how to perform a rudimentary validation of the electrical circuit using a few lines of code and an oscilloscope. This post is part of a series of posts relating to Niccle, my Ethernet 10BASE-T bit banging project.

Read more →

An overview of Ethernet 10BASE-T

16 min read

In this post I provide a high-level overview of how Ethernet works, focusing on the 10BASE-T variant in particular. I'll discuss Ethernet's electrical characteristics, and I'll describe how the Ethernet spec is divided into two major layers: the physical (PHY) and the medium access control (MAC) layers, each of which focuses on a different set of responsibilities. This post is part of a series of posts relating to Niccle, my Ethernet 10BASE-T bit banging project.

Read more →

Niccle: an Ethernet 10BASE-T bit banging project

7 min read

I've started a new hobby project which I'm calling Niccle. Niccle will be a bit banged implementation of the Ethernet 10BASE-T protocol, written in Rust and initially targeting the ESP32-C6 microcontroller. In this first post about the project I'll set out my goals, and discuss a few of the other similar projects I took inspiration from.

Read more →