(https://reference.digilentinc.com/_detail/reference/programmable-logic/arty-s7/arty-s7-gpio.png?id=reference%3Aprogrammable-logic%3Aarty-s7%3Areference-manual)
Figure 7.1. Arty S7 GPIO ().
The four individual high-efficiency LEDs are anode-connected to the FPGA via 330-ohm resistors, so they will turn on when a logic high voltage is applied to their respective I/O pin.
Additional LEDs that are not user-accessible indicate power-on, FPGA programming status, and USB and Ethernet port status.
The Arty S7 board contains two tri-color LEDs. Each tri-color LED () has three input signals that drive the cathodes of three smaller internal LEDs: one red, one blue, and one green.
Driving the signal corresponding to one of these colors high will illuminate the internal LED (). The input signals are driven by the FPGA through a transistor, which inverts the
signals. Therefore, to light up the tri-color LED (), the corresponding signals need to be driven high. The tri-color LED () will emit a color dependent on the combination of internal
LEDs that are currently being illuminated. For example, if the red and blue signals are driven high and green is driven low, the tri-color LED () will emit a purple color.
Note: Digilent strongly recommends the use of pulse-width modulation (PWM) when driving the tri-color LEDs. Driving any of the inputs to a steady logic ‘1’ will result in the LED ()
being illuminated at an uncomfortably bright level. You can avoid this by ensuring that none of the tri-color signals are driven with more than a 50% duty cycle. Using PWM also
greatly expands the potential color palette of the tri-color LED (). Individually adjusting the duty cycle of each color between 50% and 0% causes the different colors to be illuminated
at different intensities, allowing virtually any color to be displayed.
Pmod connectors are 2×6, right-angle, 100-mil spaced female connectors that mate with standard 2×6 pin headers. Each 12-pin Pmod connector provides two 3.3V VCC () signals
(pins 6 and 12), two Ground signals (pins 5 and 11), and eight logic signals, as shown in Figure 8.1. The VCC () and Ground pins can deliver up to 1A of current, but care must be
taken not to exceed any of the power budgets of the onboard regulators or the external power supply (these are described in the “Power supplies” section).
Digilent produces a large collection of Pmod accessory boards that can attach to the Pmod expansion connectors to add ready-made functions like A/D’s, D/A’s, motor drivers,
sensors, and other functions. See
www.digilentinc.com
(http://www.digilentinc.com)
for more information.
The Arty S7 has four Pmod connectors, some of which behave differently than others. Each Pmod connector falls into one of two categories: standard or high-speed. Also, some
Pmod connectors share their connections with the inner rows of the shield connector, and should not be used at the same time as a shield that requires those pins. Table 8.1 specifies
which category each Pmod falls into, whether it shares any pins with the shield connector, and also lists the FPGA pins they are connected to. The following sections describe the
different types of Pmods.
(https://reference.digilentinc.com/_detail/basys3-pmod_connector.png?id=reference%3Aprogrammable-logic%3Aarty-s7%3Areference-manual)
Figure 8.1. Pmod connector.
Pmod JA
Pmod JB
Pmod JC
Pmod JD
Pmod Type
High-Speed
High-Speed
Standard
Standard
Shared pins
–
–
IO34-IO41
IO26-IO33
Pin 1
L17
P17
U15
V15
Pin 2
L18
P18
V16
U12
Pin 3
M14
R18
U17
V13
Pin 4
N14
T18
U18
T12
Pin 7
M16
P14
U16
T13
Pin 8
M17
P15
P13
R11
7.1 Tri-Color LEDs
8 Pmod Connectors