Skip to the content
4 layers85 × 54 mmManila ice, the printed circuit board in 3D

Lattice iCE HX4K Development Board

Size
85 × 54 mm
Copper layers
4
Thickness
1.6 mm
Parts
158
Nets
189
Pads
693
Tracks, vias
18,955, 390
Pours
26
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
17 Oct 2019
Updated
2 Mar 2021

Overview

Manila ice is an open-source printed circuit board by joshtyler, from the joshtyler/manila-ice repository on GitHub. It is a 4-layer board of 85 × 54 mm with 158 parts on 189 nets, routed with 18,955 tracks and 390 vias.

It is built around the ICE40HX4K-TQ144, CH340E and RTL8211EG-VB-CG, with the TPS54331D, W25Q128JVSIQ and SRV05-4 among its other parts. Its parts include 56 capacitors, 48 resistors, 15 ICs, 13 diodes and 5 connectors. It belongs with the fPGA and programmable logic and microcontroller boards boards and the FPGA and CPLD boards of this library.

Main components

11

README

README.md

manila iCE

manila iCE is a credit card sized Lattice iCE40 development board.

Quick links:

PCB

Features:

  • Credit card sized (85x54mm)
  • iCE40 HX4K FPGA (usable as an 8k device in yosys)
  • Gigabit Ethernet
  • 128Mbit SDRAM
  • Two dual row PMODs
  • 128Mbit QSPI flash
  • USB UART (2Mbaud speed)
  • 50MHz oscillator
  • 64kbit I2C EEPROM
  • 8 LEDs
  • 2 push buttons
  • 3A 3V3 and 1V2 power supplies

Bootloader

The board has a bootloader which supports loading of FPGA bitstreams over UART. Four slots for bitstreams are supported. The first is reserved for the bootloader itself, and the other three can hold user images.

The FPGA is configured with the bootloader on powerup, and then automatically boots into the first bitstream after a timeout. Alternate bitstreams can be selected using the buttons, or by UART command.

Example applications

The following applications are provided to demonstrate functionality of the PCB:

  • UART loopback
  • SDRAM controller
  • Gigabit ethernet loopback

Programming Application

To support uploading user applications, a Linux software utility is provided to update any of the bitstream slots.

To install the software checkout this repository, and run the following commands:

  1. cd sw/scripts
  2. make
  3. make install

You will now have an executable called manila in your path.

