Skip to the content
2 layers56.1 × 58.9 mmEsquema TEDUN, the printed circuit board in 3D

Digital Electronics Board (TEDUN) developed for an Embedded Systems course at UNAL, including FPGA integration, schematic design, and embedded interfaces.

Size
56.1 × 58.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
108
Nets
227
Pads
559
Tracks, vias
2,093, 83
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
31 Mar 2026
Updated
1 Apr 2026

Overview

Esquema TEDUN is an open-source printed circuit board by anyo2002, from the anyo2002/tedun-digital-electronics-board repository on GitHub. It is a 2-layer board of 56.1 × 58.9 mm with 108 parts on 227 nets, routed with 2,093 tracks and 83 vias.

It is built around the T8Q144C3, FAN2558S18X and FAN2558S33X, with the CPDQC3V3C-HF among its other parts. Its parts include 37 capacitors, 32 diodes, 15 resistors, 8 ICs and 6 connectors. It belongs with the fPGA and programmable logic boards of this library.

Main components

4

README

README.md

Top 3D

TEDUN - Digital Electronics Development Board

📌 Overview

The TEDUN (Tarjeta de Electrónica Digital de la UNAL) is an academic project developed as part of an Embedded Systems course in Electronic Engineering.

⚠️ Note: The project name does not represent an official product of UNAL. It only reflects the academic context in which it was developed.

This project consists of the design and implementation of a custom development board based on:

  • A F133A RISC-V processor
  • A Trion T8Q144C3 FPGA

The board enables hardware experimentation with multiple modules (Bluetooth, audio, infrared, etc.) using communication protocols such as UART, I2S, SPI, and GPIO.


🎯 Objectives

  • Design a complete embedded development board
  • Enable communication between a processor and an FPGA
  • Support hardware testing using multiple digital interfaces
  • Develop schematics and PCB using KiCad
  • Implement FPGA programming using open-source tools

⚙️ Key Features

  • Powered via Micro-USB (~5V)
  • Boot via SD card with Tina Linux
  • UART communication with a computer (via USB-UART converter)
  • FPGA programming using OpenOCD (JTAG)
  • Communication between F133A and FPGA via UART or SPI
  • 32 GPIO pins organized in 4 banks (3.3V + 5V output)

🏗️ System Architecture

The system integrates:

  • F133A processor (RISC-V)
  • Trion T8 FPGA
  • SD card storage
  • Multiple communication interfaces

Interfaces

🔹 JTAG

Used to program the FPGA through OpenOCD running on the F133A.

🔹 SD Card

Stores:

  • Tina Linux OS
  • Boot partitions
  • Drivers and applications
  • FPGA configuration files
🔹 UART & I2S
  • UART for communication with PC and FPGA
  • I2S for audio/data transmission
🔹 GPIO
  • 32 configurable pins
  • Used for hardware testing and module integration

🧩 Block Diagram

Block Diagram


🔌 Interface Design

To validate the system, an LctechPi board (F133A-based) was used for testing.

Key points:

  • Tina Linux was configured and deployed
  • Required system packages were installed
  • WiFi was tested but not included (cost optimization)

Tool Selection

Two tools were evaluated:

❌ openFPGALoader
  • Supports Trion FPGA
  • Limited to memory-based programming (Flash)
  • ❌ Not suitable for JTAG-based programming via F133A
✅ OpenOCD
  • Open-source
  • Supports JTAG
  • Compatible with Trion FPGA
  • ✔️ Selected solution

🧪 FPGA Programming with OpenOCD

OpenOCD was compiled for RISC-V and deployed on the board.

Setup Steps:

  1. Compile OpenOCD from source: https://github.com/riscv/riscv-openocd

  2. Copy binary to: /bin/

  3. Copy scripts to: /usr/local/share/openocd/scripts

  4. Create configuration file: openocd.cfg

Example Configuration (JTAG via GPIO)

bash
adapter driver sysfsgpio
transport select jtag
sysfsgpio jtag_nums 2 3 1 4

