Skip to the content
2 layers64 × 28 mmBytesync, the printed circuit board in 3D

An Ethernet to SPI converter using 7400-series ICs

Size
64 × 28 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
17
Pads
69
Tracks, vias
117, 9
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
4 Sep 2022
Updated
6 Dec 2022

Overview

Bytesync is an open-source printed circuit board by imihajlow, from the imihajlow/ethernet-to-spi repository on GitHub. It is a 2-layer board of 64 × 28 mm with 17 parts on 17 nets, routed with 117 tracks and 9 vias.

It is built around the 74HC74D and 74HC08D. Its parts include 10 connectors, 3 capacitors and 3 ICs.

Main components

2

README

README.md

An experiment project to receive and decode a 10BASE-T Ethernet signal

The Nucleo64 shield schematic files are located in sch/shield/.

The firmware for stm32f401 is located in stm32eth-f401/.

Receiver operation

The idea is to convert the Manchester-encoded 10BASE-T signal to SPI and use an STM32 MCU to parse it.

A 75C1168 chip is used to convert differential signals to 5V logic levels.

Then, edges are detected using a 74HC86 XOR.

edge detect

Blue is the input signal, yellow - detected edges.

Then, an ~idle signal is formed using a delay circuit. It goes from 0 to 1 with the first edge and goes back to 0 after approximately 2 µS after the last transition. This signal is used by the MCU to detect the end of an Ethernet frame.

frame detect

When the line is idle, the output of an 75C1168 is undefined. In my case it was always high. Since the Ethernet frame always starts with a pattern of 101010..., this leads to the first transition always being from 1 to 0, which generates the first edge. This edge must be ignored for SPI clock generation. However, the case with a low idle state needs to be handled as well. In that case the line remains low on the frame begin and the first edge should not be ignored.

The filtering of the first edge is done using the already generated ~idle signal.

first edge filtering

First edge is filtered

The resulting filtered edge signal is fed onto a non-retriggerable monostable circuit which generates a pulse of approximately 75 nS, which is finally used as an SPI clock.

SPI signal

SPI signal

Blue - generated SPI SCK signal, yellow - SPI MOSI which is just the input 10BASE-T signal.

Parts

17
QtyValueFootprintReferences
30.1Capacitor_SMD:C_0805_2012MetricC1, C2, C3
274HC74Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU1, U2
2GNDConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ6, J7
2VCCConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ4, J5
174HC08Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU3
1CS_INConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ3
1MOSI_INConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ1
1MOSI_OUTConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ8
1SCK_INConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ2
1SCK_OUTConnector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ10
1SYNCTestPoint:TestPoint_Pad_D2.0mmTP1
1~{CS_OUT}Connector_Wire:SolderWire-0.75sqmm_1x01_D1.25mm_OD2.3mm_ReliefJ9

More from imihajlow/ethernet-to-spi

4
  • 4 layers69 × 74 mmShield, the printed circuit board in 3D

    Shield

    imihajlow/ethernet-to-spi

    An Ethernet to SPI converter using 7400-series ICs

    60 parts69
  • 2 layers113 × 32 mmEthernet to spi, the printed circuit board in 3D

    Ethernet to spi

    imihajlow/ethernet-to-spi

    An Ethernet to SPI converter using 7400-series ICs

    38 parts69
  • 2 layers51 × 45.5 mmTransmitter, the printed circuit board in 3D

    Transmitter

    imihajlow/ethernet-to-spi

    An Ethernet to SPI converter using 7400-series ICs

    22 parts69
  • 2 layers70 × 25 mmNlpgen, the printed circuit board in 3D

    Nlpgen

    imihajlow/ethernet-to-spi

    An Ethernet to SPI converter using 7400-series ICs

    16 parts69

Similar boards

  • 4 layers184.2 × 169.5 mmSB mini II, the printed circuit board in 3D

    SB mini II

    simonboak/SB-mini-II

    A homebrewed Apple II clone

    97 parts76MIT
  • 2 layers216 × 150 mmMotherboard-101, the printed circuit board in 3D

    Motherboard-101

    artemisamsx/artemisa

    Schematics, PCB designs and HDL simulations to build a 8-bits MSX computer

    124 parts67
  • 2 layers335 × 218.6 mmMSX Goauld, the printed circuit board in 3D

    MSX Goauld

    leomanes/stargate

    Stargate MSX Compatible Computer

    298 parts18GPL-3.0
  • 4 layers100 × 100 mm74HCT6526, the printed circuit board in 3D

    74HCT6526

    dmolinagarcia/74HCT6526

    74HCT6526

    93 parts14
  • 2 layers178 × 711 mmMSAP-2 rev.A SMD, the printed circuit board in 3D

    MSAP-2 rev.A SMD

    mehrantsi/MSAP-2

    An 8-bit computer. Successor to MSAP-1

    658 parts13MIT
  • 4 layers170 × 130 mmZ80Atmega128, the printed circuit board in 3D

    Z80Atmega128

    46nori/Z80Atmega128

    Real Z80A system with I/O emulated by AVR(ATmega128)

    109 parts9GPL-3.0
  • 4 layers220 × 170 mmArpeggiator, the printed circuit board in 3D

    Arpeggiator

    EwoudVV/arpeggiator

    12-note analog arpeggiator with a 1/2/3 octave range, custom pcb and printed case

    360 parts3
  • 2 layers167.6 × 134.6 mmMotherboard, the printed circuit board in 3D

    Motherboard

    rjhelms/compe6502

    Homebrew 6502 system

    110 parts2

Questions

How big is the Bytesync PCB?

It measures 64 × 28 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Bytesync use?

17 parts, built around the 74HC74D and 74HC08D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Bytesync KiCad files?

From the imihajlow/ethernet-to-spi repository on GitHub, at the commit this page was made from: the board is sch/bytesync/bytesync.kicad_pcb and its schematic sch/bytesync/bytesync.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Bytesync design in my own project?

Its repository states no licence, so its author keeps all rights: ask imihajlow before reusing the design.