To program the FPGA:

  1. Plug in the board with USB
  2. Press either of the switches to pause the boot process (optional if you're quick!)
  3. manila prog [path to bitstream]

To discover the optional arguments run manila prog without any arguments.

SPI Flash

The SPI flash memory is laid out as follows:

Flash Layout

The bootloader partition is protected to prevent accidental erasure.

Bootloader Upgrades

In order to allow for firmware upgrades the protection is volatile. When the firmware is configured with the bootloader, before UART commands are accpeted it sends commands to the SPI flash to write protect the bootloader region, and then locks out that configuration until the SPI flash is power cycled.

TODO: document process for upgrading bootloader

PCB Errata

  • v1.0 - No known issues affecting functionality
    • LEDs in ethernet phy do not light due to symbol error
    • Silkscreen box around phtograph on back does not fully enclose image after fab
    • Caption for photograph on back is difficult to read

Parts

158
QtyValueFootprintReferences
35100nCapacitor_SMD:C_0603_1608MetricC1, C2, C11, C13, C15, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26, C27 +19
111kResistor_SMD:R_0603_1608MetricR1, R2, R31, R32, R33, R34, R35, R36, R37, R38, R39
11LEDDiode_SMD:D_0805_2012Metric_CastellatedD1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11
1010kResistor_SMD:R_0603_1608MetricR7, R9, R27, R28, R29, R30, R40, R41, R42, R48
104k7Resistor_SMD:R_0603_1608MetricR10, R11, R12, R13, R14, R15, R16, R17, R21, R22
822uCapacitor_SMD:C_0603_1608MetricC10, C42, C43, C44, C46, C52, C53, C54
7SRV05-4Package_TO_SOT_SMD:SOT-23-6U9, U10, U11, U12, U13, U14, U15
5TestPointTestPoint:TestPoint_Pad_D1.0mmTP1, TP2, TP3, TP4, TP5
44u7Capacitor_SMD:C_0603_1608MetricC14, C16, C28, C31
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_PadH1, H2, H3, H4
3100Resistor_SMD:R_0603_1608MetricR25, R26, R47
3100uCapacitor_Tantalum_SMD:CP_EIA-3528-21_Kemet-BC9, C45, C55
32k4Resistor_SMD:R_0603_1608MetricR4, R6, R19
32u2Inductor_SMD:L_Sunlord_MWSA0518_5.4x5.2mmL1, L2, L3
3510Resistor_SMD:R_0603_1608MetricR18, R20, R23
3SW_SPSTButton_Switch_SMD:SW_Push_1P1T_NO_5.1x5.1mmSW1, SW2, SW3
210nCapacitor_SMD:C_0603_1608MetricC40, C50
210pCapacitor_SMD:C_0603_1608MetricC12, C48
21nCapacitor_SMD:C_0603_1608MetricC39, C49
243kResistor_SMD:R_0603_1608MetricR43, R44
2Conn_02x06_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_HorizontalJ4, J5
2SG-7050CANOscillator:Oscillator_SMD_SeikoEpson_SG8002CA-4Pin_7.0x5.0mmX1, X2
2SS54Diode_SMD:D_SMAD12, D13
2TPS54331DPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU3, U4
10RResistor_SMD:R_0603_1608MetricR24
1180kResistor_SMD:R_0603_1608MetricR46
11k2Resistor_SMD:R_0603_1608MetricR5
1360kResistor_SMD:R_0603_1608MetricR45
17k5Resistor_SMD:R_0603_1608MetricR3
191Resistor_SMD:R_0603_1608MetricR8
1CH340EPackage_SO:MSOP-10_3x3mm_P0.5mmU2
1Conn_01x08SOICBite:SOIC_clipProgSmallJ3
1GZ2012D101TFInductor_SMD:L_0805_2012MetricFB1
1ICE40HX4K-TQ144Package_QFP:TQFP-144_20x20mm_P0.5mmU6
1M24C01-RMNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU8
1Make with KiCad logoSymbol:KiCad-Logo2_5mm_SilkScreenSYM2
1OSHW logoSymbol:OSHW-Logo_5.7x6mm_SilkScreenSYM1
1RB1-125B8G1AConnector_RJ:RJ45_UDE_RB1-125B8G1AJ2
1RTL8211EG-VB-CGPackage_DFN_QFN:QFN-64-1EP_9x9mm_P0.5mm_EP3.8x3.8mm_ThermalViasU5
1Shetland pictureArt:Shetland_combinedSYM3
1USB_BConnector_USB:USB_B_OST_USB-B1HSxx_HorizontalJ1
1W25Q128JVSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU7
1W9812G6KH-6Package_SO:TSOP-II-54_22.2x10.16mm_P0.8mmU1

Similar boards

  • 2 layers140 × 90 mmDual adc usb v1, the printed circuit board in 3D

    Dual adc usb v1

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    174 parts10
  • 2 layers170 × 170 mmQMTechBaseBoard, the printed circuit board in 3D

    QMTechBaseBoard

    carlosedp/QMTechBaseBoard

    BaseBoard design for QMTech Kintex 7 FPGA

    71 parts25MIT
  • 4 layersSam9260 qfp, the printed circuit board in 3D

    Sam9260 qfp

    Kedy1ykh/SAM9260_firstcomp

    172 parts
  • 2 layers175 × 60 mmUsb rs485 switch, the printed circuit board in 3D

    Usb rs485 switch

    ucw-gadgets/usb-rs485_switch

    8x RS-485 switch and USB convertor

    357 parts
  • 2 layers36.8 × 37 mmFlopagon, the printed circuit board in 3D

    Flopagon

    hairymnstr/Flopagon

    A floppy disk styled flash storage device for the EMF Camp Tildagon

    17 parts12CERN-OHL-P-2.0
  • 2 layers94 × 54 mmReflow master, the printed circuit board in 3D

    Reflow master

    electrodonkey/roza_reflow_hw

    Reflow controller

    102 partsMIT
  • 2 layers85 × 170 mmCore64 LB v0.4, the printed circuit board in 3D

    Core64 LB v0.4

    ageppert/Core-64-Interactive-Core-Memory-Badge

    64 bits of core memory and LEDs to interact with directly using a magnetic wand.

    146 parts17GPL-3.0
  • 2 layers130 × 110 mm3D Printer Mainboard STM32, the printed circuit board in 3D

    3D Printer Mainboard STM32

    m47812/Custom-3D-Printer-Controller

    A fully custom 3D Printer controller board based on an stm32f7 controller with TMC2209 stepper drivers

    191 parts10GPL-3.0

Questions

How big is the Manila ice PCB?

It measures 85 × 54 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Manila ice use?

158 parts, built around the ICE40HX4K-TQ144, CH340E, RTL8211EG-VB-CG and TPS54331D. 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 Manila ice KiCad files?

From the joshtyler/manila-ice repository on GitHub, at the commit this page was made from: the board is hw/manila_ice.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Manila ice design in my own project?

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