Professional Documents
Culture Documents
User’s Guide
February 2014
EB84_01.0
iCE40 16-WLCSP Evaluation Kit
Introduction
Thank you for choosing the Lattice iCE40TM 16-WLCSP Evaluation Kit.
This guide describes how to begin using the iCE40 16-WLCSP Evaluation Kit, an easy-to-use platform for rapidly
prototyping system control designs using an iCE40 FPGA. Along with the evaluation board and accessories, this kit
includes the pre-loaded LED Driver Demo that demonstrates driving the IR, Bar Code and RGB LEDs with a PWM
circuit.
The contents of this user’s guide include demo operation, top-level functional descriptions of the various portions of
the evaluation board, descriptions of the on-board connectors, switches, a complete set of schematics and the bill
of materials for the iCE40 16-WLCSP Evaluation Board.
Note: Static electricity can severely shorten the lifespan of electronic components. Be careful when handling the
iCE40 16-WLCSP Evaluation Kit as to not damage it from ESD.
Features
The iCE40 16-WLCSP Evaluation Kit includes:
• iCE40 16-WLCSP Evaluation Board – The ICE40 16-WLCSP Evaluation Board features the following on-board
components and circuits:
– iCE40 (iCE40LP1K-SWG16) device in a 16-ball WLCSP package.
– Example of a board using this 0.35-pitch WLCSP package.
– High-current LED output
– Infrared transmit
– Barcode emulation
– 27MHz oscillator
– iCE40 Current Measurements
– Standard USB cable for device programming
– RoHS-compliant packaging and process
• Pre-loaded Demo – The kit includes a pre-loaded demo to control the onboard RGB LED in conjunction with a
software run GUI.
• USB Connector Cable – A mini B USB port provides power, a programming interface and communication for the
software RGB LED GUI to the ICE40 SPI port.
2
iCE40 16-WLCSP Evaluation Kit
Figure 1 shows the top side of the iCE40 16-WLCSP Evaluation Board indicating the specific features that are
designed on the board.
RGB LED
IR LED
Bar Code
LED
iCE40LP1K-16SWG
USB
Interface
Socket
Power Switch
iCE40 Device
The board features an ICE40LP1K FPGA with a 1.2V core supply. The device is packaged in a 16-ball WLCSP. For
a complete description of this device, see HB1011, iCE40 LP/LX/LM Family Handbook.
Software Requirements
You should install the following software before you begin developing designs for the board:
• Lattice iCEcube2 2013.08 (or higher)
• Diamond Programmer 2.2 (or higher)
These software are available at the Lattice website Design Software & IP page. Make sure you log in to www.lattic-
esemi.com, otherwise these software downloads will not be visible. It is also recommended to download the RGG
LED software GUI which interfaces with the iCE40 16-WLCSP Evaluation Kit. This GUI allows you to control the
RGB LED for color, brightness, blinking and breathing. Download the PC or MAC version of the GUI at www.lattic-
esemi.com.
3
iCE40 16-WLCSP Evaluation Kit
J24 = Enables
the SPI Flash J13 = Enables VCCIO
J25 = Program
J3 = Selects
SPI Flash or iCE40
VCCIO voltage level
J30 = Enables
power from USB
J26 = Selects
VCCIO voltage level
4
iCE40 16-WLCSP Evaluation Kit
Clock Sources
The board has two options for clock sources. The clock drives the iCE40LP1k device directly
J6 = Clock Selection
5
iCE40 16-WLCSP Evaluation Kit
Board Power
The board provides a number of power options:
• Board Power
– SW2 is the boards On/Off switch
- D3 Blue LED indicates power
– Power the board with USB power shunt J30 pins 1-2 (Default shunted)
– Power the board with a Dragon Board shunt J30 pins 2-3
• iCE40 ICC
– Supply Options
- Onboard 1.2V supply shunt J18 pins 1-2 (Default shunted)
- External 1.2V supply shunt J18 pins 2-3
– Current Measurement
- ICC can be measured with an ammeter on J14 (Default shunted)
• iCE40 ICCIO
– Supply Options
- VCCIO3_2_1_SPI 3.3V supply shunt J3 pins 1-2 (Default shunted)
- VCCIO3_2_1_SPI 2.5V supply shunt J3 pins 3-4
- VCCIO3_2_1_SPI 1.8V supply shunt J3 pins 5-6
- VCCIO0 3.3V supply shunt J26 pins 1-2 (Default shunted)
- VCCIO0 2.5V supply shunt J26 pins 3-4
- VCCIO0 1.8V supply shunt J26 pins 5-6
– Current Measurement
- ICC_3_2_1_SPI can be measured with an ammeter on J13 (Default shunted)
- ICC_0 can be measured with an ammeter on J12 (Default shunted)
6
iCE40 16-WLCSP Evaluation Kit
Details of the iCE40 Board for use in programming are shown in Figure 4.
CRESETB
M25P80-VMW6TG
iCE40LP1K-16SWG
J25 = iCE40 or
SPI Flash
USB Port
DONE LED
7
iCE40 16-WLCSP Evaluation Kit
Test Points
The board features a number of test points which provide access to the iCE40 I/Os:
2 1
4 3
LED_BLUE 6 5
{2} LED_BLUE LED_GREEN 8 7 CRSTb
{2} LED_GREEN LED_RED 10 9
{2} LED_RED flsh_cs {3,4}
clk 12 11
sensor3_flsh_mosi {3,4}
14 13
{3,4} sensor3_flsh_miso sensor3_flsh_sclk {3,4}
16 15
18 17 IR_LED {2}
VCORE {2} BAR_LED 20 19
22 21 CDONE {4}
24 23
sensor3_flsh_miso 2 1 sensor3_flsh_mosi
sensor3_flsh_sclk 4 3 flsh_cs
DRGN5V proc_intr 6 5
8 7
10 9
J9 = Test Points
8
iCE40 16-WLCSP Evaluation Kit
3. Connect the iCE40 16-WLCSP evaluation board via the USB cable to a PC or MAC.
9
iCE40 16-WLCSP Evaluation Kit
4. After the iCE40 device has initialized and the red barcode LED is flashing, change the J25 jumper positions to
vertical. Short pins 1-2 and 3-4. This is required to allow the USB port to communicate with the iCE40 device.
Figure 9. SPI Flash Selection Vertical Position for J25
Now you can control the RGB LED on the iCE40 16-WLCSP Evaluation board. You can set the color, brightness,
blinking rate as well as breathing.
10
iCE40 16-WLCSP Evaluation Kit
CSn
SCK
MOSI
ADDR [7:0] REG [15:8] REG [7:0]
SPI Protocol
Data on the MOSI serial line is transmitted MSB first.
Addr[7:0] – Controls which of the 16 bits are updated with REG data.
11
iCE40 16-WLCSP Evaluation Kit
Register Definitions
Default setting (hardware, software) is denoted by (*).
12
Breathe Ramp [3:0] Factor
0000* .0x (fast)
0001 .063x
0010 .125x
0011 .25x
0100 .5x
0101 1x
0110 2x
0111 4x (slow)
1000 -
1001 -
1010 -
1011 -
1100 -
1101 -
1110 -
1111 -
Revision History
Date Version Change Summary
February 2014 01.0 Initial release.
© 2014 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as
listed at www.latticesemi.com/legal. All other brand or product names are trademarks or registered trademarks of
their respective holders. The specifications and information herein are subject to change without notice.
5 4 3 2 1
D D
Figure 12. Block Diagram
POWER SUPPLIES
(from USB & optional
terminal block (for
VCC Core))
SPI-CS
CONFIG FLASH (SPI)
iCE40LP1k-WLCSP16 SPI/GPIO
SMA CONN
JUMPER SEL
Dragon Board
Connector
BOT BANK - at 3.3V
Aardvark
Connector
ALL LINES THROUGH
SENSOR INTERCONNECT
B CONNECTOR B
JUMPER SEL
IR LED (TX)
A A
Lattice Semiconductor Applications
Email: techsupport@Latticesemi.com
Title
Board Block Diagram
D D
BLUE LED
VF=3.1V, IF=10mA (Max 20mA)
RS=(5.0V-3.1V)/10mA=190Ohm
High Current LED IOL@3.3V=24mA
U16
Figure 13. Clocking and LEDs
RS=(5.0V-3.1V)/24mA=59.4Ohm
R65
J27
2 VCC5V GREEN LED
R64 VF=3.1V, IF=10mA (Max 20mA) Clock Selection
2 1
{3} LED_RED 4 3 127 3 1
{3} LED_GREEN
RS=(5.0V-3.1V)/10mA=190Ohm
6 5 DI
{3} LED_BLUE R63 IOL@3.3V=24mA Default: 1&2
SM_R_0603 J5 1
Default: Shunt 127 4 RS=(5.0V-3.1V)/24mA=79.2Ohm STDBY 2 (27 Mhz Osc)
DI
HEADER 3X2 SM_R_0603 VCCIO2 J6
150 RED LED EXT CLK SEL
DI LED TRI-COLOUR VF=1.9V, IF=10mA (Max 30mA) R25
SM_R_0603 RS=(5.0V-1.9V)/10mA=310Ohm 10k
C21
1
2
3
IOL@3.3V=24mA 0.1uF 4 1
RS=(5.0V-1.9V)/24mA=129Ohm VDD STDBY#
C C
R26
2 3 0
GND OUT
U8
ASFLMB-27.000MHZ-LC-T
{3} clk
R30
2k2 D2
B IR_LED {3} APT2012SRCPRV B
Q1
MMBT3904
{3} BAR_LED
BAR_IR_SEL
A A
Default: Shunt 1,2 (for IR LED) Lattice Semiconductor Applications
Email: techsupport@Latticesemi.com
Title
Clocking and LEDs
8
{2} LED_GREEN LED_RED 10 9 1 R33 VCCIO0
{2} LED_RED flsh_cs {3,4}
clk 12 11 3 VCC 10k
sensor3_flsh_mosi {3,4} WP
14 13
D {3,4} sensor3_flsh_miso sensor3_flsh_sclk {3,4} Default: Shunt D
16 15 1 7 R36
18 17 CS HOLD 10k
{2} BAR_LED IR_LED {2}
VCORE 20 19 sensor3_flsh_mosi 5
SDI Default: Open J15
22 21 CDONE {4} 2 sensor3_flsh_miso
24 23 sensor3_flsh_sclk 6 SDO
SCK GND 2 proc_intr
1
4
SENSOR INTERCONNECT AP & SENSOR INTERCONNECTS
CRST
J10 10 9
SPI PGM
R34 1
10k 2 CDONE
D3 For programming Flash - Shunt 1,3 and 2,4 (default) {3,4} sensor3_flsh_miso
Default: Open J11
Green {3,4} sensor3_flsh_sclk
IDD_BOT {3,4} flsh_cs
2 CRSTb {3,4} sensor3_flsh_mosi
1
B B
SPI CONFIGURATION / FLASH
USB_DP
USB_DM
1
6 DO C35 C36 C37
C38 VCC 3 EP_DI 27pF 27pF 0.1uF VCC3V3 3 2 1
5
4
3
2
1
0.1uF DI J16
3
2
1
GND
C40 S4 G ID D+ D- 5V S1
J30
EP_CS
EP_CLK
EP_DI
U11 10uF
93LC56BT-I/OT PWR SEL
C41 Default: 1&2
12MHz 0.1uF (USB 5V)
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
Figure 15. Configuration and Power
EECS
0.1uF 4.7uF
Gnd_6
EECLK
1 Default: 1&2
VREGIN
VCC3V3 GND 48
BCBUS7
BCBUS6
BCBUS5
BCBUS4
BCBUS3
BCBUS2
BCBUS1
EEDATA
PWREN#
VCCIO_1
Gnd_1 BCBUS0
VCORE_3
2 (VCORE = 1v2)
VREGOUT
47 J19
L3 3 OSCI Gnd_5 46 J18 VCORE VAR
4 OSCO BDBUS7 45 VCC3V3 CORE SEL
5 VPHY BDBUS6 44 VCC5V
600 ohm, 500 mA 12k R47 6 Gnd_7 BDBUS5 43 C44
REF BDBUS4 +
USB_DM R48 10 7 42 0.1uF U13
1
2
3
2
1
C DM VCCIO_2 C
USB_DP R49 10 8 41 FTVCOR VCC3V3 MIC5320-SJYD6 TR VCC1V2
9 DP U12 BDBUS3 40 C48 C49 C50 C51 VCC2V5
3
VCC3V3
1k R50
ADBUS1
ADBUS2
ADBUS3
VCCIO
ADBUS4
ADBUS5
ADBUS6
ADBUS7
Gnd_3
ACBUS0
ACBUS1
ACBUS2
ACBUS3
ACBUS4
VCCIO_3
ACBUS5
1
2
VCC5V
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
U14
VCC1V8 AP7312-1218W6-7
FT_DO C53 C54 C55 C56 VCC1V2
5
GND
FT_CDONE 1 TP6
SP 1 1 1
Title
Default: VCCIO2 = 3V3 Default: VCCIO0 = 3V3 Configuration, Power
1. Customer Supplied