This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:fpga:xilinx:pmod:ad7091r [10 Dec 2012 15:52] – Download Wrapper Alexandru.Tofan | resources:fpga:xilinx:pmod:ad7091r [22 Feb 2013 12:15] – Text and archive Alexandru.Tofan | ||
---|---|---|---|
Line 26: | Line 26: | ||
==== Running Demo (SDK) Program ==== | ==== Running Demo (SDK) Program ==== | ||
- | <note tip>If you are not familiar with LX9 and/or Xilix tools, please visit\\ [[http:// | + | <WRAP round tip 80%>If you are not familiar with LX9 and/or Xilix tools, please visit\\ [[http:// |
If you are not familiar with Nexys™3 and/or Xilix tools, please visit\\ [[http:// | If you are not familiar with Nexys™3 and/or Xilix tools, please visit\\ [[http:// | ||
- | </note> | + | </WRAP> |
Extract the project from the archive file (AD7091R_< | Extract the project from the archive file (AD7091R_< | ||
==== Avnet LX9 MicroBoard Setup ==== | ==== Avnet LX9 MicroBoard Setup ==== | ||
- | To begin, connect the PmodAD6 to J5 connector of LX9 board, pins 1 to 6 (see image below). You can use an extension cable for ease of use. Connect the USB cables from the PC to the board. | + | To begin, connect the PmodAD6 to J5 connector of LX9 board, pins 1 to 6 (see image below). You can use an extension cable for ease of use. Connect the USB cables from the PC to the board. Connect the USB cable from the PC to the USB-UART female connector of the board for the UART terminal. The board will be programmed through its USB male connector. |
{{: | {{: | ||
Line 39: | Line 39: | ||
==== Digilent Nexys™3 Spartan-6 FPGA Board ==== | ==== Digilent Nexys™3 Spartan-6 FPGA Board ==== | ||
- | To begin, connect the PmodAD6 to JA connector of Nexys™3 board, pins JA1 to JA6 (see image below). You can use an extension cable for ease of use. Connect the USB cables from the PC to the board. | + | To begin, connect the PmodAD6 to JA connector of Nexys™3 board, pins JA1 to JA6 (see image below). You can use an extension cable for ease of use. Connect the USB cables from the PC to the board, one for programming (Digilent USB device) and one for the UART terminal (FT232R USB UART). |
{{: | {{: | ||
Line 49: | Line 49: | ||
{{: | {{: | ||
- | If programming was successful, you should be seeing messages appear on the terminal window as shown in the figures below. After programming the AD7091R, | + | If programming was successful, you should be seeing messages appear on the terminal window as shown in the figures below. After programming the AD7091R, |
- | {{: | + | {{: |
+ | |||
+ | If you use the default VREF(=2.5V) then just press [Enter] and the program will display the value of the input voltage. Pressing any key will perform another conversion and display the result. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Here you are some of the errors that can appear while trying to introduce a wrong value for VREF. | ||
+ | If any value besides 1 to 9 is entered, an error message will be displayed. If a value higher than 5250 or lower than 2700 is entered, an error message will be displayed. If entering less than 4 characters, please press [Enter] in order to validate your input. If 4 characters are entered, the result is automatically validated. | ||
+ | |||
+ | {{: | ||
===== Using the reference design ===== | ===== Using the reference design ===== | ||
Line 61: | Line 70: | ||
The hardware SPI access allows receiving data from the AD7091R. | The hardware SPI access allows receiving data from the AD7091R. | ||
- | <note important> | + | <WRAP round important |
* Connecting the PmodAD6 to the boards using an extension cable provides ease of use. | * Connecting the PmodAD6 to the boards using an extension cable provides ease of use. | ||
* UART must be set to 115200 Baud Rate for the Avnet LX-9 Microboard or 9600 Baud Rate for the Digilent Nexys™3 Board. | * UART must be set to 115200 Baud Rate for the Avnet LX-9 Microboard or 9600 Baud Rate for the Digilent Nexys™3 Board. | ||
- | * Reference voltage | + | * When using AVDD > DVDD (= 3.3V), JP1 on PmodAD6 must be removed and the external AVDD signal must be connected to J2 Pin 1. The range for AVDD is 2.7V ≤ AVDD ≤ 5.25V. |
- | </note> | + | When using external VREF, connect the VREF signal to J2 Pin 3. The range for external VREF is 2.7V ≤ VREF ≤ AVDD. |
+ | |||
+ | </WRAP> | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | <WRAP round download | + | <WRAP round download |
{{: | {{: | ||
{{: | {{: |