Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:programmable-logic:tutorials:arty-s7-xadc-demo:start [2017/08/17 10:15] – [Table] sbobrowicz | learn:programmable-logic:tutorials:arty-s7-xadc-demo:start [2023/05/05 19:33] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | + | ====== Arty S7 XADC Demo (Redirect) | |
- | ====== Arty S7 XADC Demo ====== | + | ~~NOSEMANTIC~~ |
- | FIXME | + | ~~REDIRECT> |
- | {{: | + | {{tag>redirect}} |
- | + | ||
- | ===== Overview ===== | + | |
- | + | ||
- | ==== Description ==== | + | |
- | + | ||
- | This simple XADC Demo project demonstrates a simple usage of the Arty S7's XADC pin capability. The behavior is as follows: | + | |
- | * The 6 User LEDs increment from top right to left then bottom right to left as the voltage difference on the selected XADC pins gets larger. | + | |
- | * The four switches select which channel to read from. | + | |
- | + | ||
- | ----- | + | |
- | + | ||
- | ==== Features Used ==== | + | |
- | + | ||
- | | ^ Not Used ^ Used ^ | + | |
- | ^ 4 User Switches | + | |
- | ^ 4 User LEDs | | + | |
- | ^ 2 User RGB LEDSs | + | |
- | ^ 4 User Push Buttons | + | |
- | ^ 4 Pmod Connectors | + | |
- | ^ XADC Analog Input | | + | |
- | ^ USB-UART Bridge | + | |
- | ^ Serial Flash for Application Data | X | | | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Prerequisites ===== | + | |
- | + | ||
- | ===Hardware=== | + | |
- | * **Arty S7 FPGA board** | + | |
- | * **Micro-USB cable** | + | |
- | * **Wires and a voltage to measure** | + | |
- | + | ||
- | ===Software=== | + | |
- | * **Vivado Design Suite 2017.2** | + | |
- | * //Newer versions can be used, but the procedure may vary slightly// | + | |
- | * **Digilent Board Support Files for Vivado** | + | |
- | * Follow the [[vivado: | + | |
- | + | ||
- | ----- | + | |
- | + | ||
- | ===== Downloads ===== | + | |
- | + | ||
- | Arty S7 XADC Project Repository -- [[https:// | + | |
- | + | ||
- | ------ | + | |
- | + | ||
- | ===== Download and Launch the Arty S7 XADC Demo ===== | + | |
- | + | ||
- | Follow the [[: | + | |
- | + | ||
- | ===== Using the Arty S7 XADC Demo ==== | + | |
- | + | ||
- | >1) Applying a voltage to the XADC port | + | |
- | > | + | |
- | >For this demo, A0-A5 are single-ended analog inputs while A6-A7, A8-A9, and V_P-V_N are differential analog input pairs. | + | |
- | > | + | |
- | >< | + | |
- | ===Important=== | + | |
- | The Voltage range for differential analog input pairs is 0-1V and the range for single-ended analog inputs is 0-3.3V. | + | |
- | </WRAP> | + | |
- | FIXME | + | |
- | + | ||
- | >2) LEDs | + | |
- | > | + | |
- | >The LEDs turn on from right to left then continue onto the bottom as the input voltage increases. | + | |
- | > | + | |
- | > | + | |
- | + | ||
- | >3) Selecting a channel | + | |
- | > | + | |
- | >To display a different channel on the LEDs, change the user switches to the desired channel, as seen in the table below. | + | |
- | + | ||
- | | Channel Pin/s ^ SW3 ^ SW2 ^ SW1 ^ SW0 ^ | + | |
- | ^ A0 ^ Down ^ Down ^ Down ^ Down ^ | + | |
- | ^ A1 ^ Down ^ Down ^ Down ^ Up ^ | + | |
- | ^ A2 ^ Down ^ Down ^ Up ^ Down ^ | + | |
- | ^ A3 ^ Down ^ Down ^ Up ^ Up ^ | + | |
- | ^ A4 ^ Down ^ Up ^ Down ^ Down ^ | + | |
- | ^ A5 ^ Down ^ Up ^ Down ^ Up ^ | + | |
- | ^ A6-A7 ^ Down ^ Up ^ Up ^ Down ^ | + | |
- | ^ A8-A9 ^ Down ^ Up ^ Up ^ Up ^ | + | |
- | ^ V_P-V_N | + | |
- | ^ A0 ^ Other Values | + | |
- | + | ||
- | {{tag>learn programmable-logic project arty-s7}} | + |