====== Arty S7 General I/O Demo ====== {{:learn:programmable-logic:tutorials:arty-s7-general-io-demo:arty-s7-rgb-2.jpg?500|}} ---- ===== Description ===== Introductory level demonstration project for the Arty S7's LEDs, switches, buttons, and USB-UART bridge. ---- ===== Inventory ===== * Arty S7 with a MicroUSB Programming Cable * Vivado installation compatible with the latest release of this demo (2020.1) * //See [[programmable-logic:guides:installing-vivado-and-vitis|Installing Vivado, Vitis, and Digilent Board Files]] for installation instructions.// * Serial Terminal application to receive messages printed by the demo * //See [[programmable-logic:guides:serial-terminals:start]] for more information.// ---- ===== Download and Usage Instructions ===== First and foremost, releases - consisting of a set of files for download - are only compatible with a specific version of the Xilinx tools, as specified in the name of the release (referred to as a //release tag//). In addition, releases are only compatible with the specified variant of the board. For example, a release tagged "20/DMA/2020.1" for the Zybo Z7 is only to be used with the -20 variant of the board and Vivado 2020.1. The latest release version for this demo is highlighted in green. **Note:** //Releases for FPGA demos from before 2020.1 used a different git structure, and used a different release tag naming scheme.// ^ Board Variant ^ Release Tag ^ Release Downloads ^ Setup Instructions | | Arty S7-25 | @#C0EEBD: 25/GPIO/2020.1-2 | {{https://github.com/Digilent/Arty-S7/releases/download/25/GPIO/2020.1-2/Arty-S7-25-GPIO-hw.xpr.zip|Arty-S7-25-GPIO-hw.xpr.zip}} | See //Using the Latest Release//, below | | Arty S7-50 | @#C0EEBD: 50/GPIO/2020.1-2 | {{https://github.com/Digilent/Arty-S7/releases/download/50/GPIO/2020.1-2/Arty-S7-50-GPIO-hw.xpr.zip|Arty-S7-50-GPIO-hw.xpr.zip}} | See //Using the Latest Release//, below | | Arty S7-25 | v2018.2-1 | [[https://github.com/Digilent/Arty-S7-25-GPIO/releases/tag/v2018.2-1|Release ZIP Downloads]] | [[https://github.com/Digilent/Arty-S7-25-GPIO/tree/v2018.2-1|v2018.2-1 Github README]] | | Arty S7-50 | v2018.2-1 | [[https://github.com/Digilent/Arty-S7-50-GPIO/releases/tag/v2018.2-1|Release ZIP Downloads]] | [[https://github.com/Digilent/Arty-S7-50-GPIO/tree/v2018.2-1|v2018.2-1 Github README]] | **Note for Advanced Users:** //GitHub sources for this demo can be found in the [[https://github.com/digilent/arty-s7/tree/25/GPIO/master|25/GPIO/master]] and [[https://github.com/digilent/arty-s7/tree/50/GPIO/master|50/GPIO/master]] branches of the Arty-S7 repository. Further documentation on the structure of this repository can be found on this wiki's [[programmable-logic:documents:git]] page.// ---- Instructions on the use of the latest release can be found in this dropdown: --> Using the Latest Release ^# {{page>programmable-logic:guides:using-github-releases#hardware_only_release_before_programming&noheader}} --> Set up the Arty S7 # Plug the microUSB programming cable into the Arty S7's PROG/UART port. This will provide power to the board and connect the board to the computer for programming and serial communication. ---- <-- {{page>programmable-logic:guides:using-github-releases#hardware_only_release_programming&noheader}} At this point, the demo is now running on your board. Refer to the [[#description|Description]] and [[#functionality|Functionality]] sections of this document for more information on what it does. <-- ---- ===== Functionality ===== ==== 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|}} ---- ===== Additional Resources ===== All materials related to the use of the Arty S7 can be found on its [[..:start|Resource Center]]. For a walkthrough of the process of creating a simple HDL project in Vivado, see [[programmable-logic:guides:getting-started-with-vivado]]. Information on important parts of the GUI, and indirect discussion of the steps required to modify, rebuild, and run this demo in hardware can also be found here. For technical support, please visit the [[https://forum.digilent.com/forum/4-fpga/|FPGA]] section of the Digilent Forum. ----