15-10
LatticeECP2/M sysCONFIG Usage Guide
The estimated time for configuration can be calculated by dividing the bitstream size (in bits) from Table 15-4 by the
CCLK frequency. The CCLK frequency can be set using the global preferences tab within the ispLEVER Design
Planner or the Spreadsheet View (Global Preferences tab) in Diamond. For more information on setting the CCLK
frequency, please see the Master Clock section and the D[0]/SPIFASTN pin section of this document.
When downloading an encrypted bitstream file to the LatticeECP2/M S-Series devices, the user must adhere to the
appropriate conditions for the CCLK signal. These conditions are shown in TN1109,
Table 15-6. SPI Serial Flash Vendor List
One FPGA, One SPI Flash
The simplest SPI configuration consists of one SPI Serial Flash connected to one LatticeECP2/M, as shown in
Figure 15-1. This is also the recommended method for use when downloading an encrypted bitstream file to the
LatticeECP2/M S-Series devices.
Figure 15-1. One FPGA, One SPI Serial Flash
Multiple FPGA, One SPI Flash
With a sufficiently large SPI Flash multiple FPGAs can be configured as shown in Figure 15-2. The first FPGA is
configured in SPI mode; the following FPGAs are configured in Slave Serial mode.
Vendor
Part Number
ST Microelectronics
M25Pxx
Winbond
W25Pxx
Silicon Storage Technology
SST25VFxx,
SST25LFxx
Spansion
S25FLxx
Atmel
AT25Fxx
NexFlash
NX25Pxx
Macronix MX25Lxx
Note: This is not meant to be an exhaustive list and may be updated
from time to time.
Lattice FPGA
SPI Mode
CCLK
DI/CSSPI0N
BUSY/SISPI
D7/SPID0
DOUT
CFG1
CFG0
SPIFASTN
SPI Serial
Flash
Q
C
CFG2
D0/SPIFASTN
PROGRAMN
DONE
D
/CS