Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:programmable-logic:tutorials:arty-s7-xadc-demo:start [2017/08/17 10:19] – sbobrowiczlearn:programmable-logic:tutorials:arty-s7-xadc-demo:start [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
  
 ====== Arty S7 XADC Demo ====== ====== Arty S7 XADC Demo ======
-FIXME + 
-{{:arty:img_1586.jpg?direct&500|}}+{{:learn:programmable-logic:tutorials:arty-s7-xadc-demo:arty-s7-xadc-2v.jpg?500|}}
  
 ===== Overview ===== ===== Overview =====
Line 36: Line 36:
  
 ===Software=== ===Software===
-  * **Vivado Design Suite 2017.2** +  * **Vivado Design Suite 2017.2***  
 +    * **NOTE:** //*Vivado 2017.4 or newer is required for the S7-25.//
     * //Newer versions can be used, but the procedure may vary slightly//     * //Newer versions can be used, but the procedure may vary slightly//
 +    * //Vivado Design Edition is required for the Spartan 7 due to an error in the Webpack Edition installer.//
 +    * //A full Design Edition license is not required to use this demo.//
 +    * //An existing Vivado installation can be upgraded to Design Edition through the **Help -> Add Design Tools or Devices** dialog in the Vivado top toolbar.//
   * **Digilent Board Support Files for Vivado**   * **Digilent Board Support Files for Vivado**
     * Follow the [[vivado:boardfiles|Vivado Board Files for Digilent 7-Series FPGA Boards]] guide on how to install Board Support Files for Vivado.     * Follow the [[vivado:boardfiles|Vivado Board Files for Digilent 7-Series FPGA Boards]] guide on how to install Board Support Files for Vivado.
Line 45: Line 49:
 ===== Downloads ===== ===== Downloads =====
  
-Arty S7 XADC Project Repository -- [[https://github.com/Digilent/Arty-S7-50-XADC/releases/download/v2017.2-1/Arty-S7-50-XADC-2017.2-1.zip|ZIP Archive]] [[https://github.com/Digilent/Arty-S7-50-XADC|GIT Repo]]+Arty S7-50 XADC Project Repository -- [[https://github.com/Digilent/Arty-S7-50-XADC/releases/download/v2017.2-1/Arty-S7-50-XADC-2017.2-1.zip|ZIP Archive]] [[https://github.com/Digilent/Arty-S7-50-XADC|GIT Repo]]
  
 +Arty S7-25 XADC Project Repository -- [[https://github.com/Digilent/Arty-S7-25-XADC/releases/download/v2017.4-1/Arty-S7-25-XADC-2017.4-1.zip|ZIP Archive]] [[https://github.com/Digilent/Arty-S7-25-XADC|GIT Repo]]
 ------ ------
  
 ===== Download and Launch the Arty S7 XADC Demo  ===== ===== Download and Launch the Arty S7 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. Your circuit to be measured does not need to be connected to the Arty S7 before programming, so you do not need to return to this guide until you finish the tutorial.+1.) Download the **ZIP Archive** for the appropriate board variant in the [[#downloads|Downloads]] section above. 
 + 
 +2.) 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. The circuit to be measured does not need to be connected to the Arty S7 before programming, so you do not need to return to this guide until you finish the tutorial.
  
 ===== Using the Arty S7 XADC Demo ==== ===== Using the Arty S7 XADC Demo ====
Line 64: Line 71:
 A6, A8, and V_P are the positive inputs and A7, A9, and V_N are the negative inputs. A6, A8, and V_P are the positive inputs and A7, A9, and V_N are the negative inputs.
 </WRAP> </WRAP>
-FIXME 
  
 >2) LEDs >2) LEDs
Line 70: Line 76:
 >The LEDs turn on from right to left then continue onto the bottom as the input voltage increases. >The LEDs turn on from right to left then continue onto the bottom as the input voltage increases.
 > >
->{{:arty:img_1585.jpg?direct&200|}}{{:arty:img_1586.jpg?direct&200|}}{{:arty:img_1587.jpg?direct&200|}} +{{:learn:programmable-logic:tutorials:arty-s7-xadc-demo:arty-s7-xadc-0v.jpg?300|}}{{:learn:programmable-logic:tutorials:arty-s7-xadc-demo:arty-s7-xadc-2v.jpg?300|}}{{:learn:programmable-logic:tutorials:arty-s7-xadc-demo:arty-s7-xadc-3v3.jpg?300|}} 
- +> 
 +>//XADC Demo with Analog Input 0 (Single-Ended) receiving 0.0V, 2.0V, 3.3V// 
 + 
 >3) Selecting a channel >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.+>To display a different channel on the LEDs, change the user switches to the desired channel. The drop-downs below contain tables that show the switch positions that correspond to each analog input for each of the variants of the Arty S7. 
 + 
 +--> Arty S7-50 #
  
 ^ Channel Pin/s  ^ SW3            ^ SW2   ^ SW1   ^ SW0   ^ ^ Channel Pin/s  ^ SW3            ^ SW2   ^ SW1   ^ SW0   ^
Line 86: Line 97:
 ^ A8-A9          ^ Down           ^ Up    ^ Up    ^ Up    ^ ^ A8-A9          ^ Down           ^ Up    ^ Up    ^ Up    ^
 ^ V_P-V_N        ^ Up             ^ Down  ^ Down  ^ Down  ^ ^ V_P-V_N        ^ Up             ^ Down  ^ Down  ^ Down  ^
-^ A0             ^  Other Values                       ||||+^ None           ^  Other Values                       |||| 
 + 
 +<-- 
 + 
 +--> Arty S7-25 # 
 + 
 +^ 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    ^ 
 +^ A10-A11        ^ Up             ^ Down  ^ Down  ^ Down  ^ 
 +^ V_P-V_N        ^ Up             ^ Down  ^ Down  ^ Up    ^ 
 +^ None           ^  Other Values                       |||| 
 + 
 +<--
  
 {{tag>learn programmable-logic project arty-s7}} {{tag>learn programmable-logic project arty-s7}}