

Esquema TEDUN
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
4T8Q144C3
LQFP-144(20x20)0℃~+85℃ 1.15V~1.25V 125829bit 7384 97 Trion LQFP-144(20x20) Programmable Logic Device (CPLDs/FPGAs) ROHSEfinixProgrammable Logic Device (CPLDs/FPGAs)FAN2558S18X
SOT-23-5-40℃~+85℃@(Ta) 1 1.8V 150uA 180mA 5.5V 50dB@(100kHz) Fixed Over Current Protection、Over Temperature Protection、Enable、Short Circuit Protection Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSonsemiVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsFAN2558S33X
SOT-23-5-40℃~+85℃ 1 150uA 180mA 3.3V 5.5V 50dB@(100kHz) Fixed Over Current Protection、Thermal shutdown、Enable control、Operating status indication、Output discharge Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSonsemiUncategorisedCPDQC3V3C-HF
DFN1006-21 10V 12pF 3.3V 3.5V 500nA 80W@8/20us ESD IEC 61000-4-2、IEC 61000-4-5 DFN1006-2 ESD and Surge Protection (TVS/ESD) ROHSLeiditechESD And Surge Protection (TVS/ESD)
README
README.md
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

🔌 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:
-
Compile OpenOCD from source: https://github.com/riscv/riscv-openocd
-
Copy binary to: /bin/
-
Copy scripts to: /usr/local/share/openocd/scripts
-
Create configuration file: openocd.cfg
Example Configuration (JTAG via GPIO)
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)

-
LctechPi board
-
Trion T8 FPGA reference boards
🔋 Power Supply

- 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

- 1.8V → DRAM

- 2.8V → Communication block (PE)

- 1.2V → FPGA core

- 0.9V → Processor core

⚡ Power Sequencing
Implemented using:
- LM3880 power sequencer

Sequence:
- Enable FPGA + DRAM + PE
- Enable processor core (0.9V)
- Enable FPGA I/O
💾 SD Card
- Used for booting Tina Linux
- Based on MangoPi reference design

- Direct connection to F133A

🧠 F133A Connections

- JTAG → PG6–PG9
- UART0 → PE2 / PE3
- UART → PC6 / PC7
- SD → PF0–PF6
- SPI → PC2–PC7
🔲 FPGA (Trion T8)

- 13 banks available
- Selected banks: 1A, 3A, 3BC, 3D
- Supports:
- JTAG programming
- SPI & UART communication
- GPIO expansion
🔌 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

- Processor: MangoPi reference oscillator

🧾 PCB Design

Designed in KiCad:
- Compact layout
- Optimized routing
- 3D visualization available


📍 Pinout


- 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 32 | CPDQC3V3C-HF | DIODFN100X60X42:DIODFN100X60X43-2N | D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +16 |
| 16 | 0.1uF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C2, C3, C10, C13, C14, C16, C21, C24, C25, C34, C38, C39, C52, C56, C57, C68 |
| 9 | 1uF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C1, C4, C7, C17, C19, C23, C26, C27, C28 |
| 5 | 10uF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C15, C22, C45, C95, C96 |
| 4 | 22pF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C5, C6, C8, C9 |
| 4 | Conn_02x05_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical | J_Banco_E1, J_Banco_F1, J_Banco_GH1, J_Banco_I1 |
| 3 | 100K | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R8, R9, R10 |
| 3 | 10K | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R3, R18, R40 |
| 3 | 2.2uF | Capacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C11, C12, C20 |
| 2 | 33 | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R4, R44 |
| 2 | 47K | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R2, R7 |
| 2 | SW-CE | Button:SW_PTS_647_SM38_SMTR2_LFS | S1, S4 |
| 1 | 10K 1% | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R1 |
| 1 | 240 1% | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R6 |
| 1 | 32.768K CL=12.5pF | Cristal_TEDUN:Y3215 | XT1 |
| 1 | 33 5% | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R5 |
| 1 | 5.1K | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R75 |
| 1 | 680K 1% | Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R31 |
| 1 | AP7343Q-09W5-7 | Package_TO_SOT_SMD:SOT-23-5 | U4 |
| 1 | ASE-25.000MHZ-L-C-T | Oscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mm | X2 |
| 1 | Conn_01x02_5V | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J5 |
| 1 | Conn_01x02_IN | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | Conn_01x02_OUT | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J6 |
| 1 | Conn_01x02_UART_T8 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J4 |
| 1 | Conn_01x05_Pin | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J3 |
| 1 | D1s-eLQFP128 | F133A:F133A_QFP129 | U2 |
| 1 | FAN2558S18X | FAN2558S33X:FAN2558S33X | U1 |
| 1 | FAN2558S33X | FAN2558S33X:FAN2558S33X | U7 |
| 1 | GREEN | LED_SMD:LED_0402_1005Metric_Pad0.77x0.64mm_HandSolder | DS3 |
| 1 | LM3880MF-1AD/NOPB | Package_TO_SOT_SMD:SOT-23-6 | U6 |
| 1 | T8Q144C3 | T8Q144C3:QFP50P2200X2200X160-144N | U5 |
| 1 | TF5033981892 | SD_TEDUN:TFCARD-1040310811 | J1 |
| 1 | TPS73101DBVR | Package_TO_SOT_SMD:SOT-23-5 | U8 |
| 1 | TPS78228DDCR | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | XTAL2520-24M CL=18PF | Oscillator:Oscillator_SMD_ECS_2520MV-xxx-xx-4Pin_2.5x2.0mm | X1 |
Similar boards
- 2 layers28 × 25.5 mm

- 4 layers65 × 40 mm

HEXBERRY V-20Q100
logitiles/HEXBERRY-V-20Q100-0.91
Open Hardware FPGA platform
195 parts4CERN-OHL-S-2.0 - 4 layers20 × 28.5 mm

- 2 layers89.2 × 82.6 mm

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 mm

- 2 layers99.1 × 90.7 mm

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 mm

- 2 layers262 × 113.9 mm

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.