Skip to the content
4 layers99.4 × 107.3 mmMLAB MCU pcb, the printed circuit board in 3D

PCB for testing the MLAB_MCU project

Size
99.4 × 107.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
96
Nets
79
Pads
303
Tracks, vias
489, 210
Pours
6
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
13 Jul 2026
Updated
15 Sep 2026

Overview

MLAB MCU pcb is an open-source printed circuit board by ktu-proto-lab, from the ktu-proto-lab/MLAB_MCU_pcb repository on GitHub. It is a 4-layer board of 99.4 × 107.3 mm with 96 parts on 79 nets, routed with 489 tracks and 210 vias.

It is built around the INA4180A1IPW, 24LC512-I/P and DSC1101DL5-020.0000, with the TPS7A2033PDBVR-TP, SMAJ6.0A and SS34 among its other parts. Its parts include 34 resistors, 23 connectors, 17 capacitors, 12 diodes and 5 ICs.

Main components

7

README

README.md

MLAB_MCU Test PCB

Test board for the taped-out MLAB_MCU (top level: ibex_simple_system), packaged in a QFN32 / MLP5X5-32 open-cavity package.

Socket: https://lt.farnell.com/3m/232-5205-01/test-socket-qfn-32pos-0-5mm-th/dp/2668401?cfm=true

Two board versions, one schematic project:

VersionPurposeNotes
A - Socketed (Priority)Screening / characterisation of multiple diesFull instrumentation.
B - Direct solder (Future)Demo, long-term lab setupSame schematic, instrumentation depopulated (fixed LDOs, fixed oscillator).

1. Chip summary

  • Ibex RV32IMC core, Wishbone shared interconnect
  • IMEM 8 kB, DMEM 4 kB
  • Peripherals: I2C master, UART master, GPIO(10), timer
  • Bootloader loads firmware from an external I2C EEPROM (24CS512), writes back SRAM contents to another region of the EEPROM, then releases rst_core
  • Full scan chain, enabled by test_mode (active high)
  • Timing closed at 80 MHz (clk_sys)

Top-level chip ports

text
VDD, VSS, VDDPAD, VSSPAD       // 1.2 V core, 3.3 V pad ring
clk_sys_Pad                    // input
rst_sys_n_Pad                  // input, active low
SDA_Pad, SCL_Pad               // inout
ext_pad[9:0]                   // inout
test_mode_Pad                  // input, active high

Pin function map

Pintest_mode = 0test_mode = 1
ext_pad[0]GPIO0/UART_RX-
ext_pad[1]GPIO1/UART_TX-
ext_pad[2]GPIO2scan_in (sdi)
ext_pad[3]GPIO3scan_out (sdo)
ext_pad[4]GPIO4scan_en
ext_pad[5..9]GPIO5..9-
clk_sys_Padsystem clockscan shift clock
rst_sys_n_Padsystem resetscan reset

Packaging / grounds

  • Package base contact = GND. All unused package pins are bonded to the base.
  • VSSCORE and VSSPAD are connected over this same base contact - a single ground on the PCB.

2. Power

Two rails, common ground.

RailNominalTarget accuracy at the pin
VDD (core)1.2 V±2 % from the regulator, ±5 % worst case at the pin
VDDPAD (I/O)3.3 V±2 % / ±5 %

Rationale: timing libraries are characterised at ±10 %, and the worst IR drop seen in power analysis was 20 mV.

