Lattice Semiconductor · Dev board
Lattice iCEstick
A USB stick with an iCE40HX1K FPGA, five LEDs, an IrDA transceiver, a Pmod socket and 16 spare I/O on two through-hole headers.
- Logic level
- 3.3 V
- Package
- USB stick form factor (iCE40HX1K-TQ144). Two unpopulated 1x10 0.1 in headers (J1, J3) along the long edges and a 2x6 Pmod socket (J2) at the far end
1.Pinout diagram
Highlight a signalhover to preview, click to keep
J2 pins 1-6, then J1 (bank 0)
ICESTICK
J2 pins 7-12, then J3 (bank 2)
Pin detail
Hover a pin for its mappings and gotchas. Click to keep it here.
- Logic level
- 3.3 V
- Package
- USB stick form factor (iCE40HX1K-TQ144). Two unpopulated 1x10 0.1 in headers (J1, J3) along the long edges and a 2x6 Pmod socket (J2) at the far end
Fig. 1. Lattice iCEstick, USB stick form factor (iCE40HX1K-TQ144). Two unpopulated 1x10 0.1 in headers (J1, J3) along the long edges and a 2x6 Pmod socket (J2) at the far end. Hover or tap a signal to light up every pin that carries it.
2.Caution
- All user I/O are 3.3 V LVCMOS and not 5 V tolerant. The datasheet's absolute maximum for any I/O is 3.60 V, so a 5 V signal needs a level shifter or divider.
- Never assign FPGA pin 21 as an output. It is the 12 MHz clock input, and the same net drives the FTDI chip's OSCI pin. Driving it breaks the FTDI's clock, and once such a design is in flash the board can no longer be programmed until resistor R18 is removed. This is the user guide's own Known Issue.
- Program the SPI flash only. NVCM programming is one-time, and the user guide warns the FPGA can never be reprogrammed after it.
- The FT2232H's first channel is wired to the N25Q032 SPI flash and to the FPGA's CRESET_B and CDONE pins, so the programmer can reset the FPGA and write the flash. The flash uses the FPGA's dedicated SPI pins (67, 68, 70, 71), none of which reach a header.
- The FT2232H's second channel is a UART to the FPGA on bank 3. The FPGA receives on pin 9 (net RS232_Rx_TTL) and transmits on pin 8 (net RS232_Tx_TTL). The handshake lines are DCDn on pin 1, DSRn on pin 2, DTRn on pin 3, CTSn on pin 4 and RTSn on pin 7. The board shows up as two serial ports, and the user guide says to pick the last one.
- The 12 MHz clock is a Discera MEMS oscillator (X1) on FPGA pin 21, which is global buffer input GBIN6 (PIO3_00). The HX1K in this package has one PLL for faster clocks.
- LEDs D1 to D4 are red and sit in a diamond: D1 on pin 99 (PIO1_14), D2 on 98 (PIO1_13), D3 on 97 (PIO1_12), D4 on 96 (PIO1_11). D5 is green, on pin 95 (PIO1_10). All are in bank 1.
- The Vishay TFDU4101 IrDA transceiver (up to 115 kbps) uses TXD on pin 105 (PIO1_18), RXD on pin 106 (PIO1_19) and the SD shutdown input on pin 107 (PIO1_20).
- None of the 24 header I/O is a global buffer input. An external clock brought in on a header reaches the logic through general routing.
- Before configuration every I/O is tri-stated with a weak pull-up to 3.3 V, so header pins read high until the design loads.
- The HX1K is small: 1,280 logic cells (one LUT4 and one flip-flop each) and 64 Kbit of block RAM. A soft CPU fits only if it is a tiny one.
- The header names (PIO0_02 and so on) are the schematic's net names. Lattice's own pin list calls the same pins IOT_, IOR_ and IOB_ names, and the silkscreen prints the TQ144 pin number, which is what goes in a PCF file. All three are searchable here.
- The diagram is drawn with the USB plug pointing down. J2 actually lies across the end of the board with pins 1 to 6 along the outer edge and pin 1 on the J3 side. It is drawn as two columns to match the user guide's table, where pin 1 sits beside pin 7.
- Test points: TP1 is 3.3 V, TP2 is the 1.2 V core rail and TP3 is ground. All three are unpopulated.
3.Full pin reference
Every pin, alias and mapping. This table is included when you print the page.
Table 1. Pin assignments.
| FPGA pin | Name | Also called | Functions | Notes |
|---|---|---|---|---|
| 78 | PIO1_02 | IOR_52 | J2 pin 1, Bank 1 | |
| 79 | PIO1_03 | IOR_53 | J2 pin 2, Bank 1 | |
| 80 | PIO1_04 | IOR_54 | J2 pin 3, Bank 1 | |
| 81 | PIO1_05 | IOR_55 | J2 pin 4, Bank 1 | |
| - | GND | Ground | J2 pin 5, Ground | |
| - | 3.3V3.3 V | 3V3, +3.3V | J2 pin 6, 3.3 V rail | |
| - | 3.3V3.3 V | 3V3, +3.3V | J1 pin 1, 3.3 V rail | Pin 1 is at the end nearest the Pmod connector. The silkscreen beside J1 reads 119-112, GND, 3.3V from pin 10 to pin 1. |
| - | GND | Ground | J1 pin 2, Ground | |
| 112 | PIO0_02 | IOT_73 | J1 pin 3, Bank 0 | |
| 113 | PIO0_03 | IOT_74 | J1 pin 4, Bank 0 | |
| 114 | PIO0_04 | IOT_75 | J1 pin 5, Bank 0 | |
| 115 | PIO0_05 | IOT_76 | J1 pin 6, Bank 0 | |
| 116 | PIO0_06 | IOT_77 | J1 pin 7, Bank 0 | |
| 117 | PIO0_07 | IOT_78 | J1 pin 8, Bank 0 | |
| 118 | PIO0_08 | IOT_79 | J1 pin 9, Bank 0 | |
| 119 | PIO0_09 | IOT_80 | J1 pin 10, Bank 0 | |
| 87 | PIO1_06 | IOR_56 | J2 pin 7, Bank 1 | |
| 88 | PIO1_07 | IOR_57 | J2 pin 8, Bank 1 | |
| 90 | PIO1_08 | IOR_58 | J2 pin 9, Bank 1 | |
| 91 | PIO1_09 | IOR_59 | J2 pin 10, Bank 1 | |
| - | GND | Ground | J2 pin 11, Ground | |
| - | 3.3V3.3 V | 3V3, +3.3V | J2 pin 12, 3.3 V rail | |
| - | 3.3V3.3 V | 3V3, +3.3V | J3 pin 1, 3.3 V rail | Square pad, at the end nearest the Pmod connector. The silkscreen beside J3 reads 44,45,47,48,56,60-62, GND, 3.3V from pin 10 to pin 1. |
| - | GND | Ground | J3 pin 2, Ground | |
| 62 | PIO2_17 | IOB_41 | J3 pin 3, Bank 2 | |
| 61 | PIO2_16 | IOB_40 | J3 pin 4, Bank 2 | |
| 60 | PIO2_15 | IOB_39 | J3 pin 5, Bank 2 | |
| 56 | PIO2_14 | IOB_37 | J3 pin 6, Bank 2 | |
| 48 | PIO2_13 | IOB_33 | J3 pin 7, Bank 2 | |
| 47 | PIO2_12 | IOB_32 | J3 pin 8, Bank 2 | |
| 45 | PIO2_11 | IOB_31 | J3 pin 9, Bank 2 | |
| 44 | PIO2_10 | IOB_30 | J3 pin 10, Bank 2 |
Primary sources
- Lattice iCEstick Evaluation Kit User's Guide (EB82), includes schematics ↗
- Lattice iCEstick product page ↗
- Lattice iCE40 LP/HX Family Data Sheet (FPGA-DS-02029) ↗
- Lattice iCE40 Pinout HX1K (pin list spreadsheet) ↗
- Lattice IrDA UART TX demo for iCEstick (includes iCEcube2 PCF) ↗
- Project IceStorm iCEstick PCF (cross-check) ↗
To fix a wrong pin, edit data/boards/icestick.json.