Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
programmable-logic:nexys-video:demos:gpio [2022/09/12 13:57] – changed forum.digilentinc.com to forum.digilent.com Jeffreyprogrammable-logic:nexys-video:demos:gpio [2023/08/24 23:55] (current) – Move to direct file links for downloads Arthur Brown
Line 1: Line 1:
 +====== Nexys Video GPIO Demo ======
  
 +<WRAP todo important>
 +== Under Construction ==
 +</WRAP>
 +
 +{{:nexys-video:nexysvideogpioled2.jpg?500|}}
 +----
 +===== Description =====
 +
 +The Basic User Demo project demonstrates a simple uses of the Nexys Video'
 +GPIOs, UART serial port, and OLED display. The behavior is as follows:
 + 
 +  * The 8 User LEDs are tied to the 8 User Switches.
 +  * An introduction message is sent across the UART when the device is finished being configured.
 +  * BTNC resets the LED and UART modules.
 +  * A message is sent over UART whenever BTNU, BTNL, BTND, or BTNR is pressed.
 +  * The onboard OLED display shows the alphabet followed by the message "This is Digilent's Nexys Video".
 +  * The onboard OLED display is turned off by pressing the CPU_RESET button.
 +
 +----
 +===== Inventory =====
 +
 +  * Nexys Video 
 +  * Two MicroUSB Cables
 +  * Vivado installation compatible with the latest release of this demo (2022.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.//
 +  * Nexys Video 12 Volt Power Supply
 +
 +----
 +===== 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                                ^
 +| Nexys Video    | @#C0EEBD: GPIO/2022.1-1  | {{https://github.com/Digilent/Nexys-Video/releases/download/GPIO/2022.1-1/Nexys-Video-GPIO-hw.xpr.zip}}  | See //Using the Latest Release//, below  |
 +| Nexys Video    | GPIO/2021.1-1            | {{https://github.com/Digilent/Nexys-Video/releases/download/GPIO/2021.1-1/Nexys-Video-GPIO-hw.xpr.zip}}  | See //Using the Latest Release//, below  |
 +| Nexys Video    | v2018.2-1                | [[https://github.com/Digilent/Nexys-Video-GPIO/releases/tag/v2018.2-1|Release ZIP downloads]]   | [[https://github.com/Digilent/Nexys-Video-GPIO/tree/v2018.2-1| v2018.2-1 Github README]]                |
 +| Nexys Video    | v2016.4-1                | [[https://github.com/Digilent/Nexys-Video-GPIO/releases/tag/v2016.4-1|Release ZIP downloads]]   | [[learn/programmable-logic/tutorials/github-demos/start|Using Digilent Github Demo Projects (Legacy)]]  |
 +
 +**Note for Advanced Users:** //GitHub sources for this demo can be found in the [[https://github.com/digilent/nexys-video/tree/GPIO/master|GPIO/master]] branch of the Nexys-Video 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 #^
 +
 +<WRAP group>
 +
 +{{page>programmable-logic:guides:using-github-releases#hardware_only_release_before_programming&noheader}}
 +
 +--> Set up the Nexys Video #
 +
 +Plug the 12V Power Supply into the Nexys Video.
 +
 +Plug the MicroUSBs into the UART and PROG ports.
 +
 +----
 +<--
 +
 +{{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.
 +</WRAP>
 +
 +<--
 +----
 +=====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.
 +>
 +>{{:nexys-video:nexysvideogpioled1.jpg?300|}}  {{:nexys-video:nexysvideogpioled2.jpg?300|}}   {{:nexys-video:nexysvideogpioled3.jpg?300|}}
 +
 +====2. UART Communication Using the Buttons====
 +
 +>On startup, the Nexys Video will transmit "Nexys Video GPIO/UART DEMO!". Whenever one of BTNU, BTNL, BTND, or BTNR is pressed, the Nexys Video transmits "Button press detected!".
 +
 +====3. OLED Display====
 +
 +>On startup the onboard OLED will display the full alphabet and numbers 0-9. Then after about a second, the OLED will turn off for another second. After this, the OLED will display the message "This is Digilent's Nexys Video".
 +>
 +>{{:nexys-video:nexysvideogpiooled1.jpg?300|}} {{:nexys-video:nexysvideogpiooled2.jpg?300|}}
 +
 +<WRAP round important 660px>
 +===Important===
 +Before turning off or reprogramming your board, shut down the OLED display by pressing the **CPU_RESET** button.
 +</WRAP>
 +
 +===== Additional Resources =====
 +
 +All materials related to the use of the Nexys Video 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.
 +
 +<code>{{tag>project nexys-video}}</code>