This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
resources:fpga:xilinx:interposer:ad5755 [14 Feb 2012 16:40] – created Adrian Costina | resources:fpga:xilinx:interposer:ad5755 [02 Oct 2013 15:28] – Change the command table and adding Software Project Setup section Istvan Csomortani | ||
---|---|---|---|
Line 14: | Line 14: | ||
====== 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-AD5755SDZ** Evaluation Board. | Below is presented a picture of **SDP-B** Controller Board with the **EVAL-AD5755SDZ** Evaluation Board. | ||
Line 36: | Line 32: | ||
* [[adi>/ | * [[adi>/ | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
====== Getting Started ====== | ====== Getting Started ====== | ||
Line 50: | Line 45: | ||
===== Required Software ===== | ===== Required Software ===== | ||
- | * Xilinx ISE 13.4 (Programmer (IMPACT) is sufficient for the demo and is available on Webpack). | + | * Xilinx ISE 14.6 (Programmer (IMPACT) is sufficient for the demo and is available on Webpack). |
- | * [[http:// | + | * UART Terminal (Tera Term/Hyperterminal), |
===== Downloads ===== | ===== Downloads ===== | ||
+ | <WRAP round download 80%> | ||
+ | \\ | ||
+ | * **AD5755 Driver:** https:// | ||
+ | * **AD5755 Commands:** https:// | ||
+ | * **Xilinx Boards Common Drivers:** https:// | ||
+ | * **EDK KC705 Reference project:** https:// | ||
+ | \\ | ||
+ | </ | ||
- | * {{: | + | ===== Hardware setup ===== |
- | The following table presents a short description the reference design archive contents. | + | <WRAP round important |
- | + | \\ | |
- | ^ **Folder** ^ **Description** ^ | + | 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. |
- | | Bit | Contains the KC705 configuration file that can be used to program the system for quick evaluation. | | + | </WRAP> |
- | | Microblaze | Contains the EDK project for the Microblaze softcore that will be implemented in the KC705 FPGA. | | + | |
- | | Software | Contains the source files of the software project that will be run by the Microblaze processor.| | + | |
- | | uCProbeInterface | Contains the uCProbe interface and the .elf symbols file used by uC-Probe to access data from the Microbalze memory. | | + | |
- | + | ||
- | ====== Run the Demonstration Project ====== | + | |
- | + | ||
- | ===== Hardware Setup ===== | + | |
- | + | ||
- | <note important> | + | |
* Use the FMC-SDP interposer to connect the ADI evaluation board to the Xilinx KC705 board on the FMC LPC connector. | * Use the FMC-SDP interposer to connect the ADI evaluation board to the Xilinx KC705 board on the FMC LPC connector. | ||
* Connect the JTAG and UART cables to the KC705 and power up the FPGA board. | * Connect the JTAG and UART cables to the KC705 and power up the FPGA board. | ||
- | * Start IMPACT, and double click “// | ||
- | {{ : | ||
- | * Program the KC705 FPGA using the "// | ||
- | * Power the ADI evaluation board. | ||
- | At this point everything is set up and it is possible to start the evaluation | + | <WRAP round important 80%> |
+ | \\ | ||
+ | To power on the EVAL-AD5755 | ||
+ | </ | ||
- | ===== Configure uC-Probe ===== | + | ===== Reference Project Overview ===== |
+ | The following commands were implemented in this version of EVAL-AD5755 reference project for Xilinx KC705 FPGA board. | ||
+ | ^ Command ^ Description ^ | ||
+ | | **help?** | Displays all available commands. | | ||
+ | | **register=** | Writes to the a data register. Accepted values:\\ **Register address: | ||
+ | | **control=** | Writes to the a control register. Accepted values:\\ **Register address: | ||
+ | | **register? | ||
+ | | **power=** | Set the power state of the dc-to-dc converters, DAC and internal amplifiers for the selected channel. Accepted values:\\ **Channel: | ||
+ | | **power?** | Displays the power state of the dc-to-dc converters, | ||
+ | | **range=** | Set the range of the selected channel. Accepted values:\\ **Channel: | ||
+ | | **range?** | Displays the range of the selected channel. Accepted values: \\ **Channel: | ||
+ | | **voltage=** | Sets the output voltage for a selected channel. Accepted values: \\ **Channel: | ||
+ | | **voltage? | ||
+ | | **current=** | Displays the output current for a selected channel. Accepted values: \\ **Channel: | ||
+ | | **current? | ||
+ | | **getStatus!** | Read back the Status register and print any faults or errors. | | ||
+ | | **testSPI!** | Ensure that the SPI interface are working correctly. | | ||
+ | |||
+ | Commands can be executed using a serial terminal connected to the UART peripheral of Xilinx KC705 FPGA. | ||
- | Launch **uC-Probe** from the **//Start -> All Programs -> Micrium -> uC-Probe// | + | The following image shows a generic list of commands in a serial terminal connected to Xilinx KC705 FPGA's UART peripheral. |
+ | {{ : | ||
- | Select **uC-Probe** options. | + | ===== Software |
- | * Click on the **uC-Probe** icon on the top left portion of the screen. | + | {{page>import_workspace}} |
- | * Click on the **// | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Set target board communication protocol as **// | + | |
- | * Click on the **// | + | |
- | * Select the **// | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Setup **// | + | |
- | * Select the **// | + | |
- | * Select the COM port to which the KC705 board is connected. | + | |
- | * Set the Baud Rate to 115200 bps. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | * Press **// | + | |
- | + | ||
- | ===== Load and Run the Demonstration | + | |
- | + | ||
- | * Click the **// | + | |
- | + | ||
- | * Before opening the interface **uC-Probe** will ask for a symbols file that must be associated with the interface. Select the file **// | + | |
- | + | ||
- | * Run the demonstration project by pressing the **// | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | <note tip>In some cases it is possible that the uC-Probe interface will not respond to the commands the first time it is ran. In this situation just stop the interface by pressing the **// | + | |
- | + | ||
- | ===== 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-AD5755SDZ** evaluation board. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | **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 select the DAC channel. | + | |
- | + | ||
- | **Section C** is used to write data into the register selected by the Selection Slider. | + | |
- | + | ||
- | Options: | + | |
- | + | ||
- | * Write to DAC data register (individual channel write). | + | |
- | * Write to gain register (individual channel write). | + | |
- | * Write to gain register (all DACs). | + | |
- | * Write to offset register (individual channel write). | + | |
- | * Write to offset register (all DACs) . | + | |
- | * Write to clear code register (individual channel write). | + | |
- | + | ||
- | **Section D** is used to read data from the register selected by the Selection Slider. | + | |
- | + | ||
- | Options: | + | |
- | + | ||
- | * Read from DAC data register (individual channel read). | + | |
- | * Read from DAC control register (individual channel read). | + | |
- | * Read from Gain register (individual channel read). | + | |
- | * Read from Offset register (individual channel read). | + | |
- | * Read from Clear Code register (individual channel read). | + | |
- | * Read from Slew Rate control register (individual channel read). | + | |
- | * Read from Status register. | + | |
- | * Read from Main control register. | + | |
- | * Read from DC-to-DC control register. | + | |
- | + | ||
- | **Section E** is used to write data into the DAC n Control Register. | + | |
- | + | ||
- | Options: | + | |
- | + | ||
- | * Internal – Powers up the dc-to-dc converter, DAC, and internal amplifiers for the selected channel. | + | |
- | * Clear – Clear enable bit. | + | |
- | * Output – Enables/ | + | |
- | * Rset – Selects an internal or external current sense resistor for the selected DAC channel. | + | |
- | * DC-DC – Powers the dc-to-dc converter on the selected channel. | + | |
- | * OVRNG – Enables 20% overrange on voltage output channel only. No current output overrange available. | + | |
- | * Output Range – Selects the output range to be enabled. | + | |
- | + | ||
- | **Section F** is used to write data into the DC-DC Control Register. | + | |
- | + | ||
- | Options: | + | |
- | + | ||
- | * DC-DC Comp – Selects between an internal and external compensation resistor for the dc-to-dc converter. | + | |
- | * Phase – User programmable dc-to-dc converter phase (between channels). | + | |
- | * Frequency – DC-to-dc switching frequency. | + | |
- | * Max Voltage – Maximum allowed VBOOST_x voltage supplied by the dc-to-dc converter. | + | |
- | + | ||
- | **Section G** is used to write data into the Main Control Register. | + | |
- | + | ||
- | Options: | + | |
- | + | ||
- | * POC – The POC bit determines the state of the voltage output channels during normal operation. | + | |
- | * StartRead – Enable status readback during a write. | + | |
- | * EWD – Enable watchdog timer. | + | |
- | * WD Period – Select the timeout period for the watchdog timer. | + | |
- | * ShtCctLim – Programmable short-circuit limit on the VOUT_x pin in the event of a short-circuit condition. | + | |
- | * OutEn All – Enables the output on all four DACs simultaneously. | + | |
- | * DC-DC All – Powers up the dc-to-dc converter on all four channels simultaneously. | + | |
- | + | ||
- | **Section H** is used to write data into the Slew Rate Control Register. | + | |
- | + | ||
- | Options: | + | |
- | + | ||
- | * SE – Enable SE. | + | |
- | * SR Clock – Slew Rate Update Clock Options. | + | |
- | * SR Step – Slew Rate Step Size Options. | + | |
- | + | ||
- | **Section I** is used to write data into the Software Register. | + | |
- | + | ||
- | Options: | + | |
- | + | ||
- | * User Bit – This bit is mapped to Bit D11 of the status register. | + | |
- | * Software Reset – Performs a reset of the AD5755. | + | |
- | + | ||
- | ===== 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> |