R
Chapter 3
Four-Digit, Seven-Segment LED Display
The Spartan ? -3 FPGA Starter Kit board has a four-character, seven segment LED display
controlled by FPGA user-I/O pins, as shown in Figure 3-1 . Each digit shares eight common
control signals to light individual LED segments. Each individual character has a separate
anode control input. A detailed schematic for the display appears in Figure A-2 .
The pin number for each FPGA pin connected to the LED display appears in parentheses.
To light an individual signal, drive the individual segment control signal Low along with
the associated anode control signal for the individual character. In Figure 3-1 , for example,
the left-most character displays the value ‘2’. The digital values driving the display in this
example are shown in blue. The AN3 anode control signal is Low, enabling the control
inputs for the left-most character. The segment control inputs, A through G and DP, drive
the individual segments that comprise the character. A Low value lights the individual
segment, a High turns off the segment. A Low on the A input signal, lights segment ‘a’ of
the display. The anode controls for the remaining characters, AN[2:0] are all High, and
these characters ignore the values presented on A through G and DP.
AN3 (E13)
0
AN2 (F14)
1
AN1 (G14)
1
AN0 (D14)
1
(E14)
0
A
a
a
a
a
0
B
(F13)
f
b
(G13)
f
b
f
b
f
b
1
C
(N16)
0
D
g
g
g
g
0
E
1
F
(R16)
e
c
(N15)
e
c
e
c
e
c
0
G
1 DP
d
dp
d
dp
d
dp
d
dp
(P15)
(P16)
UG130_c3_01_042704
Figure 3-1: Seven-Segment LED Digit Control
Table 3-1 lists the FPGA connections that drive the individual LEDs comprising a seven-
segment character. Table 3-2 lists the connections to enable a specific character. Table 3-3
shows the patterns required to display hexadecimal characters.
Spartan-3 FPGA Starter Kit Board User Guide
UG130 (v1.2) June 20, 2008
15
相关PDF资料
HW-SPAR3E-DISP-DK-UNI-G KIT DEV SPARTAN3E DISPLAY
HW-SPAR3E-SK-UK-G KIT STARTER SPARTAN-3E
HW-USB-II-G PLATFORM CABLE USB II
HW-USBN-2A ACCY USB DOWNLOAD CABLE STD SPD
HW-V4-ML401-USA EVALUATION PLATFORM VIRTEX-4
HW-V4-ML423-UNI-G EVALUATION PLATFORM VIRTEX-4
HW-V4SX35-VIDEO-SK-UK VIRTEX-4 VIDEO STARTER KIT
HW-V5-ML521-UNI-G EVALUATION PLATFORM VIRTEX-5
相关代理商/技术参数
HW-T126 制造商:IDEC Corporation 功能描述:120V/6V Xfrmr w/G Trmnls
HW-T246 制造商:IDEC CORPORATION 功能描述:240V/6V Xfrmr w/G Trmnls
HWT9/17 制造商:Talco Tool Storage 功能描述:9 TRAY CANTILEVER TOOLBOX
HW-USB-1A 功能描述:程序设计器配件 ispDOWNLOAD Cable - USB CONNECTION RoHS:否 制造商:Lattice 产品:ispDOWNLOAD Cables 用于:In-system Programming
HW-USB-2A 功能描述:程序设计器配件 ispDOWNLOAD Cable USB Connection RoHS:否 制造商:Lattice 产品:ispDOWNLOAD Cables 用于:In-system Programming
HW-USB-FLYLEADS-G 功能描述:BOARD ADAPTER AND FLY LEADS RoHS:是 类别:编程器,开发系统 >> 配件 系列:- 标准包装:1 系列:- 附件类型:适配器板 适用于相关产品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
HW-USB-G 功能描述:PLATFORM CABLE USB RoHS:是 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
HW-USB-IIG 制造商:Xilinx 功能描述:CABLE PROGRAM & CONFIG USB 制造商:Xilinx 功能描述:PLATFORM CABLE, CONFIGURATION/PROG 制造商:Xilinx 功能描述:PROGRAMMER, IN CIRCUIT, PLATFORM CONFIG AND PROG; Silicon Family Name:Virtex II, Spartan II; Core Architecture:FPGA; Core Sub-Architecture:Virtex, Spartan, XC4000; IC Product Type:Programmer, In-Circuit; Supply Voltage:5.25V ;RoHS Compliant: Yes