This document presents the steps to setup an environment for using the EVAL-AD5254SDZ evaluation board together with the Xilinx KC705 FPGA board and the Xilinx Embedded Development Kit (EDK). Below is presented a picture of the EVAL-AD5254SDZ Evaluation Board with the Xilinx KC705 board.
For component evaluation and performance purposes, as opposed to quick prototyping, the user is directed to use the part evaluation setup. This consists of:
The SDP-B controller board is part of Analog Devices System Demonstration Platform (SDP). It provides a high speed USB 2.0 connection from the PC to the component evaluation board. The PC runs the evaluation software. Each evaluation board, which is an SDP compatible daughter board, includes the necessary installation file required for performance testing.
Note: it is expected that the analog performance on the two platforms may differ.
Below is presented a picture of SDP-B Controller Board with the EVAL-AD5254SDZ Evaluation Board.
The AD5254 is quad-channel, I2C, nonvolatile memory, digitally controlled potentiometer with 256 positions. This device performs the same electronic adjustment functions as mechanical potentiometers, trimmers, and variable resistors. The part’s versatile programmability allows multiple modes of operation, including read/write access in the RDAC and EEMEM registers, increment/decrement of resistance, resistance changes in ±6 dB scales, wiper setting readback, and extra EEMEM for storing user-defined information, such as memory data for other components, look-up table, or system identification information.
The EVAL-AD5254SDZ evaluation board is designed to help customers quickly prototype new AD5254 circuits and reduce design time. The EVAL-AD5254SDZ incorporates several test circuits to evaluate the AD5254 performance.
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.
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 commands were implemented in this version of EVAL-AD5254 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 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 value: 0 .. 255 - value to be written in register. |
rdac? | Read back the value of the wiper register. Accepted values: channel: 0 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 |
reset! | Reset all wiper register to its stored values |
restore= | Restore the specified wiper register setting form the memory. Accepted value: 0 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 |
save= | Save the given wiper register settings to the memory. Accepted value: channel: 0 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 |
writemem= | Write to one of the user memory address. Accepted value: address: a value between 0x2 and 0xE. data: a value between 0 and 255. |
readmem= | Read data from the EEMEM memory. Accepted value: address: a value between 0x2 and 0xE. |
decrdacdb= | Decrement a given wiper register by 6dB. Accepted value: channel: 0 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 |
decrdacdball! | Decrement all wiper register by 6dB. |
decrdac= | Decrement a given wiper register by one. Accepted value: channel: 0 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 |
decrdacall! | Decrement all wiper register by one. |
incrdacdb= | Increment a given wiper register by 6dB. Accepted value: channel: 0 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 |
incrdacdball! | Increment all wiper register by 6dB. |
incrdac= | Increment a given wiper register by one. Accepted value: channel: 0 .. 3 - 0 corresponding with RDAC1 and 3 corresponding with RDAC4 |
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? | Return the current value of the Hardware Override Preset (PR) pin |
tolerance= | Read one of the Tolerance register. Accepted value: 0x0 .. 0x7 - virtual address of the tolerance register |
Commands can be executed using a serial terminal connected to the UART peripheral of Xilinx KC705 FPGA.
The following image shows a generic list of commands in a serial terminal connected to Xilinx KC705 FPGA's UART peripheral.
The hardware platform for each reference projects with FMC-SDP interposer and KC705 evaluation board is common. The next steps should be followed to recreate the software project of the reference design:
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !