This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
resources:fpga:xilinx:interposer:adn2850 [28 Sep 2012 11:32] – Added common section for describing the evaluation setup and System Demonstration Platform Adrian Costina | resources:fpga:xilinx:interposer:adn2850 [16 Oct 2013 15:20] – Delete ucProbe references, added UART interfaces snapshot, description Istvan Csomortani | ||
---|---|---|---|
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> |
{{ : | {{ : | ||
Line 30: | Line 30: | ||
* [[adi>/ | * [[adi>/ | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
====== Getting Started ====== | ====== Getting Started ====== | ||
Line 44: | 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), |
===== Downloads ===== | ===== Downloads ===== | ||
+ | <WRAP round download 80%> | ||
+ | \\ | ||
+ | * **ADN2850 Driver:** https:// | ||
+ | * **ADN2850 Commands:** https:// | ||
+ | * **Xilinx Boards Common Drivers:** https:// | ||
+ | * **EDK KC705 Reference project:** https:// | ||
+ | \\ | ||
+ | </ | ||
- | * {{: | + | ===== Hardware setup ===== |
- | The following table presents a short description | + | <WRAP round important 80%> |
+ | \\ | ||
+ | Before connecting | ||
+ | </ | ||
- | ^ **Folder** ^ **Description** ^ | + | |
- | | Bit | Contains | + | * Connect |
- | | 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 project that will be run by the Microblaze processor.| | + | |
- | | uCProbeInterface | Contains | + | |
- | ====== | + | ===== Reference Project Overview ===== |
+ | The following commands were implemented in this version of EVAL-ADN2850 reference project for Xilinx KC705 FPGA board. | ||
+ | ^ Command ^ Description ^ | ||
+ | | **help?** | Displays all available commands. | | ||
+ | | **rdac=** | Load the wiper register with a give value. Accepted values:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register.\\ value:\\ 0 .. 1023 - value to be written in register. | | ||
+ | | **rdac?** | Read back the value of the wiper register. Accepted values:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register. | | ||
+ | | **reset!** | Reset all wiper register to its stored values | | ||
+ | | **restore=** | Restore the specified wiper register setting form the memory. Accepted value:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register. | | ||
+ | | **save=** | Save the given wiper register settings to the memory. Accepted value:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register. | | ||
+ | | **writemem=** | Write to one of the user memory address. Accepted value:\\ address: a value between 0x2 and 0xE.\\ data: a value between 0 and 1023.| | ||
+ | | **readmem=** | Read data from the EEMEM memory. Accepted value: | ||
+ | | **decrdacdb=** | Decrement a given wiper register by 6dB. Accepted value:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register. | | ||
+ | | **decrdacdball!** | Decrement all wiper register by 6dB. | | ||
+ | | **decrdac=** | Decrement a given wiper register by one. Accepted value:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register. | | ||
+ | | **decrdacall!** | Decrement all wiper register by one. | | ||
+ | | **incrdacdb=** | Increment a given wiper register by 6dB. Accepted value:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register. | | ||
+ | | **incrdacdball!** | Increment all wiper register by 6dB. | | ||
+ | | **incrdac=** | Increment a given wiper register by one. Accepted value:\\ channel:\\ 0 - select RDAC 1 wiper register.\\ 1 - select RDAC 2 wiper register. | | ||
+ | | **incrdacall!** | Increment all wiper register by one. | | ||
+ | | **setwp=** | Set the state of the Write Protect (WP) pin. Accepted value:\\ desired state:\\ 0 - inactive\\ 1 - active | | ||
+ | | **getwp?** | Return the current value of the Write Protect (WP) pin | | ||
+ | | **sethwreset=** | Set the state of the Hardware Override Preset (PR) pin. Accepted value:\\ 0 - inactive\\ 1 - active | | ||
+ | | **gethwreset? | ||
+ | | **tolerance=** | Read one of the Tolerance register. Accepted value:\\ 0x0 - this device has one tolerance register | | ||
- | {{page> | + | Commands can be executed using a serial terminal connected to the UART peripheral of Xilinx KC705 FPGA. |
- | ===== Demonstration Project User Interface ===== | + | The following image shows a generic list of commands in a serial terminal connected to Xilinx KC705 FPGA's UART peripheral. |
+ | {{ : | ||
- | The following figure presents the **uC-Probe** interface that can be used for monitoring and controlling the operation of the **EVAL-ADN2850SDZ** evaluation board. | + | ===== Software Project Setup ===== |
- | + | {{page> | |
- | {{ : | + | |
- | + | ||
- | **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 send commands specific for the two RDAC channels available in the ADn2850. Toggling to **//On//** the switches under a specific RDAC will send the command only to that RDAC. The following commands can be sent to the two RDAC channels individually: | + | |
- | * **// | + | |
- | * **// | + | |
- | * **//+1 Step//** - increments the RDAC value by 1 | + | |
- | * **//-1 Step//** - decrements the RDAC value by 1 | + | |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
- | Below the individual command options there is a set of generic switches which are used to send commands to both RDACs simultaneously. The following commands can be sent simultaneously to both RDACs: | + | |
- | * **//+1 Step//** - increments the RDACs values by 1 | + | |
- | * **//-1 Step//** - decrements the RDACs values by 1 | + | |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
- | + | ||
- | **Section C** is used to send generic commands to the ADn2850. The command list is available in table 8 from the ADn2850 datasheet, page 16 (AD5235 Rev. D). The request values will be updated based on the switch selections and displayed in the **// | + | |
- | + | ||
- | **Section D** is used for setting the values for **// | + | |
- | + | ||
- | **Section E** is used to toggle the hardware pins. The functionality of the pins is described in the ADn2850 datasheet, Table 4 at page 8. When the **//Write Protect//** switch is sent to **//On//** it isn’t possible to write to the memory nor change the RDAC values. Exceptions are the **// | + | |
- | + | ||
- | **Section F** displays the values stored in the EEPROM memories and the tolerance value. The displayed values are updated by toggling the **// | + | |
- | + | ||
- | ===== 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 ====== | ||
* [[resources: | * [[resources: | ||
{{page> | {{page> |