This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:fpga:xilinx:interposer:ad5421 [20 Feb 2012 14:24] – created Adrian Costina | resources:fpga:xilinx:interposer:ad5421 [09 Jan 2021 00:48] (current) – user interwiki links Robin Getz | ||
---|---|---|---|
Line 12: | Line 12: | ||
====== Overview ====== | ====== Overview ====== | ||
- | This document presents the steps to setup an environment for using the **[[adi> | + | This document presents the steps to setup an environment for using the **[[adi> |
{{ : | {{ : | ||
- | For component evaluation and performance purposes, as opposed to quick prototyping, | + | {{page>common_sdp}} |
- | * a controller board, like the **[[resources/ | + | |
- | * a compatible Analog Devices SDP [[adi>sdp# | + | |
- | * 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. | + | |
Below is presented a picture of **SDP-B** Controller Board with the **EVAL-AD5421SDZ** Evaluation Board. | Below is presented a picture of **SDP-B** Controller Board with the **EVAL-AD5421SDZ** Evaluation Board. | ||
Line 33: | Line 29: | ||
* [[adi> | * [[adi> | ||
* [[adi>/ | * [[adi>/ | ||
- | * [[http://www.xilinx.com/products/ | + | * [[xilinx>products/ |
- | * [[http:// | + | |
====== Getting Started ====== | ====== Getting Started ====== | ||
Line 42: | Line 37: | ||
===== Required Hardware ===== | ===== Required Hardware ===== | ||
- | * [[http://www.xilinx.com/products/ | + | * [[xilinx>products/ |
* FMC-SDP adapter board | * FMC-SDP adapter board | ||
* **EVAL-AD5421** evaluation board | * **EVAL-AD5421** evaluation board | ||
Line 48: | Line 43: | ||
===== Required Software ===== | ===== Required Software ===== | ||
- | * Xilinx ISE 13.4 (Programmer (IMPACT) is sufficient for the demo and is available on Webpack). | + | * Xilinx ISE 14.6. |
- | * [[http://micrium.com/ | + | * UART Terminal (Termite/Tera Term/Hyperterminal), |
+ | * The EVAL-AD5421 reference project for Xilinx KC705 FPGA. | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | + | <WRAP round download 80%> | |
- | * {{:resources: | + | \\ |
- | + | * **AD5421 Driver:** https://github.com/ | |
- | The following table presents a short description the reference design archive contents. | + | * **AD5421 Commands:** https:// |
- | + | | |
- | ^ **Folder** ^ **Description** ^ | + | * **EDK KC705 Reference |
- | | Bit | Contains the KC705 configuration file that can be used to program the system for quick evaluation. | | + | \\ |
- | | Microblaze | Contains the EDK 13.4 project for the Microblaze softcore that will be implemented in the KC705 FPGA. | | + | </ |
- | | Software | Contains the source files of the software | + | |
- | | uCProbeInterface | Contains the uCProbe interface and the .elf symbols file used by uC-Probe to access data from the Microblaze memory. | | + | |
====== Run the Demonstration Project ====== | ====== Run the Demonstration Project ====== | ||
- | {{page> | + | ===== Hardware setup ===== |
- | ===== Demonstration Project User Interface ===== | + | <WRAP round important 80%> |
+ | \\ | ||
+ | Before connecting the ADI evaluation board to the Xilinx KC705 make sure that the VADJ_FPGA voltage of the KC705 is set to 3.3V. For more details on how to change the setting for VADJ_FPGA visit the Xilinx KC705 product page. | ||
+ | </ | ||
- | The following figure presents | + | * Use the FMC-SDP interposer to connect the ADI evaluation board to the Xilinx KC705 board on the FMC LPC connector. |
+ | | ||
- | {{ :resources: | + | <WRAP round important 80%> |
+ | \\ | ||
+ | To power on the EVAL-AD5421 evaluation board, you need to provide external differential supply voltage from LOOP- to LOOP+ (for more information see: [[adi>/ | ||
+ | </ | ||
+ | ===== Reference Project Overview ===== | ||
+ | The following commands were implemented in this version of EVAL-AD5421 reference project for Xilinx KC705 FPGA board. | ||
+ | ^ Command ^ Description ^ | ||
+ | | **help?** | Displays all available commands. | | ||
+ | | **reset!** | Resets the AD5421 device. | | ||
+ | | **current=** | Sets the output current. Accepted values:\\ 4 .. 20 - the desired output current in milliamps. | | ||
+ | | **current? | ||
+ | | **register=** | Writes to the DAC register. Accepted values:\\ 0 .. 65535 - the value written to the DAC. | | ||
+ | | **register? | ||
+ | | **offset=** | Sets the offset. Accepted values:\\ -32768 .. +32767 - digital offset adjustment(LSBs) | | ||
+ | | **offset?** | Displays the offset. | | ||
+ | | **gain=** | Sets the gain. Accepted values:\\ -65535 .. 0 - digital gain adjustment(LSBs) | | ||
+ | | **gain?** | Displays the gain. | | ||
+ | | **temp?** | Displays the die temperature. | | ||
+ | | **vloop?** | Displays the Vloop - COM voltage. | | ||
+ | | **faultReg? | ||
- | **Section A** is used to activate the board and monitor activity. The communication with the board is activated / deactivated by toggling the **// | ||
- | **Section B** is used to load different values into the AD5421 registers. | + | Commands can be executed using a serial terminal connected |
- | * A DAC Value is set by using the corresponding slider. | + | The following image shows a generic list of commands in a serial terminal connected |
+ | {{ : | ||
- | * An OFFSET Value is set by using the corresponding slider. The value set by the slider can be read on the red seven segment display next to the slider. | ||
- | * A GAIN Value is set by using the corresponding slider. The value set by the slider can be read on the red seven segment display next to the slider. | + | ===== Software Project Setup ===== |
- | + | {{page> | |
- | **Section C** is used to read back values from the AD5421. | + | |
- | + | ||
- | Each green seven segment display is used to show one of the values read from the AD5421: | + | |
- | + | ||
- | * DAC Value read - The value programmed in the DAC Register | + | |
- | + | ||
- | * Digital Offset Adjustment (LSB) - See AD5421 datasheet page 28 for formula | + | |
- | + | ||
- | * Digital Gain Adjustment at Full-Scale Output - See AD5421 datasheet page 28 for formula | + | |
- | + | ||
- | * AD5421 Temperature - Temperature read by the AD5421 | + | |
- | + | ||
- | * VLoop-COM Voltage - The Voltage drop between the VLoop pin and the COM pin of the AD5421 | + | |
- | + | ||
- | * Loop Current Value - See AD5421 datasheet page 25 for formula | + | |
- | + | ||
- | * Loop Current Value Optimized - See AD5421 datasheet page 29 for formula | + | |
- | + | ||
- | * Fault register - Each LED turns on if a bit in the Fault register is set. See AD5421 datasheet page 27 for more details about each fault | + | |
- | + | ||
- | ===== Troubleshooting | + | |
- | + | ||
- | In case there is a communication problem with the board the follwing actions can be perfomed in order to try to fix the issues: | + | |
- | * Check that the evaluation board is powered as instructed in the board' | + | |
- | * In uC-Probe refresh the symbols file by right-clicking on the **//System Browser//** window and selecting **//Refresh Symbols// | + | |
- | * If the communication problem persists even after performing the previous steps, restart the uC-Probe application and try to run the interface again. | + | |
====== More information ====== | ====== More information ====== | ||
- | * [[ez> | + | * [[resources: |
- | + | {{page> |