Wiki

no way to compare when less than two revisions

Differences

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


Previous revision
Next revision
resources:fpga:altera:bemicro:ad5425 [15 Feb 2013 14:34] – Updated uC/probe related links Adrian Costina
Line 1: Line 1:
 +====== BeMicro FPGA Project for AD5425 with Nios driver ======
  
 +
 +===== Supported Devices =====
 +
 +  * [[adi>AD5425]]
 +
 +===== Evaluation Boards =====
 +
 +  * [[adi>EVAL-AD5449SDZ]]
 +
 +====== Overview ======
 +
 +This lab presents the steps to setup an environment for using the **[[adi>AD5425|EVAL-AD5425SDZ]]** evaluation board together with the **[[http://www.arrownac.com/solutions/bemicro-sdk/|BeMicro SDK]]** USB stick, the Nios II Embedded Development Suite (EDS) and the [[http://micrium.com/tools/ucprobe/overview/|Micrium μC-Probe]] run-time monitoring tool. Below is presented a picture of the EVAL-AD5425SDZ Evaluation Board with the BeMicro SDK Platform.
 +
 +{{ :resources:fpga:altera:bemicro:ad5449_bemicro.png?400 }}
 +
 +{{page>common_sdp}}
 +
 +Below is presented a picture of **SDP-B** Controller Board with the **EVAL-AD5449SDZ** Evaluation Board.
 +
 +{{ :resources:fpga:altera:bemicro:ad5449_sdp1z.png?400 }}
 +
 +The [[adi>AD5425]] is a CMOS, 8-bit, current output digital-to-analog converter that operates from a 2.5 V to 5.5 V power supply, making it suitable for battery-powered applications and many other applications.
 +
 +The **EVAL-AD5449** evaluation board is designed to help customers quickly prototype new AD5425 circuits and reduce design time. The board requires ±12 V and +5 V supplies. The +12 V VDD and -12 V VSS are used to power the output amplifier; the +5 V supply is used to power the DAC (VDD) and transceivers (VCC).
 +
 +===== More information =====
 +  * [[adi>AD5425|AD5425 Product Info]] - pricing, samples, datasheet
 +  * [[adi>/static/imported-files/user_guides/UG-297.pdf|EVAL-AD5449SDZ evaluation board user guide]]
 +  * [[http://www.arrownac.com/solutions/bemicro-sdk|BeMicro SDK]]
 +  * [[http://www.altera.com/devices/processor/nios2|Nios II Embedded Development Suite (EDS)]]
 +  * [[http://micrium.com/tools/ucprobe/overview/|Micrium uC-Probe]]
 +
 +====== 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.
 +
 +
 +===== 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
 +  * [[http://www.arrownac.com/solutions/adi_interposer/|BeMicro SDK/SDP Interposer]] adapter board
 +  * **EVAL-AD5449** evaluation board
 +  * Intel Pentium III or compatible Windows PC, running at 866MHz or faster, with a minimum of 512MB of system memory
 +
 +
 +===== 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
 +  * [[https://www.altera.com/download/software/nios-ii|Nios II EDS]] v11.0
 +  * [[http://micrium.com/tools/ucprobe/trial/|uC-Probe]] run-time monitoring tool, version 2.5
 +
 +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 2.5 is available via download from the web at [[http://micrium.com/tools/ucprobe/trial/]].  After installation add to the “Path” system variable the entry "//%QUARTUS_ROOTDIR%\bin\//“ on the third position in the list.
 +
 +===== Downloads =====
 +  * {{:resources:fpga:altera:bemicro:ad5425_evalboardlab.zip|Lab Design Files}}
 +===== Extract the Lab Files =====
 +
 +Create a folder called “**//ADIEvalBoardLab//**” on your PC and extract the **//ad5425_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//**, **//Software//**, **//ucProbeInterface//**, **//NiosCpu//**.
 +
 +{{ :resources:fpga:altera:bemicro:labfolders.png?500 }}
 +
 +====== ======
 +
 +{{page>common_usb}}
 +
 +====== Quick Evaluation ======
 +{{page>common_quick_eval}}
 +
 +====== FPGA Design ======
 +{{page>common_spi_i2c}}
 +
 +====== NIOS II Software Design ======
 +{{page>common}}
 +
 +====== 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/AD5425_Interface.wsp//**.
 +
 +{{:resources:fpga:altera:bemicro:image077.png?400}}{{:resources:fpga:altera:bemicro:ad5449interfaceopen.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:image080.jpg?400 }}
 +
 +  * Run the demonstration project by pressing the **//Play//** button.
 +
 +{{ :resources:fpga:altera:bemicro:image081.png?400 }}
 +
 +====== 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-AD5449** evaluation board.
 +
 +{{ :resources:fpga:altera:bemicro:interface5425.png?700 }}
 +
 +The communication with the board is activated / deactivated by toggling the **//ON/OFF//** switch. The **//Activity//** LED turns green when the communication is active. If the **//ON/OFF//** switch is set to **//ON//** and the **//Activity//** LED is **//BLACK//** it means that there is a communication problem with the board. See the **Troubleshooting** section for indications on how to fix the communication problems.
 +
 +The slider is used to set the value programmed in the AD5425 DAC.
 +
 +{{page>troubleshooting}}
resources/fpga/altera/bemicro/ad5425.txt · Last modified: 26 Jan 2021 01:21 by Robin Getz