Differences

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

Link to this comparison view

Next revision
Previous revision
learn:programmable-logic:tutorials:nexys-video-xadc-demo:start [2016/07/08 21:37] – created Sam Klearn:programmable-logic:tutorials:nexys-video-xadc-demo:start [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 5: Line 5:
  
 ===== Overview ===== ===== Overview =====
 +
 +==== Description ====
 +
 +This simple XADC Demo project demonstrates the use of the Nexys Video's Analog to Digital port.
 +
 ==== Features Used ==== ==== Features Used ====
  
Line 25: Line 30:
 ^ Pmod for XADC signals              |           |   X   | ^ Pmod for XADC signals              |           |   X   |
 ^ USB HID Host                       |    X      |       | ^ USB HID Host                       |    X      |       |
- 
-==== Description ==== 
- 
-This simple XADC Demo project demonstrates a simple usage of the Nexys Video's  
-XADC port capability. The behavior is as follows: 
-  
-  * The four available differential XADC channels located on port JXADC will be displayed onto the Nexys Video OLED       display 
  
 ------- -------
Line 44: Line 42:
   * **Nexys Video FPGA board**   * **Nexys Video FPGA board**
   * **Micro-USB cable**   * **Micro-USB cable**
-  * **Nexys Video Power Supply**+  * **Nexys Video 12 Volt Power Supply**
   * **Wires and a voltage to measure**   * **Wires and a voltage to measure**
  
 ===Software=== ===Software===
-  * **Vivado Design Suite 2015.X** +  * **Vivado Design Suite 2016.4** 
     * //Newer/older versions can be used, but the procedure may vary slightly//     * //Newer/older versions can be used, but the procedure may vary slightly//
  
 ----- -----
 +
 ===== Downloads ===== ===== Downloads =====
-Nexys Video Support Repository -- [[https://github.com/Digilent/NexysVideo/archive/master.zip|ZIP]] [[https://github.com/Digilent/NexysVideo|GIT Repo]]+Nexys Video XADC Demo Repository -- [[https://github.com/Digilent/Nexys-Video-XADC/releases/download/v2016.4-1/Nexys-Video-XADC-2016.4-1.zip|ZIP Archive]] [[https://github.com/Digilent/Nexys-Video-XADC|GIT Repo]]
 ------- -------
  
 ------- -------
-===== How to... ===== 
  
 +===== Download and Launch the Nexys Video XADC Demo =====
  
 +>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.
  
-==== 1. Generate the Project ====+===== Using the Nexys Video XADC Demo =====
  
->1.1) Download the repository linked in the download section and unzip it in the location of your choosing. +====1. Applying a Voltage to the XADC Port====
  
->1.2) Generate the **XADC** project in the Projects folder by following this guide before continuing: [[vivado:github|How to Generate a Project from Digilent's Github]] +>For this demo, the AD1, AD0, AD8, and AD9 differential inputs on the JXADC header are used. We constructed a resistor ladder to connect each of the four channels' p pins to a Voltage level between zero and one, using one of the Pmod Ports to supply 3.3 Volts to the circuit. Each of the channels' n pins were grounded.
- +
-==== 2. Build the Project ==== +
- +
->2.1) Click **Generate Bitstream** on the left hand menu towards the bottom. Vivado will run through both Run Synthesis and Run Implementation before it generates the bitstream automatically. +
 > >
->Note: If you want, you can click each step by itself in the order of **Run Synthesis**, **Run Implementation** and then **Generate Bitstream**. +>{{:nexys-video:nexysvideoxadc0.jpg?500|}}
-> +
->{{:basys3:buildflow.png?600|}}+
  
-==== 3. Program the Board ==== 
  
->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. +====2. OLED Display====
-> +
->{{:nexys4-ddr:deviceconnected.jpg?600|}}+
  
->3.2) Click program to load the project onto your Nexys Video. +>The OLED display shows the Voltage differential across each of the xadc pin pairs located on JXADC. 
-==== 4. Run the Project ==== +
- +
-This portion will help you run the demo and observe all its features. +
- +
->4.1) Applying a voltage to the XADC port+
 > >
->For this demo, the AD1, AD0, AD8, and AD9 differential inputs are used on the JXADC header. We constructed a voltage divider to connect all four channels to a voltage. +>{{:nexys-video:nexysvideoxadc1.jpg?500|}}
-> +
->{{:nexys-video:nexysvideoxadc0.jpg?500|}}+
  
 +<WRAP round important 660px>
 +===Important===
 +Before turning off or reprogramming your board, shut down the OLED display by pressing the **CPU_RESET** button.
 +</WRAP>
  
->4.2) OLED Display +{{tag>learn programmable-logic project nexys-video}}
-> +
->The OLED display shows the current voltage across all of the xadc pins located on the JXADC.  +
-> +
->{{:nexys-video:nexysvideoxadc1.jpg?500|}} +
- +
-{{tag>learn programmable-logic tutorial nexys-video}}+