Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:programmable-logic:tutorials:arty-s7-general-io-demo:start [2017/11/07 23:12] Arthur Brownlearn:programmable-logic:tutorials:arty-s7-general-io-demo:start [2023/05/05 19:33] (current) Arthur Brown
Line 1: Line 1:
-====== Arty S7 General I/O Demo ====== +====== Arty S7 General I/O Demo (Redirect) ====== 
- +~~NOSEMANTIC~~ 
-{{:learn:programmable-logic:tutorials:arty-s7-general-io-demo:arty-s7-rgb-2.jpg?500|}} +~~REDIRECT>/programmable-logic/arty-s7/demos/gpio~~ 
- +{{tag>redirect}}
-===== 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 LEDSs                              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=== +
-  * **Arty S7 FPGA board** +
-  * **Micro-USB cable** +
- +
-===Software=== +
-  * **Vivado Design Suite 2017.2**  +
-    * //Newer versions can be used, but the procedure may vary slightly// +
-    * //Vivado Design Edition is required for the Spartan 7 due to an error in the Webpack Edition installer.// +
-    * //A full Design Edition license is not required to use this demo.// +
-    * //An existing Vivado installation can be upgraded to Design Edition through the **Help -> Add Design Tools or Devices** dialog in the Vivado top toolbar.// +
-  * **Digilent Board Support Files for Vivado**  +
-    * Follow the [[vivado:boardfiles|Vivado Board Files for Digilent 7-Series FPGA Boards]] guide on how to install Board Support Files for Vivado. +
- +
------ +
- +
-===== Downloads ===== +
- +
-Arty S7 GPIO Project Support Repository -- [[https://github.com/Digilent/Arty-S7-50-GPIO/releases/download/v2017.2-1/Arty-S7-50-GPIO-2017.2-1.zip|ZIP Archive]] [[https://github.com/Digilent/Arty-S7-50-GPIO|GIT Repo]] +
- +
------- +
- +
-===== Download and Launch the Arty S7 GPIO Demo ===== +
- +
- +
->1.) Follow the [[:learn:programmable-logic:tutorials:github-demos:start:|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. +
- +
->2.) 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 & LPTyou 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.  +
-+
->{{:learn:programmable-logic:tutorials:arty-s7-general-io-demo:arty-s7-rgb-1.jpg?400|}}{{:learn:programmable-logic:tutorials:arty-s7-general-io-demo:arty-s7-rgb-2.jpg?400|}} +
- +
-==== 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!"+
-+
->{{:learn:programmable-logic:tutorials:arty-s7-general-io-demo:arty-s7-tx.png?500|}} +
- +
-{{tag>learn programmable-logic project arty-s7}}+