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:cn0235 [16 Nov 2012 17:31] – [Evaluation Boards] Lars-Peter Clausen | resources:fpga:xilinx:interposer:cn0235 [20 Jan 2014 15:01] – changed source code (without Micrium uC-Probe), added Software Setup, remove programming with Impact Lucian Sin | ||
---|---|---|---|
Line 11: | Line 11: | ||
====== 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 33: | Line 33: | ||
* [[adi>/ | * [[adi>/ | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
====== Getting Started ====== | ====== Getting Started ====== | ||
Line 47: | Line 46: | ||
===== 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-CN0235 reference project for Xilinx KC705 FPGA. | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | + | <WRAP round download 80%> | |
- | * {{:resources: | + | \\ |
- | + | * **AD7280A Driver:** https://github.com/ | |
- | The following table presents a short description the reference design archive contents. | + | * **CN0235 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 Microbalze memory. | | + | |
====== Run the Demonstration Project ====== | ====== Run the Demonstration Project ====== | ||
- | {{page> | + | ===== Hardware setup ===== |
- | + | ||
- | ===== Demonstration Project User Interface | + | |
- | + | ||
- | The following figures present the **uC-Probe** interface that can be used for monitoring and controlling the operation of the **EVAL-CN0235-SDPZ** evaluation board. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | **Section A** is used to activate the board and monitor activity. The communication with the board is activated / deactivated by toggling the //ON/OFF// switch. The // | + | |
- | + | ||
- | **Section B** is used to acquire data from the two AD7280As from the circuit. When pressing the //Convert All// button a conversion and a read will be initiated. The data read will be then converted to voltages before being displayed on the interface. | + | |
- | + | ||
- | **Section C** is used to perform self test for both AD7280As. The data from the //Self test// registers will be displayed as voltage. | + | |
- | + | ||
- | **Section D** displays the status of the //ALERT// pin on the master AD7280A. By default, the alert is not activated, so a configuration of the //Alert// register and // | + | |
- | + | ||
- | **Section E** allows to toggle the //PD// pin. If the pin is low, the AD7280As will be powered down. | + | |
- | + | ||
- | **Section F** is used to activate/ | + | |
- | + | ||
- | **Section G** is used to perform readings of any of the registers on the 2 AD7280a devices. Before pressing the //Read// button, the device on which the read is to be performed must be selected and also the register number. When reading from the Slave device, the LED will be ON. As a response the device address, register address and register data will be displayed, all in decimal. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | **Section A** is used to select the address of the devive on which the register should be configured. The LED is on when the Slave device is selected. | + | |
- | + | ||
- | **Section B** is used to configure the //Control High Byte// register. The first slider from left to right will select the conversion inputs. The second slider will select the conversion results that should be read. The third button configures the conversion start format. The forth slider enables/ | + | |
- | **Section C** is used to configure | + | <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 | ||
+ | </WRAP> | ||
- | **Section D** is used to configure | + | |
+ | * Connect | ||
- | **Section E** is used to configure | + | ===== Reference Project Overview ===== |
+ | The following commands were implemented in this version of EVAL-CN0235 reference project for Xilinx KC705 FPGA board. | ||
+ | ^ Command ^ Description ^ | ||
+ | | **help?** | Displays all available commands. | | ||
+ | | **adcCode? | ||
+ | | **voltage? | ||
+ | | **register? | ||
+ | | **register=** | Sets the content of one register | ||
+ | | **selfTestAD7280A!** | Performs the self test for both AD7280A devices on the board (one master and one slave). | | ||
+ | | **alertPinAD7280A? | ||
+ | | **enableAD8280=** | Enables/ | ||
+ | | **alarmPinOvAD8280? | ||
+ | | **alarmPinUvAD8280? | ||
+ | | **selfTestAD8280!** | Performs the self test for both AD8280 devices on the board (one master and one slave). | | ||
- | **Section F** is used to configure the //Cell Balance timers// registers. By default the timers are set to 0. | ||
- | **Section G** is used to configure | + | Commands can be executed using a serial terminal connected |
- | ===== Troubleshooting ===== | + | The following image shows a generic list of commands in a serial terminal connected to Xilinx KC705 FPGA's UART peripheral. |
+ | {{ : | ||
- | In case there is a communication problem with the board the follwing actions can be perfomed in order to try to fix the issues: | + | ===== Software Project Setup ===== |
- | * Check that the evaluation board is powered as instructed in the board' | + | {{page> |
- | * 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> |