Skip to the content
2 layers104.1 × 71.1 mmMinifp, the printed circuit board in 3D

This is an experimental project to connect Raspberry Pi with the help of cheap Cyclone IV FPGA board to 8-bit ISA bus to act as multiple different devices.

Size
104.1 × 71.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
49
Nets
153
Pads
369
Tracks, vias
668, 181
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
17 Jul 2022
Updated
11 Nov 2023

Overview

Minifp is an open-source printed circuit board by eigenco, from the eigenco/frankenpi repository on GitHub. It is a 2-layer board of 104.1 × 71.1 mm with 49 parts on 153 nets, routed with 668 tracks and 181 vias.

It is built around the ICE40HX1K-TQ144, AMS1117-1.2 and AMS1117-3.3, with the APS6404L-3SQR-SN and K66X-E15S-N among its other parts. Its parts include 22 resistors, 18 capacitors, 4 ICs, 4 connectors and 1 crystal. It belongs with the FPGA and CPLD boards of this library.

Main components

5

README

README.md

frankenpi

This is an experimental project to connect Raspberry Pi with the help of cheap Cyclone IV FPGA board to 8-bit ISA bus to act as multiple different devices.

What is currently implemented (to some degree), i.e. PC can access through ISA

  • Mass storage access from a file on the Raspberry Pi (written sectors are flushed every 2 seconds by default)
  • Adlib output to optical SPDIF
  • Sound Blaster 8-bit mono with DMA and IRQ (basic functions only), output to optical SPDIF
  • Gravis Ultrasound (basic wavetable only), output to optical SPDIF
  • Roland MT-32 (UART only), output to optical SPDIF
  • USB mouse plugged into the Raspberry Pi will appear as a kind of serial mouse in DOS, custom ctmouse driver is provided (start with /v)
  • Boot from custom TVGA9000i VGABIOS, i.e. no other devices are required to be present in the ISA bus besides FrakenPi and VGA-adapter

Youtube links:

https://www.youtube.com/watch?v=1ej76w8sHxY

https://www.youtube.com/watch?v=CkwgHHmKaSI

TESTED and working:

  • Wolfenstein 3D (SB & Adlib)
  • Second Reality (GUS)
  • Scream Tracker 3.21 (SB1 and GUS)
  • Skyroads (SB & Adlib)
  • Keen 4 (Adlib)
  • Monkey Island (Adlib/MT32/Mouse)
  • Space Quest 3 (Adlib/Mouse)
  • Space Quest 4 (Adlib/MT32/Mouse)
  • Lotus 3 (Adlib)
  • Lemmings (Adlib/Mouse)
  • Eye of the Beholder I & II (Adlib/Mouse)
  • Indiana Jones and the Fate of Atlantis (Adlib/MT32/Mouse)

Planned

  • General MIDI
  • MPU-401 support
  • Sound Blaster AWE32 wavetable support
  • Standard ATA at ports 1f0h-1f7h
  • Compatibility improvements
  • Boot ROM in the FPGA so hacked VGABIOS isn't required
  • VGA output

Used resources

  • Harddisk: ports 170h-171h
  • SoundBlaster: ports 22ah-22eh corresponding ot base address of 220h, IRQ 7 and DMA 1
  • MT32: 330h-331h
  • Gravis Ultrasound: ports 341h-347h corresponding to base address of 240h
  • Adlib: ports 388h-389h (standard)
  • Mouse: port 3f8h and IRQ 4 (COM1)
  • Bootcode for custom int 13h resides in hacked VGABIOS at the end of C0000-C7FFF memory region

Further explanation

  • Outgoing port operations are transferred from the FPGA to the Raspberry Pi GPIO using dedicated unidirectional 8-bit data bus
  • Incoming data from the Raspberry Pi GPIO (PCM, harddisk, mouse) is transferred using dedicated unidirectional 8-bit data bus
  • Raspberry Pi: CPU0 handles hdd flushing and mouse, CPU1 handles GPIO transfers, CPU2 handles Adlib, Gravis Ultrasound and MT32 (software selected)
  • Raspberry Pi operates with CPU1-CPU3 in isolated mode, all CPUs run at constant 1 GHz and sched_rt_runtime_us is -1
  • Raspberry Pi generates sound data 64 samples at a time (16-bit stereo corresponds to 256 bytes it must transfer every 1.45ms or so)
  • SPDIF is running in 24-bit 44100 Hz Stereo
  • Hardcoded harddisk type is CHS 256/16/63, i.e. approx. 126MiB

Plan for the next PCB

  • ICE40HX8K-CT256 (FPGA) seems to be available at Mouser
  • IS61WV102416FBLL-10TLI (2 MByte SRAM) seem to be available at Mouser
  • Created KiCAD project (PCB_v2)

