gecko-addons:led-addon

LED Add-On Board

Add-on board compatible with the Gecko4 main only.

This is a board for performing different digital exercices.

Inputs:

  • 1 dip switch 8 poles
  • 6 push buttons
  • 2 joysticks 4 ways with a center push.

Outputs :

  • 64 LEDs array (32 green LEDs and 32 red LEDs)
  • 3 RGB LEDs
  • 3 seven segments

With Logisim (version with the FPGA Commander) you can easily create a circuit and then load it on the GEKO4main via USBTMC0.

If you are using the GeckoXSimple rev 1.0 you will see that the LED 8 will be on if you don't assign it to an output. With the rev 2.0 this bug is no more present.

Pin Name GECKO4main Description
1 DGND - System GND
2 DGND - System GND
3 nRESET - Global reset pin
4 GPIO1_0 AC25 LED 64
5 DGND - System GND
6 GPIO1_1 AC26 LED 63
8 DGND - System GND
9 DGND - System GND
11 GPIO1_2 Y25 LED 62
12 DGND - System GND
13 GPIO1_4 Y26 LED 61
14 GPIO1_3 W25 LED 59
15 GPIO1_6 W26 LED 60
16 GPIO1_5 V25 LED 58
17 GPIO1_8 U26 LED 53
18 GPIO1_7 U25 LED 57
19 GPIO1_10 T26 LED 56
20 GPIO1_9 T25 LED 49
21 GPIO1_12 R26 LED 55
22 GPIO1_11 R25 LED 50
23 GPIO1_14 P26 LED 54
24 GPIO1_13 P25 LED 51
25 GPIO1_16 AB23 LED 45
26 GPIO1_15 AB24 LED 52
27 GPIO1_18 U20 LED 48
28 GPIO1_17 V20 LED 41
29 DGND - System GND
30 DGND - System GND
33 DGND - System GND
34 DGND - System GND
41 DGND - System GND
42 DGND - System GND
43 DGND - System GND
45 DGND - System GND
46 DGND - System GND
53 DGND - System GND
54 DGND - System GND
55 DGND - System GND
56 DGND - System GND
61 M1_INA N26 LED 37
62 M1_ENA N25 LED 33
63 M1_INB M26 LED 38
64 M1_ENB M25 LED 34
65 M2_INA L26 LED 40
66 M2_ENA L25 LED 35
67 M2_INB K26 LED 39
68 M2_ENB K25 LED 36
69 M3_INA J25 LED 31
70 M3_ENA H26 LED 25
71 M3_INB H25 LED 32
72 M3_ENB D26 LED 26
73 M4_INA D25 LED 30
74 M4_ENA N20 LED 27
75 M4_INB N19 LED 29
76 M4_ENB M20 LED 28
77 LINESENSORIN1 M19 LED 47
78 LINESENSOROUT1 L20 LED 42
79 LINESENSORIN2 L19 LED 46
80 LINESENSOROUT2 K20 LED 43
81 SDA J20 LED 24
82 LINESENSORCLK H20 LED 44
83 SCL E23 LED 23
84 GPIO1_19 U21 LED 17
85 GPIO1_20 V23 LED 22
86 GPIO1_21 U22 LED 18
87 GPIO1_22 V24 LED 21
88 GPIO1_23 T21 LED 19
89 DGND - System GND
90 DGND - System GND
91 GPIO1_24 U23 LED 20
92 GPIO1_25 T22 LED 9
93 GPIO1_26 U24 LED 16
94 GPIO1_27 R21 LED 10
95 GPIO1_28 T23 LED 15
96 GPIO1_29 R22 LED 11
97 GPIO1_30 R24 LED 14
98 GPIO1_31 P21 LED 12
99 GPIO1_32 P23 LED 13
100 GPIO1_33 P22 LED 1
101 GPIO1_34 P24 LED 5
102 GPIO1_35 N22 LED 2
103 GPIO1_36 N24 LED 6
104 GPIO1_37 N21 LED 3
105 GPIO1_38 N23 LED 7
106 GPIO1_39 M22 LED 4
107 GPIO1_40 M24 LED 8
109 GPIO1_42 L23 Joystick 1 NORTH
110 GPIO1_43 L22 Joystick 2 Center push
111 GPIO1_44 K24 Joystick 1 EAST
112 GPIO1_45 L21 Joystick 2 WEST
113 GPIO1_46 K23 Joystick 1 SOUTH
114 GPIO1_47 K22 Joystick 2 NORTH
115 GPIO1_48 J24 Joystick 1 Center push
116 GPIO1_49 K21 Joystick 2 EAST
117 GPIO1_50 J23 Joystick 1 WEST
118 GPIO1_51 J22 Joystick 2 SOUTH
119 DGND - System GND
120 DGND - System GND