Requirements

  • Two LDOs generating 1.2V and 3.3V with input connected to the same external 5V. Both rails brought through a jumper so that it can be disconnected and a bench SMU can replace the on-board LDO (for bringup and later a VDD-vs-Fmax test).
  • Current sense: high-side shunt + INA4180 on each rail - for amplified current sensing (don't know if necesary), SMA on the output to see high frequency Also bypass for bringup. Option for low-side shunt.
  • Decoupling: 100 nF per supply pin, placed at the package. 1–10 µF bulk per rail.

3. Clock

clk_sys closed timing at 80 MHz, so the clock net is the fastest thing on the board.

Requirements

  • Clock brought out to a SMA connector for external generator (for bringup and precise sweeps). 50 Ω shunt to ground at the connector. Some protection in case wrong amplitude from the generator? TODO: ask RF people!
  • Fixed CMOS oscillator at 20MHz (regular operation, for SCL=100kHz).
  • Header for FPGA (slow scan shifting clock).
  • 3-pos jumper to choose between the CMOS oscillator and external source through SMA + 2-pos jumer for clk from FPGA.

4. Reset

rst_sys_n_Pad is a wired-OR: any source asserting low wins, a single pull-up is the only high source.

  • 10 kΩ pull-up to VDDPAD on rst_sys_n_Pad.
  • SPDT slide switch as the manual bring-up reset: one throw ties the pole to GND, the other to VDD.
  • FPGA pin, configured open-drain, for software-controlled reset.
  • Debounce capacitor on the net.
  • Pads have Schmitt-trigger inputs, so no external buffer is needed on the RC edge.

5. test_mode and scan

test_mode is active high.

  • 10 kΩ pull-down on test_mode_Pad, plus a header so that FPGA could force it high.

  • Scan pins ext_pad[2] (sdi), ext_pad[3] (sdo), ext_pad[4] (scan_en) should stay electrically clean when scan is used - no LED, no pull-up/down.

  • Note: scan shifting uses clk_sys, so the external clock path must pass DC-to-80 MHz.


6. Boot EEPROM and I2C

  • Socket for the 24CS512 (DIP-8 socket so firmware images can be swapped by swapping the EEPROM).
  • Header in parallel with the EEPROM for FPGA emulation of the I2C slave. If the header is used, the EEPROM is removed. No isolation logic.
  • Pull-ups: 4.7 kΩ on SDA and SCL. At 80MHz clk_sys SCL will be 400kHz, for that add another set of 4.7 kΩ as DNP in parallel.
  • A0..A2 and WPall tied to GND as in earlier testing.
  • Test points on SDA and SCL. Plus ground probe loop.
  • Sensor header: a 4-pin (3V3 / GND / SDA / SCL) header on the same bus so an I2C sensor breakout can be plugged in for peripheral testing. Nothing populated by default.

7. GPIO and UART

  • Series resistor 33 Ω on every ext_pad to limit max current (IO pad can source 16mA).
  • LEDs+1kΩ resistor, each with a disconnectable jumper.
  • Test point on every ext_pad. (Reuse the header)
  • UART: no on-PCB bridge - use an external one from the header.

8. FPGA / host interface

  • If we use the PYNQ-Z2 3.3 V logic on both sides, so no level shifting needed.
  • One header carrying: clk_sys, rst_sys_n, test_mode, all 10 ext_pad, SDA, SCL, 3V3, GND.

9. PCB and mechanical

  • 4-layer, with solid ground plane on L2 ??
  • Package base pad = GND, make sure to add contact for it
  • Silkscreen the pin function map (§1) on the board.

10. Bring-up order

  1. Bare board: check rails, no shorts. Chip not fitted.
  2. Fit chip. Power up IO ring and have the supply limited to 30mA or something
  3. Then power up the IO ring with the Core, supply current limited again
  4. Reset still held. Apply a slow clock and step it (1, 5, 10 MHz). Core current should rise roughly linearly with frequency, if not - clock isn't reaching the die. If jumps to something large - contention or latch-up.
  5. T1 from §12. test_mode = 1: shift a known pattern through sdi -> sdo. This proves the die is alive and the pad ring works, before any firmware exists.
  6. EEPROM fitted. Release reset, verify writeback works.(Can skip to GPIO example). Use 20MHz clock.
  7. EEPROM fitted with a blink program. Release reset, watch a GPIO toggle.
  8. UART hello-world.
  9. Ramp clock to 80 MHz, then shmoo.

11. Test plan

T1 - Scan chain integrity (structural)

Shift a known pattern (walking 1, PRBS) through sdi -> sdo at a slow clock, compare.

  • Answers: is the die alive, is the pad ring alive, is the chain unbroken?
  • Needs: test_mode header, clean ext_pad[4:2] to FPGA header, slow clock path.
  • Why first: no firmware, no EEPROM. Cheapest go/no-go.
  • Future test: re-run at increasing shift frequency to find scan-shift Fmax.

T2 - Static power

Measure VDD and VDDPAD current with reset held and clock stopped, sweeping VDD.

  • Answers: leakage vs supply; compares against the PnR power estimate.
  • Needs: bench VDD.

T3 - Dynamic power

At fixed VDD, sweep clock frequency and record core current. Repeat for a few VDD points.

  • Answers: slope gives effective switched capacitance (I = C_eff · V · f), intercept gives leakage. Direct measured-vs-simulated comparison with the PnR power analysis.
  • Needs: swept clock, INA226, a firmware workload with a stable activity factor (idle loop vs. busy loop gives two useful data points).

T4 - Shmoo: Fmax vs VDD

For each (VDD, frequency) point: reset, boot, run a self-test, check pass/fail.

  • Answers: how much margin the 80 MHz signoff actually had.
  • Needs: adjustable VDD, swept clock, software-controlled reset, a fast pass/fail signal (see below).
  • Pass/fail signal: firmware runs a checksum over a known computation and toggles a GPIO at a distinct rate on pass; anything else is a fail. Must complete in ms, not seconds, or the sweep takes all day.

T5 - Boot, memory, and writeback

The bootloader loads firmware from EEPROM into IMEM/DMEM, then reads the SRAMs back out to a separate EEPROM region. Useful for debugging if the IC doesn't work. Can also perform thorough memory integrity testing.

T6 - Peripherals

PeripheralTest
GPIOWalking-1 out, read back via FPGA header; check drive strength / rise time
TimerCompare programmed interval against scope / FPGA counter; measure drift
UARTSweep baud rate, find max reliable rate; check baud error at 115200
I2C masterTalk to a sensor on the header; sweep SCL frequency, check timing conformance

T7 - Die-to-die variation

Repeat T1–T4 across all packaged parts using the socketed board.

  • Answers: yield, spread of Fmax and leakage across dies.
  • Needs: the socket, and the whole loop scripted end-to-end.

T9 - Robustness

  • Reset behaviour: glitch reset, brown-out VDD, check recovery. TBD further

T10 - Benchmark

CoreMark at max stable frequency.

T11 - Scan-chain testing with automatically generated test patterns

Use ATPG test patterns for a high coverage scan-chain test

Parts

96
QtyValueFootprintReferences
11Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4, J5, J6, J8, J10, J13, J21, J22, J25, J26, J27
101kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR22, R23, R24, R25, R26, R27, R28, R29, R30, R31
1030Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR11, R12, R13, R14, R15, R16, R17, R18, R19, R20
10LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1, D2, D3, D4, D5, D6, D7, D8, D9, D10
90.1uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C6, C7, C9, C10, C11, C14, C15, C16
71uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C4, C5, C8, C12, C13
44.7kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4, R5, R6, R8
4Conn_Coaxial1_mlab_mcu_fp:SMA-J-P-X-ST-TH1-MKTJ3, J9, J23, J24
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
31Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7, R21, R32
3100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR9, R33, R34
310kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2, R10
2Conn_02x05_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ31, J32
2Conn_02x06_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_HorizontalJ11, J12
1232-5205-011_mlab_mcu_fp:CONN_232-5205-01_3MMJ28
124LC512Package_DIP:DIP-8_W7.62mm_SocketU4
147uCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC18
150Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ7
1DSC1101DL5-020.00001_mlab_mcu_fp:VDFN6_2P5X2_MCHU1
1INA4180A1Package_SO:TSSOP-14_4.4x5mm_P0.65mmU5
1Input HeaderConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1SMAJ6.0ADiode_SMD:D_SMAD12
1SS34Diode_SMD:D_SMAD11
1SWS065-030V12TSK_REVA1_mlab_mcu_fp:SW_SWS065-030V12TSK_REVAS1
1TBC05-02-1-G-GTerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_HorizontalJ1
1TPS7A2012PDBVRG4Package_TO_SOT_SMD:SOT-23-5U2
1TPS7A2033PDBVRPackage_TO_SOT_SMD:SOT-23-5U3

Similar boards

  • 2 layers350 × 70 mmRack Front Panel, the printed circuit board in 3D

    Rack Front Panel

    BayLibre/Labrack

    A standard 1U rack front panel metal sheet and PCB providing power, connectivity and more.

    50 parts1
  • 2 layers130.5 × 46 mmHaptic linear slider, the printed circuit board in 3D

    Haptic linear slider

    jdelgranchio/haptic-linear-slider

    A PCB for a motorized, haptic linear slider. An RP2354 (RP2350 with built-in flash) drives a Bourns PSM01 motorized slide potentiometer through a DRV8876 H-bridge.

    68 parts
  • 2 layers20 × 30 mmPower Button Press Automation, the printed circuit board in 3D

    Power Button Press Automation

    RICCIARDI-Adrien/Power_Button_Press_Automation

    A fully analog circuit to simulate a power button press.

    18 partsMIT
  • 4 layers130 × 100 mmR CoreLink, the printed circuit board in 3D

    R CoreLink

    Straasheijm/R-CoreLink-SCH-PCB

    262 parts
  • 2 layers49 × 50 mmPlant watering system, the printed circuit board in 3D

    Plant watering system

    Excse/plant-watering-system

    A completely selfmade smart watering system for plants of any kind integrated into HomeAssistant

    45 parts1
  • 4 layers144 × 127 mmFrothfet, the printed circuit board in 3D

    Frothfet

    hoeken/frothfet

    Yarrboard load controller board with current sense, volt sense, fuses, and sender support.

    394 parts14GPL-3.0
  • 4 layers66 × 46 mmRadar1, the printed circuit board in 3D

    Radar1

    HearnChristian/k-band-fmcw-radar

    24 GHz FMCW radar front-end in KiCad (WIP): ADF4159 chirp synth, BGT24LTR11 transceiver, custom Marki AMM-8211PSM driver-amp symbol/footprint, OPA1656 IF, ADS8353 ADC, FT2232H USB.

    99 parts3
  • 4 layers208 × 129 mmMainboard v2 r1, the printed circuit board in 3D

    Mainboard v2 r1

    Benjamin-girard-1/geophys_acquisition_module

    Modular ESP32-S3 geophysical data-acquisition system with custom hardware, multi-channel ADC, GNSS, IMU, removable analog sensor cards, firmware, and host tools

    287 parts

Questions

How big is the MLAB MCU pcb PCB?

It measures 99.4 × 107.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the MLAB MCU pcb use?

96 parts, built around the INA4180A1IPW, 24LC512-I/P, DSC1101DL5-020.0000 and TPS7A2033PDBVR-TP. 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 MLAB MCU pcb KiCad files?

From the ktu-proto-lab/MLAB_MCU_pcb repository on GitHub, at the commit this page was made from: the board is MLAB_MCU_pcb.kicad_pcb and its schematic MLAB_MCU_pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MLAB MCU pcb design in my own project?

Its repository states no licence, so its author keeps all rights: ask ktu-proto-lab before reusing the design.