Parts

49
QtyValueFootprintReferences
13100nCapacitor_SMD:C_0603_1608MetricC333, C334, C602, C603, C604, C605, C609, C622, C802, C901, C902, C903, C904
61k1Resistor_SMD:R_0603_1608MetricR2, R3, R9, R10, R16, R17
510uCapacitor_SMD:C_0603_1608MetricC601, C606, C607, C608, C801
318kResistor_SMD:R_0603_1608MetricR7, R14, R21
31kResistor_SMD:R_0603_1608MetricR1, R8, R15
32k2Resistor_SMD:R_0603_1608MetricR4, R11, R18
34k3Resistor_SMD:R_0603_1608MetricR5, R12, R19
39k1Resistor_SMD:R_0603_1608MetricR6, R13, R20
1100Resistor_SMD:R_0603_1608MetricR100
1830207044109BasicISA8:830207044109Y1
1AMS1117-1.2Package_TO_SOT_SMD:SOT-223-3_TabPin2U602
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U601
1APS6404L-3SQR-SNBasicISA8:SOIC127P600X175-8NIC102
1Bus_ISA_8bitBasicISA8:Conn_Bus_ISA8J1
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ808
1ICE40HX1K-TQ144Package_QFP:TQFP-144_20x20mm_P0.5mmU1
1K66X-E15S-NBasicISA8:K66XE15SNJ401
1Raspberry_Pi_2_3Connector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_VerticalJ4

More from eigenco/frankenpi

3
  • 2 layers104.1 × 71.1 mmMinifp, the printed circuit board in 3D

    Minifp

    eigenco/frankenpi

    This is an experimental project to connect Raspberry Pi with the help of cheap Cyclone IV FPGA board to 8-bit ISA bus to act as multiple different devices.

    69 parts139
  • 2 layers102.8 × 73.8 mmCPU, the printed circuit board in 3D

    CPU

    eigenco/frankenpi

    This is an experimental project to connect Raspberry Pi with the help of cheap Cyclone IV FPGA board to 8-bit ISA bus to act as multiple different devices.

    18 parts139
  • 2 layersFPGA, the printed circuit board in 3D

    FPGA

    eigenco/frankenpi

    This is an experimental project to connect Raspberry Pi with the help of cheap Cyclone IV FPGA board to 8-bit ISA bus to act as multiple different devices.

    3 parts139

Similar boards

  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers94.5 × 74.4 mmAx58100-stm32-ethercat, the printed circuit board in 3D

    Ax58100-stm32-ethercat

    MetalMusings/MyOwnEtherCATDevice

    Documentation accompanying the "Make My Own EtherCAT device" video serie on Youtube.

    184 parts93
  • 2 layers101.6 × 147.3 mmKarabas pro revER, the printed circuit board in 3D

    Karabas pro revER

    andykarpov/karabas-pro

    FPGA based retrocomputer with FDD and HDD controllers

    223 parts37MIT
  • 2 layersTopBoard, the printed circuit board in 3D

    TopBoard

    Libre-Talk/Wave

    Smart Speaker satellite

    184 parts22
  • 4 layers68.7 × 53 mmIcey, the printed circuit board in 3D

    Icey

    darshg321/Icey

    an Uno-sized FPGA iCE40-UP5K board for learning!

    113 parts6CERN-OHL-P-2.0
  • 4 layers120 × 92 mmKehvm, the printed circuit board in 3D

    Kehvm

    knewter/kvm-board

    An open-source KVM-over-IP device built with a Milk-V Duo S (RISC-V) and ESP32-S3. Remotely control any computer's keyboard, video, and mouse over your network — at the hardware level, independent of the target's OS.

    70 parts2
  • 4 layers70 × 70 mmHdmi breakout, the printed circuit board in 3D

    Hdmi breakout

    dacut/hdmi-breakout

    PCB design for munging HDMI EDID signals

    77 parts
  • 4 layers143 × 162.5 mmVERA MODULE RBL, the printed circuit board in 3D

    VERA MODULE RBL

    gianlucarenzi/Vera-Module-RBL-XE

    [WORK IN PROGRESS - NOT WORKING] VERA video/audio module for ATARI XL/XE (PBI / cartridge, ESP32-S3 + iCE40)

    219 partsGPL-3.0

Questions

How big is the Minifp PCB?

It measures 104.1 × 71.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Minifp use?

49 parts, built around the ICE40HX1K-TQ144, AMS1117-1.2, AMS1117-3.3 and APS6404L-3SQR-SN. 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 Minifp KiCad files?

From the eigenco/frankenpi repository on GitHub, at the commit this page was made from: the board is ice40HX1K/minifp.kicad_pcb and its schematic KiCad/CPU.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Minifp design in my own project?

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