Unlisted pins are unused

Pin Name GECKO4main Description
1 DGND - System GND
2 DGND - System GND
63 GPIO2_60 M7 LED RGB3 Green
64 GPIO2_61 M8 7 Segment 2 seg b
65 GPIO2_62 L7 LED RGB3 Red
66 GPIO2_63 L8 7 Segment 2 seg a
67 GPIO2_64 K7 LED RGB3 Blue
68 GPIO2_65 J7 7 Segment 2 seg f
69 GPIO2_66 H7 LED RGB2 Green
70 GPIO2_67 G7 7 Segment 2 seg g
71 GPIO2_68 N5 LED RGB2 Red
72 GPIO2_69 N6 7 Segment 2 seg DP
73 GPIO2_70 M5 LED RGB2 Blue
74 GPIO2_71 M6 7 Segment 2 seg c
75 GPIO2_72 L5 LED RGB1 Green
76 GPIO2_73 L6 7 Segment 2 seg d
77 GPIO2_74 K5 LED RGB1 Red
78 GPIO2_75 K6 7 Segment 2 seg e
79 GPIO2_76 J5 LED RGB1 Blue
80 GPIO2_77 J6 7 Segment 3 seg DP
81 GPIO2_78 H5 7 Segment 3 seg b
82 GPIO2_79 H6 7 Segment 3 seg c
83 GPIO2_80 G5 7 Segment 3 seg a
84 GPIO2_81 G6 7 Segment 3 seg d
85 GPIO2_82 N3 7 Segment 3 seg f
86 GPIO2_83 N4 7 Segment 3 seg e
87 GPIO2_84 M3 7 Segment 3 seg g
88 GPIO2_85 L4 7 Segment 1 seg DP
89 GPIO2_86 K3 7 Segment 1 seg b
90 GPIO2_87 K4 7 Segment 1 seg c
91 GPIO2_88 J3 7 Segment 1 seg a
92 GPIO2_89 J4 7 Segment 1 seg d
93 GPIO2_90 H3 7 Segment 1 seg f
94 GPIO2_91 H4 7 Segment 1 seg e
95 GPIO2_92 G4 7 Segment 1 seg g
96 GPIO2_93 F3 Dip switch pole 1
97 GPIO2_94 F4 Dip switch pole 5
98 GPIO2_95 E3 Dip switch pole 2
99 GPIO2_96 E4 Dip switch pole 6
100 GPIO2_97 N1 Dip switch pole 3
101 GPIO2_98 N2 Dip switch pole 7
102 GPIO2_99 M1 Dip switch pole 4
103 GPIO2_100 M2 Dip switch pole 8
105 GPIO2_102 L2 Button 4
106 GPIO2_103 K1 Button 1
107 GPIO2_104 K2 Button 5
108 GPIO2_105 J2 Button 2
109 GPIO2_106 H1 Button 6
110 GPIO2_107 H2 Button 3
119 DGND - System GND
120 DGND - System GND
  • gecko-addons/led-addon.txt
  • Last modified: 2020/09/09 14:25
  • (external edit)