Wiki

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
resources:fpga:altera:ced1z:ad7766 [28 May 2012 16:20] – [Software Tools] Andrei Cozmaresources:fpga:altera:ced1z:ad7766 [11 Jan 2021 09:38] (current) – Fixed bad links for AD7766 Ioana Chelaru
Line 3: Line 3:
 ===== Supported Devices ===== ===== Supported Devices =====
  
-  * [[adi>AD7766-1]]+  * [[adi>AD7766|AD7766-1]]
  
 ===== Evaluation Boards ===== ===== Evaluation Boards =====
Line 11: Line 11:
 ====== Overview ====== ====== Overview ======
  
-This document presents the steps to setup an environment for using the **[[adi>AD7766-1|EVAL-AD7766-1EDZ]]** evaluation board together with the **[[adi>EVAL-CED|EVAL-CED Converter Evaluation and Development (CED) Board]]**, the Nios II Embedded Development Suite (EDS) and the [[http://micrium.com/page/products/tools/probe|Micrium µC-Probe]] run-time monitoring tool. Below is presented a picture of the EVAL-AD7766-1 Evaluation Board with the CED1 board.+This document presents the steps to setup an environment for using the **[[adi>EVAL-AD7766-1EDZ]]** evaluation board together with the **[[adi>EVAL-CED|EVAL-CED Converter Evaluation and Development (CED) Board]]** and Nios II Embedded Development Suite (EDS). Below is presented a picture of the EVAL-AD7766-1 Evaluation Board with the CED1 board.
  
 {{ :resources:fpga:altera:ced1z:ced1z_ad7766.png?500 }} {{ :resources:fpga:altera:ced1z:ced1z_ad7766.png?500 }}
Line 17: Line 17:
 The CED1Z board is intended for use in evaluation, demonstration and development of systems using Analog Devices precision converters. It provides the necessary communications between the converter and the PC, programming or controlling the device, transmitting or receiving data over a USB link. The CED1Z board is intended for use in evaluation, demonstration and development of systems using Analog Devices precision converters. It provides the necessary communications between the converter and the PC, programming or controlling the device, transmitting or receiving data over a USB link.
  
-The [[adi>AD7766| AD7766-1]] is a high performance 24-bit oversampled SAR analog-to-digital converter (ADC). TheAD7766-1 combines the benefits of a large dynamic range and input bandwidth, consuming  10.5 mW power,  contained in a 16-lead TSSOP package.+The [[adi>AD7766| AD7766-1]] is a high performance 24-bit oversampled SAR analog-to-digital converter (ADC). The AD7766-1 combines the benefits of a large dynamic range and input bandwidth, consuming  10.5 mW power,  contained in a 16-lead TSSOP package.
  
 ===== More information ===== ===== More information =====
  
-  * [[adi>AD7766-1|AD7766-1 Product Info]] - pricing, samples, datasheet+  * [[adi>AD7766|AD7766-1 Product Info]] - pricing, samples, datasheet
   * [[adi>/static/imported-files/eval_boards/EVAL-AD7766_7766-1_7766-2EDZ_PrB.pdf|EVAL-AD7766-1EDZ evaluation board user guide]]   * [[adi>/static/imported-files/eval_boards/EVAL-AD7766_7766-1_7766-2EDZ_PrB.pdf|EVAL-AD7766-1EDZ evaluation board user guide]]
   * [[http://www.altera.com/devices/processor/nios2|Nios II Embedded Development Suite (EDS)]]   * [[http://www.altera.com/devices/processor/nios2|Nios II Embedded Development Suite (EDS)]]
-  * [[http://micrium.com/page/products/tools/probe|Micrium uC-Probe]] 
  
 ====== Getting Started ====== ====== Getting Started ======
Line 43: Line 42:
   * [[http://www.altera.com/products/software/quartus-ii/web-edition/qts-we-index.html|Quartus II Web Edition]] design software v11.0   * [[http://www.altera.com/products/software/quartus-ii/web-edition/qts-we-index.html|Quartus II Web Edition]] design software v11.0
   * [[https://www.altera.com/download/software/nios-ii|Nios II EDS]] v11.0   * [[https://www.altera.com/download/software/nios-ii|Nios II EDS]] v11.0
-  * [[http://micrium.com/page/products/tools/probe|uC-Probe]] run-time monitoring tool 
- 
  
 The **Quartus II** design software and the **Nios II EDS** is available via the Altera Complete Design Suite DVD or by downloading from the web.  The **Quartus II** design software and the **Nios II EDS** is available via the Altera Complete Design Suite DVD or by downloading from the web. 
- 
-The **Micrium uC/Probe Trial** version is available via download from the web at [[http://micrium.com/download/Micrium-uC-Probe-Setup-Trial.exe]]. **Note:** After installation add to the “Path” system variable the entry "//%QUARTUS_ROOTDIR%\bin\//“ on the third position in the list. 
  
 ===== Downloads ===== ===== Downloads =====
   * {{:resources:fpga:altera:ced1z:ad7766_evalboard.zip|Evaluation Project Files}}   * {{:resources:fpga:altera:ced1z:ad7766_evalboard.zip|Evaluation Project Files}}
 +
 +
 ===== Extract the Lab Files ===== ===== Extract the Lab Files =====
  
-Create a folder called “**//ADIEvalBoard//**” on your PC and extract the **//ad7766_evalboard.zip//** archive to this folder. Make sure that there are **//NO SPACES//** in the directory path. After extracting the archive the following folders should be present in the **//ADIEvalBoard//** folder: **//FPGA//**, **//Hdl//**, **//NiosCpu//**, **//Software//**, **//ucProbe//**+Create a folder called “**//ADIEvalBoard//**” on your PC and extract the **//ad7766_evalboard.zip//** archive to this folder. Make sure that there are **//NO SPACES//** in the directory path. After extracting the archive the following folders should be present in the **//ADIEvalBoard//** folder: **//FPGA//**, **//Hdl//**, **//NiosCpu//**, **//Software//**, **//DataCapture//**
  
 ^ **Folder** ^ **Description** ^ ^ **Folder** ^ **Description** ^
Line 60: Line 57:
 | Hdl | Contains the source files for the AD7766 HDL driver: \\ - The //doc// subfolder contains a brief documentation for the core. \\ - The //src// subfolder contains the HDL source files.  \\ - The //tb// folder contains the sources of the core's testbench | | Hdl | Contains the source files for the AD7766 HDL driver: \\ - The //doc// subfolder contains a brief documentation for the core. \\ - The //src// subfolder contains the HDL source files.  \\ - The //tb// folder contains the sources of the core's testbench |
 | NiosCpu | Contains the CED1Z Quartus evaluation project source files . The //ip// subfolder contains the AD7766 QSYS component | | NiosCpu | Contains the CED1Z Quartus evaluation project source files . The //ip// subfolder contains the AD7766 QSYS component |
-| Software | Contains the source files of the uCProbe library and the main file of the Nios2 SBT evaluation project | +| Software | Contains the source files of the Nios2 SBT evaluation project | 
-uCProbe | Contains the uCProbe interface and data capture script used to acquire data from the evaluation board and store it in a local .csv file |+DataCapture | Contains the script files used for data acquisition |
  
 ===== Install the USB-Blaster Device Driver ===== ===== Install the USB-Blaster Device Driver =====
Line 161: Line 158:
  
 ====== Quick Evaluation ====== ====== Quick Evaluation ======
- +{{page>:resources:fpga:altera:ced1z:quick_evaluation}}
-The next sections of this document present all the steps needed to create a fully functional project that can be used for evaluating the operation of the ADI platform. It is possible to skip these steps and load into the FPGA an image that contains a fully functional system that can be used together with the uC-Probe interface for the ADI platform evalution. +
-The first step of the quick evaluation process is to program the FPGA with the image provided in the lab files. Before the image can be loaded the **Quartus II Web Edition** tool or the [[https://www.altera.com/download/programming/quartus2/pq2-index.jsp|Quartus II Programmer]] must be installed on your computer. +
-To load the FPGA image you must first make sure that the USB cable is not connected to the CED1Z board. Connect the USB Blaster to the J6 connector of the CED1Z and power the board.  +
-**Power on the evaluation board.** +
-Run the **//program_fpga.bat//** batch file located in the **//ADIEvalBoard/FPGA//** folder.  +
-Now the FPGA contains a fully functional system and it is possible to skip directly to the **Evaluation Project User Interface** section of this document+
  
 ====== NIOS II Software Design ====== ====== NIOS II Software Design ======
-{{page>:resources:fpga:altera:ced1z:common_nios2_software_design}}+{{page>:resources:fpga:altera:ced1z:common_software_design}}
  
-====== uC-Probe Interface ====== 
-{{page>:resources:fpga:altera:ced1z:common_ucprobe}} 
- 
-===== Load and Run the Demonstration Project ===== 
- 
-  * Click the **//Open//** option from the **uC-Probe** menu and select the file **//ADIEvalBoard/ucProbe/AD7766_Interface.wsp//**. 
- 
-{{:resources:fpga:altera:ced1z:ucprobeopen.png?400}}{{:resources:fpga:altera:ced1z:ad7766interfaceopen.png?400}} 
- 
-  * Before opening the interface **uC-Probe** will ask for a symbols file that must be associated with the interface. If the lab was done according to the steps provided in the **Quick Evaluation** section, select the file **//ADIEvalBoard/ucProbe/ADIEvalBoard.elf//** to be loaded as a symbol file, otherwise select the file **//ADIEvalBoard/FPGA/software/ADIEvalBoard/ADIEvalBoard.elf//** to be loaded as a symbol file. 
- 
-{{:resources:fpga:altera:ced1z:loadelfucprobe.png?400}}{{:resources:fpga:altera:ced1z:loadelfsoftware.png?400}} 
- 
-  * Run the demonstration project by pressing the **//Play//** button. 
- 
-{{ :resources:fpga:altera:bemicro:image081.png?300 }} 
- 
-  * Run the //**ADIEvalBoard/uCProbe/data_capture.bat**// script. A DOS command prompt window will open. This window must be closed only when the uCProbe demonstration project will be closed. 
 ====== Evaluation Project User Interface ====== ====== Evaluation Project User Interface ======
  
-The following figure presents the uC-Probe interface that can be used for monitoring and controlling the operation of the EVAL-AD7766-1EDZ evaluation board. +In order to capture data from the ADC the following steps must be performed:
- +
-{{ :resources:fpga:altera:ced1z:ad7766interface.png?600 |Demonstration Project User Interface}} +
- +
-In order to capture data from the ADC using the uCProbe demonstration project the following steps must be performed:+
   * Make sure that the //**CED1Z FPGA**// is properly programmed and the USB Blaster is connected to the CED1Z board.   * Make sure that the //**CED1Z FPGA**// is properly programmed and the USB Blaster is connected to the CED1Z board.
-  * Start **//uc/Probe//** application. +  * Execute //**data_capture.bat**// script. At this point 1 Mbyte of data will be acquired from the ADC and saved into the CED1Z SRAM memory. The data stored in the CED1Z SRAM memory is transfered to the PC through the JTAG-UART link provided by the USB Blaster. After the data is transferred to the PC it is converted to 2's Complement 24 bit values. 
-  * Press **//Activate//** button. At this point 1 Mbyte of data will be acquired from the ADC and saved into the CED1Z SRAM memory. The **//Acquisition In Progress//** LED is lit to signal that the data is acquired from the ADC. When the data acquisition is complete the //**Acquisition Complete**// LED turns green. +  * The resulting data is saved into a comma separated values (.csv) file named **//Acquisition.csv//**, located in the same folder as the //**data_capture.bat**// file.
-  * The data stored in the CED1Z SRAM memory is transfered to the PC through the JTAG-UART link provided by the USB Blaster. The **//Transfer In Progress//** LED is lit as long as the data is transferred from the CED1Z to the PC. Whe the data transfer is complete the //**Transfer Complete**// LED turns green. +
-  * After the data is transferred to the PC it is converted to 2's Complement 24 bit values. The **//Processing Data In Progress//** LED is lit as long as the data conversion is performed. When the conversion is complete the //**Processing Data Complete**// LED turns green+
-  * The data captured from the ADC is saved into a comma separated values (.csv) file named **//Acquisition.csv//**, located in the same folder as the //**data_capture.bat**// file. While the data is saved the **//Writing File In Progress//** LED is lit. When the data write process is complete the //**Writing in File Complete**// LED turns green.+
   * The data capture status is also displayed in the opened command window as shown in the figure below.   * The data capture status is also displayed in the opened command window as shown in the figure below.
  
 {{ :resources:fpga:altera:cedz:cmd_interface.png?500 |Demonstration Project Command Interface}} {{ :resources:fpga:altera:cedz:cmd_interface.png?500 |Demonstration Project Command Interface}}
-  * A new acquisition can be started by reactivating the **//Activate//** button. +  * A new acquisition can be started by executing the //**data_capture.bat**// script.
-  After all the needed data is acquired the uCProbe program and the command window can be closed. +
  
 //**Note:**// If several consecutive data acquisitions are performed the captured data is appended to the **//Acquisition.csv//** file. //**Note:**// If several consecutive data acquisitions are performed the captured data is appended to the **//Acquisition.csv//** file.
  
-//**Note:**// If the design's clock settings have been changed, it may happen that the internal FIFO memory buffer is overflown. The **//FIFO Overflow//** LED will be lit. In that case, data acquired may be invalid. In order to retrieve new data, press **//Reset Core//** button before a new acquisition. +====== More information ====== 
- +  * [[ez>community/fpga|ask questions about the FPGA reference design]] 
-====== Troubleshooting ====== +  * Example questions: {{rss>http://ez.analog.com/community/feeds/allcontent/atom?community=2061 5 author 1d}}
- +
-{{page>:resources:fpga:altera:ced1z:common_troubleshooting}}+
  
  
  
resources/fpga/altera/ced1z/ad7766.1338214819.txt.gz · Last modified: 28 May 2012 16:20 (external edit)