Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| learn:programmable-logic:tutorials:nexys-video-basic-user-demo:start [2016/07/08 21:36] – created Sam K | learn:programmable-logic:tutorials:nexys-video-basic-user-demo:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Nexys Video Basic User Demo ====== | + | ====== Nexys Video GPIO ====== |
| {{: | {{: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| + | |||
| + | ==== 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' | ||
| + | * The onboard OLED display is turned off by pressing the CPU_RESET button. | ||
| + | |||
| ==== Features Used ==== | ==== Features Used ==== | ||
| Line 25: | Line 38: | ||
| ^ Pmod for XADC signals | ^ Pmod for XADC signals | ||
| ^ USB HID Host | ^ USB HID Host | ||
| - | |||
| - | |||
| - | |||
| - | ==== Description ==== | ||
| - | |||
| - | The Basic User Demo project demonstrates a simple usage of the Nexys Video' | ||
| - | GPIO and UART. The behavior is as follows: | ||
| - | |||
| - | * The 8 User LEDs are tied to the 8 User Switches. While the centerUser button is pressed, the LEDs are instead tied to GND | ||
| - | * An introduction message is sent across the UART when the device is finished being configured, and after the center User button is pressed. | ||
| - | * A message is sent over UART whenever BTNU, BTNL, BTND, or BTNR is pressed. | ||
| - | * The onboard OLED displays the alphabet then a screen saying "This is Digilent' | ||
| - | | ||
| - | All UART communication can be captured by attaching the UART port to a | ||
| - | computer running a Terminal program with 9600 Baud Rate, 8 data bits, no | ||
| - | parity, and 1 stop bit. | ||
| ------- | ------- | ||
| Line 52: | Line 49: | ||
| ===Hardware=== | ===Hardware=== | ||
| * **Nexys Video FPGA board** | * **Nexys Video FPGA board** | ||
| - | * **Micro-USB | + | * **Two Micro-USB |
| - | * **Nexys Video Power Supply** | + | * **Nexys Video 12 Volt Power Supply** |
| ===Software=== | ===Software=== | ||
| - | * **Vivado Design Suite 2015.X** | + | * **Vivado Design Suite 2016.4** |
| * // | * // | ||
| ----- | ----- | ||
| ===== Downloads ===== | ===== Downloads ===== | ||
| - | Nexys Video Support | + | Nexys Video GPIO Demo Project |
| ------- | ------- | ||
| - | ===== How to... ===== | + | ===== Download and Launch the Nexys Video Basic User Demo ===== |
| + | >1) Follow the [[: | ||
| - | + | > | |
| - | ==== 1. Generate the Project ==== | + | |
| - | + | ||
| - | >1.1) Download the repository linked in the download section and unzip it in the location of your choosing. | + | |
| - | + | ||
| - | >1.2) Generate | + | |
| - | + | ||
| - | ==== 2. Build the Project ==== | + | |
| - | + | ||
| - | >2.1) Click **Generate Bitstream** | + | |
| > | > | ||
| - | >Note: If you want, you can click each step by itself in the order of **Run Synthesis**, | + | >{{:learn: |
| - | > | + | |
| - | >{{:basys3:buildflow.png?600|}} | + | |
| - | ==== 3. Program | + | =====Using |
| - | >3.1) Once you have generated your bit file, Click on the hardware manager and connect to your board by choosing the local server option. | + | ====1. Using the Switches with LEDs==== |
| - | > | + | |
| - | > | + | |
| - | >3.2) Click program to load the project onto your Nexys Video. | ||
| - | |||
| - | ==== 4. Run the Project ==== | ||
| - | |||
| - | This portion will help you run the demo and observe all its features. | ||
| - | |||
| - | >4.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. | >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. | ||
| > | > | ||
| > | > | ||
| - | >4.2) UART Communication Using the Buttons | + | ====2. UART Communication Using the Buttons==== |
| - | > | + | |
| - | >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. On startup, the Nexys Video will transmit "Nexys Video GPIO/UART DEMO!" | + | |
| - | >4.3) OLED Display | + | >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 " |
| - | > | + | |
| - | >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' | + | ====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' | ||
| > | > | ||
| > | > | ||
| - | {{tag> | + | <WRAP round important 660px> |
| + | ===Important=== | ||
| + | Before turning off or reprogramming your board, shut down the OLED display by pressing the **CPU_RESET** button. | ||
| + | </ | ||
| + | |||
| + | {{tag> | ||

