Table of Contents

Arty S7 General I/O Demo

Overview

Description

Introductory level demonstration project for the Arty S7's LEDs, switches, buttons, and USB-UART bridge.

Features Used

Not Used Used
4 User Switches X
4 User LEDs X
2 User RGB LEDs X
4 User Push Buttons X
4 Pmod Connectors X
XADC Analog Input X
USB-UART Bridge X
Serial Flash for Application Data X

Prerequisites

Hardware

Software


Downloads

Arty S7-50 GPIO Project Repository – ZIP Archive GIT Repo

Arty S7-25 GPIO Project Repository – ZIP Archive GIT Repo


Download and Launch the Arty S7 GPIO Demo

1.) Download the ZIP Archive for the appropriate board variant in the Downloads section above.
2.) Follow the Using Digilent Github Demo Projects Tutorial. This is an HDL design project, and as such does not support Vivado SDK. Select the tutorial options appropriate for a Vivado-only design.
3.) To see the UART communication channel, open a terminal program on your computer set to 9600 baud, 8 data bits, no parity bit and 1 stop bit. Choose the COM port that the ARTY is connected to (To determine what COM port your Arty is connected to, open up Device Manager on your machine. Under Ports (COM & LPT) you should see something like 'USB Serial Port (COMX)' where the X is the number of the connected COM port). Then return to the Github Project Tutorial to finish programming and running the demo.

Run the Project

To run all the features of this demo, you will only need the Arty S7 board.

1. Using the Switches with Leds

For this section, all the switches are tied to their corresponding led. Every time a switch is toggled, the led directly above it will toggle with it.
The two tri-color LEDs will cycle colors with no interruption from other I/O.

2. UART Communication Using the Buttons

On startup, the Arty S7 will transmit “ARTY GPIO/UART DEMO!”. Whenever a button is pressed, Arty S7 transmits “Button press detected!”.