Lattice Semiconductor LatticeECP/EC FPGA SPI Serial Flash Programming Using ispJTAG Technical Note

Technical note describing how to program SPI Serial Flash on LatticeECP/EC FPGAs via the ispJTAG interface.


Lattice Semiconductor LatticeECP/EC FPGA SPI Serial Flash Programming Using ispJTAG Technical Note - cover page
Brand
Lattice Semiconductor
Category
Other Electronics
Document type
Application Note
Language
English
Pages
19
File format
PDF
File size
1.5 MB
Published
07 October, 2026
Updated
07 October, 2026
MD5 checksum
85F8EF853B70C360A407E81528E2E6D4

About this manual

This technical note explains the on‑board configuration of SPI Serial Flash memory for LatticeECP/EC FPGA families using the ispJTAG download cable. It covers hardware wiring, pin assignments, SPI/SPIX differences, flash density selection, and the software steps required in ispVM System.

The document provides detailed schematics, pin‑out tables for the download header, and a step‑by‑step programming procedure, including how to use the Soft SPI Interface and configure the CFG pins for SPI or SPIX operation.

What's inside

  • Introduction
  • Related Documents
  • SPI/SPIX Differences
  • SPI Serial Flash Sizing
  • SPI Serial Flash Interface
  • ispJTAG Interface
  • Hardware Schematic
  • Pin Locations for Wiring
  • Software
  • Programming Procedure

Specifications

Maximum CCLK frequency50 MHz
Maximum SPI Flash density for ECP20/EC205.3 Mb
Configuration mode pins for SPI Flash000 or 001

Frequently asked questions

What configuration mode pins are required for SPI Serial Flash?

Set CFG2, CFG1, CFG0 to 000 for standard SPI Flash or 001 for SPIX mode.

Which pins are used on the ispJTAG download header?

The header includes VCCJ, TDO, TDI, PROGRAMN, TRST, TMS, TCK, GND, DONE and INITN pins.

How do I select the appropriate SPI Flash density for my FPGA?

Refer to Table 20‑3; the flash size must be at least the minimum required for the FPGA density (e.g., ECP20/EC20 needs 5.3 Mb).

What software steps are needed to program the flash via ispJTAG?

Connect the ispDOWNLOAD cable, launch ispVM System, scan for the device, select SPI Flash Programming, choose the target flash, load the bitstream, and start programming.

Download PDF (1.5 MB)