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:bemicro:ad7091r [08 Aug 2012 11:36] – Approved Andrei Cozmaresources:fpga:altera:bemicro:ad7091r [26 Jan 2021 01:21] (current) – update arrow links after their web site update Robin Getz
Line 7: Line 7:
 ===== Evaluation Boards ===== ===== Evaluation Boards =====
  
-  * [[adi>EVAL-AD7091RSDZ ]]+  * [[adi>EVAL-AD7091RSDZ]]
  
 ====== Overview ====== ====== Overview ======
  
-This lab presents the steps to setup an environment for using the **[[adi>EVAL-AD7091RSDZ]]** evaluation board together with the **[[http://www.arrownac.com/solutions/bemicro-sdk/|BeMicro SDK]]** USB stickthe 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-AD091RSDZ Evaluation Board with the BeMicro SDK Platform.+This lab presents the steps to setup an environment for using the **[[adi>EVAL-AD7091RSDZ]]** evaluation board together with the **[[https://www.intel.com/content/www/us/en/programmable/b/bemicro-sdk.html|BeMicro SDK]]** USB stick and the Nios II Embedded Development Suite (EDS). Below is presented a picture of the EVAL-AD091RSDZ Evaluation Board with the BeMicro SDK Platform.
  
 {{ :resources:fpga:altera:bemicro:ad7091R_bemicro.jpg?400 }} {{ :resources:fpga:altera:bemicro:ad7091R_bemicro.jpg?400 }}
  
-For component evaluation and performance purposes, as opposed to quick prototyping, the user is directed to Analog Devices [[/resources/eval/sdp|System Demonstration Platform]] (**SDP**). The **SDP** consists of a: +{{page>common_sdp}}
-  * a controller board, like the **[[resources/eval/sdp/sdp-b|EVAL-SDP-CB1Z]] (SDP-B)** +
-  * an compatible Analog Devices SDP [[adi>sdp#exallist|product evaluation board]] +
-  * corresponding PC software +
-The EVAL-SDP-CB1Z controller board is part of Analog Devices SDP providing USB 2.0 high-speed connectivity to a PC computer running specific component evaluation software.  Each SDP evaluation daughter board includes the necessary installation files needed for this performance testing. It's expected that the analog performance on the two platforms may differ.+
  
 Below is presented a picture of **SDP-B** Controller Board with the **EVAL-AD7091RSDZ** Evaluation Board. Below is presented a picture of **SDP-B** Controller Board with the **EVAL-AD7091RSDZ** Evaluation Board.
Line 25: Line 21:
 {{ :resources:fpga:altera:bemicro:ad7091R_sdp1z.jpg?400 }} {{ :resources:fpga:altera:bemicro:ad7091R_sdp1z.jpg?400 }}
  
-The **EVAL-AD7091SDZ** evaluation board is a member of a growing number of boards available for the **SDP**.  It was designed to help customers evaluate performance or quickly prototype new **AD7091R** circuits and reduce design time.+The **EVAL-AD7091SDZ** evaluation board is a member of a growing number of boards available for the **SDP**.  They were designed to help customers evaluate performance or quickly prototype the new **AD7091R** circuit and reduce design time.
  
 The [[adi>AD7091R]] is a 12-bit successive approximation analog-to-digital converter (ADC) that offers ultralow power consumption (typically 349 µA at 3 V and 1 MSPS) while achieving fast throughput rates (1 MSPS with a 50 MHz SCLK). Operating from a single 2.7 V to 5.25 V power supply, the part contains a wide bandwidth track-and-hold amplifier that can handle input frequencies in excess of 7 MHz. The AD7091R also features an on-chip conversion clock, accurate reference, and high speed serial interface. The [[adi>AD7091R]] is a 12-bit successive approximation analog-to-digital converter (ADC) that offers ultralow power consumption (typically 349 µA at 3 V and 1 MSPS) while achieving fast throughput rates (1 MSPS with a 50 MHz SCLK). Operating from a single 2.7 V to 5.25 V power supply, the part contains a wide bandwidth track-and-hold amplifier that can handle input frequencies in excess of 7 MHz. The AD7091R also features an on-chip conversion clock, accurate reference, and high speed serial interface.
Line 31: Line 27:
 ===== More information ===== ===== More information =====
   * [[adi>AD7091R|AD7091R Product Info]] - pricing, samples, datasheet   * [[adi>AD7091R|AD7091R Product Info]] - pricing, samples, datasheet
-  * [[http://www.analog.com/static/imported-files/user_guides/UG-409.pdf|EVAL-AD7091RSDZ evaluation board user guide]] +  * **EVAL-AD7091RSDZ** evaluation board user guide (Available on CD) 
-  * [[http://www.arrownac.com/solutions/bemicro-sdk|BeMicro SDK]]+  * [[https://www.intel.com/content/www/us/en/programmable/b/bemicro-sdk.html|BeMicro SDK]]
   * [[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 ======
  
 The first objective is to ensure that you have all of the items needed and to install the software tools so that you are ready to create and run the evaluation project. The first objective is to ensure that you have all of the items needed and to install the software tools so that you are ready to create and run the evaluation project.
- 
  
 ===== Hardware Items ===== ===== Hardware Items =====
  
 Below is presented the list of required hardware items: Below is presented the list of required hardware items:
-  * Arrow Electronics [[http://www.arrow.com/bemicrosdk/|BeMicro SDK]] FPGA-based MCU Evaluation Board +  * Arrow Electronics [[https://www.intel.com/content/www/us/en/programmable/b/bemicro-sdk.html|BeMicro SDK]] FPGA-based MCU Evaluation Board 
-  * [[http://www.arrownac.com/solutions/adi_interposer/|BeMicro SDK/SDP Interposer]] adapter board+  * [[adi>sdp-bemicro|BeMicro SDK/SDP Interposer]] adapter board
   * **EVAL-AD7091RSDZ** evaluation board   * **EVAL-AD7091RSDZ** evaluation board
   * Intel Pentium III or compatible Windows PC, running at 866MHz or faster, with a minimum of 512MB of system memory   * Intel Pentium III or compatible Windows PC, running at 866MHz or faster, with a minimum of 512MB of system memory
- 
  
 ===== Software Tools ===== ===== Software Tools =====
  
 Below is presented the list of required software tools: Below is presented the list of required software tools:
-  * [[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 v12.1 sp1 
-  * [[https://www.altera.com/download/software/nios-ii|Nios II EDS]] v11.0 +  * [[https://www.altera.com/download/software/nios-ii|Nios II EDS]] v12.1 sp1
-  * [[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 **Micrium uC/Probe Trial** version is available via download from the web at [[http://micrium.com/download/Micrium-uC-Probe-Setup-Trial.exe]].  After installation add to the “Path” system variable the entry "//%QUARTUS_ROOTDIR%\bin\//“ on the third position in the list.+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.
  
 ===== Downloads ===== ===== Downloads =====
Line 66: Line 56:
 ===== Extract the Lab Files ===== ===== Extract the Lab Files =====
  
-Create a folder called “**//ADIEvalBoardLab//**” on your PC and extract the **//ad7091R_evalboardlab.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 **//ADIEvalBoardLab//** folder: **//FPGA//**, **//Hdl//** **//Software//**, **//ucProbeInterface//**, **//NiosCpu//**.+Create a folder called “**//ADIEvalBoardLab//**” on your PC and extract the **//ad7091R_evalboardlab.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 **//ADIEvalBoardLab//** folder: **//FPGA//**, **//Hdl//** **//Software//**, **//DataCapture//**, **//NiosCpu//**.
  
 ^ **Folder** ^ **Description** ^ ^ **Folder** ^ **Description** ^
Line 72: Line 62:
 | Hdl | Contains the source files for the AD7091R HDL driver: \\ - The //doc// subfolder contains a brief documentation for the driver. \\ - The //src// subfolder contains the HDL source files.  \\ - The //tb// folder contains the sources of the driver's testbench. | | Hdl | Contains the source files for the AD7091R HDL driver: \\ - The //doc// subfolder contains a brief documentation for the driver. \\ - The //src// subfolder contains the HDL source files.  \\ - The //tb// folder contains the sources of the driver's testbench. |
 | NiosCpu | Contains the Quartus evaluation project source files . The //ip// subfolder contains the AD7091R Nios2 peripheral source code. | | NiosCpu | Contains the Quartus evaluation project source files . The //ip// subfolder contains the AD7091R Nios2 peripheral source code. |
-| 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.| 
-uCProbeInterface | Contains the uCProbe interface and //data_capture.bat// 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 |
  
-====== ======+======  ======
  
 {{page>common_usb}} {{page>common_usb}}
Line 87: Line 77:
 ^ Name                   ^ Address         ^ IRQ       ^ ^ Name                   ^ Address         ^ IRQ       ^
 | CPU                    | 0x00000800      | -         | | CPU                    | 0x00000800      | -         |
-| Main PLL               | 0x00000080      | -                  +| Main PLL               | 0x00000080      | -         | 
-| JTAG UART              | 0x00000090      | 0                  +| JTAG UART              | 0x00000090      | 0         | 
-| uC-Probe UART          | 0x000000A0      | 1                  +| uC-Probe UART          | 0x000000A0      | 1         | 
-| EPCS FLASH CONTROLLER  | 0x00001800      | 2                  +| EPCS FLASH CONTROLLER  | 0x00001800      | 2         | 
-| OnChip RAM             | 0x00010000      | -                  +| OnChip RAM             | 0x00010000      | -         | 
-| LED GPIO               | 0x00000100      | -                  +| LED GPIO               | 0x00000100      | -         | 
-| GPIO                   | 0x00002080      | -                  +| GPIO                   | 0x00002080      | -         | 
-| CTRL GPIO              | 0x000020A0      | -                  +| CTRL GPIO              | 0x000020A0      | -         | 
-| SYS ID                 | 0x00000040      | -                  +| SYS ID                 | 0x00000040      | -         | 
-| TIMER                  | 0x00000060      | 3                  +| TIMER                  | 0x00000060      | 3         | 
-| AVALON MASTER          | -               | -                 +| AVALON MASTER          | -               | -         |
 | AD7091R PERIPHERAL     | 0x00000120      | -         | | AD7091R PERIPHERAL     | 0x00000120      | -         |
 |  **Table 1 System components**  ||| |  **Table 1 System components**  |||
Line 158: Line 148:
 | BASE_REGISTER             | 2  | 32  | RW | Register used to configure the base address of the memory location where the acquired data is to be written | | BASE_REGISTER             | 2  | 32  | RW | Register used to configure the base address of the memory location where the acquired data is to be written |
 | STATUS_REGISTER           | 3  | 32  | R  | Bit 0 is used to signal that the acquisition is complete \\ Bit 1 is used to signal that the internal memory buffer has been overflown \\ Bit 2 is used to signal that the user has performed a read of an unavailable register| | STATUS_REGISTER           | 3  | 32  | R  | Bit 0 is used to signal that the acquisition is complete \\ Bit 1 is used to signal that the internal memory buffer has been overflown \\ Bit 2 is used to signal that the user has performed a read of an unavailable register|
-| DUT_WR_REGISTER           | 2  | 32  | W | Register used to transmit ot the peripheral the data to written into the ADCs internal registers. | 
 |  **Table 4 Avalon Peripheral registers description**  ||||| |  **Table 4 Avalon Peripheral registers description**  |||||
- 
  
 ====== Quick Evaluation ====== ====== Quick Evaluation ======
-{{page>common_quick_eval}}+{{page>common_quick_evaluation}}
  
 ====== NIOS II Software Design ====== ====== NIOS II Software Design ======
-{{page>common}} +{{page>common_software_design}}
- +
-====== uC-Probe Interface ====== +
- +
-A notable challenge in embedded systems development is to overcome the lack of feedback that such systems typically provide. Many developers resort to blinking LEDs or instrumenting their code with //printf()// in order to determine whether or not their systems are running as expected. **Micrium** provides a unique tool named **μC-Probe** to assist these developers. With this tool, developers can effortlessly read and write the variables on a running embedded system. +
-This section presents the steps required to install the **Micrium uC-Probe** software tool and to run the demonstration project for the ADI evaluation board. A description of the **uC-Probe** demonstration interface is provided. +
- +
-===== Configure uC-Probe ===== +
- +
-Launch **uC-Probe** from the **//Start -> All Programs -> Micrium -> uC-Probe//**. +
- +
-Select **uC-Probe** options. +
-  * Click on the **uC-Probe** icon on the top left portion of the screen. +
-  * Click on the **//Options//** button to open the dialog box. +
- +
-{{ :resources:fpga:altera:bemicro:ucprobeoptionsbtn.png?300 }} +
- +
-Set target board communication protocol as **//JTAG UART//** +
-  * Click on the **//Communication//** tab icon on the top left portion of the dialog box +
-  * Select the **//JTAG UART//** option. +
- +
-{{ :resources:fpga:altera:bemicro:image067.png?400 }} +
- +
-Setup **//JTAG UART//** communication settings +
-  * Select the **//JTAG-UART//** option from the **//Communication//** tab. +
-  * Press the **//Open File//** button to select the JTAG Debug Information file (**//.jdi//**) +
-  * Navigate to the **//ADIEvalBoardLab/FPGA//** folder and select the BeMicroSDK.jdi file. Press Open. +
-  * Type the value **//1//** in the the **//Device Id//** window. +
- +
-{{ :resources:fpga:altera:bemicro:ucprobeoptionsjtag.png?400 }} +
- +
-  * Select **//uCProbe_uart(0)//** from the **//Instance Id//** pulldown menu. +
- +
-{{ :resources:fpga:altera:bemicro:image073.png?400 }} +
- +
-  * Press **//Apply//** and **//OK//** to exit the options menu. The embedded target has two UARTs. **uC-Probe** will be communicating with the **//uCProbe_uart//**. +
- +
-===== Load and Run the Demonstration Project ===== +
- +
-  * Click the **//Open//** option from the **uC-Probe** menu and select the file **//ADIEvalBoardLab/ucProbeInterface/AD7091R_Interface.wsp//**. +
- +
-{{:resources:fpga:altera:bemicro:ucprobeopenfile.png?400}} +
-{{:resources:fpga:altera:bemicro:ad7091Rinterface_open.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 **//ADIEvalBoardLab/ucProbeInterface/ADIEvalBoard.elf//** to be loaded as a symbol file, otherwise select the file **//ADIEvalBoardLab/FPGA/software/ADIEvalBoard/ADIEvalBoard.elf//** to be loaded as a symbol file. +
- +
-{{:resources:fpga:altera:bemicro:ucprobeopenelfquickeval.png?400}}{{:resources:fpga:altera:bemicro:ucprobeopenelfnormal.png?400}} +
- +
-  * Run the demonstration project by pressing the **//Play//** button. +
- +
-{{ :resources:fpga:altera:bemicro:image081.png?400 }} +
- +
-  * 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.+
  
 ====== Demonstration Project User Interface ====== ====== Demonstration Project User Interface ======
  
-The following figure presents the **uC-Probe** interface that can be used for monitoring and controlling the operation of the **EVAL-AD7091RSDZ** evaluation board. +In order to capture data from the ADC the following steps must be performed: 
- +   Execute **//data_capture.bat//** script. At this point 16 Kbyte of data will be acquired from the ADC and saved into the BeMicro SDK memory. The data stored in the BeMicro SDK memory is transfered to the PC. After the data is transferred to the PC it is converted to 16 bit values. 
-{{ :resources:fpga:altera:bemicro:ad7091R_interface.png?700 }} +  * 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.
- +
-In order to capture data from the ADC using the uCProbe demonstration project the following steps must be performed: +
-   Press **//Acquisition//** button. At this point 16 Kbyte of data will be acquired from the ADC and saved into the BeMicro SDK 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 data stored in the BeMicro SDK memory is transfered to the PC. The **//Transfer In Progress//** LED is lit as long as the data is transferred from the BeMicro SDK to the PC. When the data transfer is complete the //**Transfer Complete**// LED turns green. +
-  * After the data is transferred to the PC it is converted to 16 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:bemicro:cmd_interface.png?500 |Demonstration Project Command Interface}} {{ :resources:fpga:altera:bemicro:cmd_interface.png?500 |Demonstration Project Command Interface}}
-  * A new acquisition can be started by reactivating the **//Acquisition//** 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.
  
-{{page>troubleshooting}}+====== Troubleshooting ====== 
 + 
 +{{page>troubleshooting12}} 
 + 
 +====== More information ====== 
 +  * [[ez>community/fpga|ask questions about the FPGA reference design]] 
 +  * Example questions: {{rss>http://ez.analog.com/community/feeds/allcontent/atom?community=2061 5 author 1d}}
resources/fpga/altera/bemicro/ad7091r.1344418580.txt.gz · Last modified: 08 Aug 2012 11:36 by Andrei Cozma