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:xadc [2022/09/12 13:55] – changed forum.digilentinc.com to forum.digilent.com Jeffreyprogrammable-logic:nexys-video:demos:xadc [2023/08/25 00:06] (current) – Move to direct file links for downloads Arthur Brown
Line 1: Line 1:
 +====== Nexys Video XADC Demo ======
  
 +<WRAP todo important>
 +== Under Construction ==
 +</WRAP>
 +
 +{{:nexys-video:nexysvideoxadc1.jpg?500|}}
 +
 +----
 +===== Description =====
 +
 +This project is a Vivado demo using the Nexys Video's analog-to-digital converter ciruitry, and the OLED display, written in Verilog. When programmed onto the board, voltage levels between 0 and 1 Volt are read off of the JXADC header. The OLED display shows the voltage difference between the appropriate channel's pins in volts. 
 +
 +The selected channels and pins are as follows:
 +^ XADC Channel  ^ JXADC Pins              ^
 +| AD1           | JXADC1(P) / JXADC7(N)   |
 +| AD0           | JXADC2(P) / JXADC8(N)   |
 +| AD8           | JXADC3(P) / JXADC9(N)   |
 +| AD9           | JXADC4(P) / JXADC10(N)  |
 +
 +----
 +===== Inventory =====
 +
 +  * Nexys Video 
 +  * A MicroUSB Cable
 +  * 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.//
 +  * Nexys Video 12 Volt Power Supply
 +  * Wires and a circuit to measure
 +
 +----
 +===== 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: XADC/2022.1-1  | {{https://github.com/Digilent/Nexys-Video/releases/download/XADC/2022.1-1/Nexys-Video-XADC-hw.xpr.zip}}  | See //Using the Latest Release//, below  |
 +| Nexys Video    | XADC/2021.1-1            | {{https://github.com/Digilent/Nexys-Video/releases/download/XADC/2021.1-1/Nexys-Video-XADC-hw.xpr.zip}}  | See //Using the Latest Release//, below  |
 +| Nexys Video    | XADC/2020.1-1            | {{https://github.com/Digilent/Nexys-Video/releases/download/XADC/2020.1-1/Nexys-Video-XADC-hw.xpr.zip}}  | See //Using the Latest Release//, below  |
 +| Nexys Video    | v2018.2-1                | [[https://github.com/Digilent/Nexys-Video-XADC/releases/tag/v2018.2-1|Release ZIP downloads]]   | [[https://github.com/Digilent/Nexys-Video-XADC/tree/v2018.2-1| v2018.2-1 Github README]]                |
 +| Nexys Video    | v2016.4-1                | [[https://github.com/Digilent/Nexys-Video-XADC/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/XADC/master|XADC/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 MicroUSB into the PROG port.
 +
 +The circuit and wires can be attached after the demo is already running. 
 +
 +----
 +<--
 +
 +{{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. Applying a Voltage to the XADC Port====
 +
 +>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.
 +>
 +>{{:nexys-video:nexysvideoxadc0.jpg?500|}}
 +
 +
 +====2. OLED Display====
 +
 +>The OLED display shows the Voltage differential across each of the xadc pin pairs located on JXADC. 
 +>
 +>{{:nexys-video:nexysvideoxadc1.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>
 +
 +===== 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>