set CHIPNAME fpga_trion
source [find fpga/efinix_trion.cfg]

init
pld load fpga_trion.pld GPIO_demo.bit

🛠️ Hardware Design

The hardware design is based on:

  • MangoPi (F133A reference)

Power Supply

  • LctechPi board

  • Trion T8 FPGA reference boards

🔋 Power Supply

RY1303

  • Input: Micro-USB (5V)
  • Regulation using:
    • AMS1117 (instead of RY1303 from the MangoPi board)
    • Multiple LDO regulators

Voltage Levels:

  • 3.3V → I/O, GPIO, oscillator

FAN2558S33X

  • 1.8V → DRAM

FAN2558S18X

  • 2.8V → Communication block (PE)

TPS78228DDCR

  • 1.2V → FPGA core

TPS73101DBVR

  • 0.9V → Processor core

AP7343Q-09W5-7

⚡ Power Sequencing

Implemented using:

  • LM3880 power sequencer

LM3880

Sequence:

  1. Enable FPGA + DRAM + PE
  2. Enable processor core (0.9V)
  3. Enable FPGA I/O

💾 SD Card

  • Used for booting Tina Linux
  • Based on MangoPi reference design

SD F133

  • Direct connection to F133A

SD Module

🧠 F133A Connections

F133 Connections

  • JTAG → PG6–PG9
  • UART0 → PE2 / PE3
  • UART → PC6 / PC7
  • SD → PF0–PF6
  • SPI → PC2–PC7

🔲 FPGA (Trion T8)

PCB layout

  • 13 banks available
  • Selected banks: 1A, 3A, 3BC, 3D
  • Supports:
    • JTAG programming
    • SPI & UART communication
    • GPIO expansion

🔌 GPIO

GPIO

  • 32 GPIO pins (4 banks × 8 pins)
  • Each bank includes:
    • 3.3V output
    • GND
  • Additional:
    • 5V output
    • UART interface

⏱️ Oscillators

  • FPGA: 25 MHz oscillator

Oscillator 25MHz

  • Processor: MangoPi reference oscillator

Oscillator F133

🧾 PCB Design

PCB layout

Designed in KiCad:

  • Compact layout
  • Optimized routing
  • 3D visualization available

Top 3D

Bottom 3D

📍 Pinout

Pinout

Pin function

  • 32 GPIO pins available
  • Organized in 4 banks
  • Flexible usage:
    • GPIO
    • Communication interfaces
    • Special FPGA functions

📚 References

  • F133A Datasheet
  • Trion T8 Datasheet
  • MangoPi Schematics

🧰 Tools & Technologies

  • KiCad (PCB design)
  • OpenOCD (FPGA programming)
  • Tina Linux
  • RISC-V architecture
  • Embedded Linux

🚀 Skills Demonstrated

  • Embedded Systems Design
  • FPGA Integration
  • Hardware Architecture
  • PCB Design (KiCad)
  • Power Electronics (LDO, sequencing)
  • Communication Protocols (UART, SPI, I2S, JTAG)

👤 Authors

  • Angel RUIZ
  • Santiago DIAZ
  • Daniel CELY

Parts

