Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programmable-logic:cmod-a7:demos:xadc [2022/09/12 14:08] – changed forum.digilentinc.com to forum.digilent.com Jeffrey | programmable-logic:cmod-a7:demos:xadc [2023/08/24 22:18] (current) – Move to direct file links for downloads Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~META: robots = noindex, nofollow ~~ | ||
+ | ====== Cmod A7 XADC Demo ====== | ||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | ===== Description ===== | ||
+ | |||
+ | This simple XADC demo is a verilog project made to demonstrate the ADC functionality of the Cmod-A7' | ||
+ | |||
+ | * The RGB LED brightens the RED LED when the read voltage goes up. | ||
+ | * When BTN1 is pressed, the demo switches which xadc pin to read from. | ||
+ | |||
+ | This demo uses XADC ports 4 and 12 since they are the channels connected to pin 15 and 16. This can be seen in the Cmod A7 Reference Manual and Schematics. These resources can be found on the Cmod A7 [[reference: | ||
+ | |||
+ | ---- | ||
+ | ===== Inventory ===== | ||
+ | |||
+ | * Cmod A7 with MicroUSB programming cable | ||
+ | * Vivado installation compatible with the latest release of this demo (2020.1) | ||
+ | *//See [[programmable-logic: | ||
+ | * 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 " | ||
+ | |||
+ | The latest release version for this demo is highlighted in green. | ||
+ | |||
+ | ^ Board Variant | ||
+ | | Cmod A7-15T | ||
+ | | Cmod A7-35T | ||
+ | | Cmod A7-15T | ||
+ | | Cmod A7-35T | ||
+ | | Cmod A7-15T | ||
+ | | Cmod A7-35T | ||
+ | |||
+ | **Note for Advanced Users:** //GitHub sources for this demo can be found in the [[https:// | ||
+ | ---- | ||
+ | Instructions on the use of the latest release can be found in this dropdown: | ||
+ | |||
+ | --> Using the Latest Release #^ | ||
+ | |||
+ | <WRAP group> | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | --> Set up the Cmod A7 # | ||
+ | |||
+ | Plug the Cmod A7 into the computer using the microUSB cable. The circuit and wires can be attached after the demo is already running. | ||
+ | |||
+ | ---- | ||
+ | <-- | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | At this point, the demo is now running on your board. Refer to the [[# | ||
+ | </ | ||
+ | |||
+ | <-- | ||
+ | |||
+ | ---- | ||
+ | ===== Functionality ===== | ||
+ | |||
+ | The demo reads analog data in from pin 15 and sets the brightness on the red led linearly. The pictures below used a resistor ladder to show the different brightness values the demo puts out. This demo can be used to measure any voltage between 0 and 3.3 volts. The brighter the led, the closer to 3.3 the voltage is. The voltages below are 2.3V, 1.1V and 0V. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | ===== Additional Resources ===== | ||
+ | |||
+ | All materials related to the use of the Cmod A7 can be found on its [[..: | ||
+ | |||
+ | For a walkthrough of the process of creating a simple HDL project in Vivado, see [[programmable-logic: | ||
+ | |||
+ | For technical support, please visit the [[https:// | ||
+ | |||
+ | ---- |