108
QtyValueFootprintReferences
32CPDQC3V3C-HFDIODFN100X60X42:DIODFN100X60X43-2ND1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +16
160.1uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC2, C3, C10, C13, C14, C16, C21, C24, C25, C34, C38, C39, C52, C56, C57, C68
91uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC1, C4, C7, C17, C19, C23, C26, C27, C28
510uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC15, C22, C45, C95, C96
422pFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC5, C6, C8, C9
4Conn_02x05_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ_Banco_E1, J_Banco_F1, J_Banco_GH1, J_Banco_I1
3100KResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR8, R9, R10
310KResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR3, R18, R40
32.2uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC11, C12, C20
233Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR4, R44
247KResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR2, R7
2SW-CEButton:SW_PTS_647_SM38_SMTR2_LFSS1, S4
110K 1%Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR1
1240 1%Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR6
132.768K CL=12.5pFCristal_TEDUN:Y3215XT1
133 5%Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR5
15.1KResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR75
1680K 1%Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR31
1AP7343Q-09W5-7Package_TO_SOT_SMD:SOT-23-5U4
1ASE-25.000MHZ-L-C-TOscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mmX2
1Conn_01x02_5VConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1Conn_01x02_INConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1Conn_01x02_OUTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ6
1Conn_01x02_UART_T8Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1D1s-eLQFP128F133A:F133A_QFP129U2
1FAN2558S18XFAN2558S33X:FAN2558S33XU1
1FAN2558S33XFAN2558S33X:FAN2558S33XU7
1GREENLED_SMD:LED_0402_1005Metric_Pad0.77x0.64mm_HandSolderDS3
1LM3880MF-1AD/NOPBPackage_TO_SOT_SMD:SOT-23-6U6
1T8Q144C3T8Q144C3:QFP50P2200X2200X160-144NU5
1TF5033981892SD_TEDUN:TFCARD-1040310811J1
1TPS73101DBVRPackage_TO_SOT_SMD:SOT-23-5U8
1TPS78228DDCRPackage_TO_SOT_SMD:SOT-23-5U3
1XTAL2520-24M CL=18PFOscillator:Oscillator_SMD_ECS_2520MV-xxx-xx-4Pin_2.5x2.0mmX1

Similar boards

  • 2 layers28 × 25.5 mmSlowdds, the printed circuit board in 3D

    Slowdds

    brightcloudy/pcb

    Some PCBs, hopefully

    34 partsMIT
  • 4 layers65 × 40 mmHEXBERRY V-20Q100, the printed circuit board in 3D

    HEXBERRY V-20Q100

    logitiles/HEXBERRY-V-20Q100-0.91

    Open Hardware FPGA platform

    195 parts4CERN-OHL-S-2.0
  • 4 layers20 × 28.5 mmRfl, the printed circuit board in 3D

    Rfl

    hanneskiene/rfl

    SX1281 2.4Ghz RC Receiver/Transmiter

    47 parts3MIT
  • 2 layers89.2 × 82.6 mmDesktop 50 Pin TopConn, the printed circuit board in 3D

    Desktop 50 Pin TopConn

    BlueSCSI/BlueSCSI-v2

    BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

    108 parts459GPL-3.0
  • 2 layers312 × 140 mmTsynth2 Rev1.3, the printed circuit board in 3D

    Tsynth2 Rev1.3

    Electrotechnique/TSynth-Teensy4.1

    TSynth for Teensy 4.1

    108 parts182
  • 2 layers99.1 × 90.7 mmBgkeeb, the printed circuit board in 3D

    Bgkeeb

    sadekbaroudi/bgkeeb

    This is a reversible 100mm x 100mm pcb with support for mx or choc switches (no hotswap), per key led, rotary encoders, and exposes the SDA/SCL/GND/VCC lines in the form of the pimoroni trackball pins (meaning you can…

    108 parts108
  • 2 layers165 × 113 mmMask-0.0.0, the printed circuit board in 3D

    Mask-0.0.0

    marcoster/mask

    MArco's Split Keyboard

    108 parts44MPL-2.0
  • 2 layers262 × 113.9 mmQuacken, the printed circuit board in 3D

    Quacken

    Nuclear-Squid/Quacken

    Libre, ergonomic, polymorphic: a single PCB for many possible layouts.

    108 parts38GPL-3.0

Questions

How big is the Esquema TEDUN PCB?

It measures 56.1 × 58.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esquema TEDUN use?

108 parts, built around the T8Q144C3, FAN2558S18X, FAN2558S33X and CPDQC3V3C-HF. 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 Esquema TEDUN KiCad files?

From the anyo2002/tedun-digital-electronics-board repository on GitHub, at the commit this page was made from: the board is hardware/kicad/Esquema_TEDUN.kicad_pcb and its schematic hardware/kicad/Esquema_TEDUN.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esquema TEDUN design in my own project?

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