Does ADI have the AD9914's source code?
I knew ADI has the software(wizard) for control the EVB but we need have to the C code,tks!
I'm sorry, no. The source code is not being distributed.
As JLKeip has said, ADI is not providing the source code of the Evaluation Software. However, it’s quite easy to program a code (in C, C++ or Python) which controls the AD9914. I have just developed my own code and it is running well. The key issue is the use of the dll library adiddseval.dll which is used by the Evaluation Software. You can easily find it in the path where the software is installed (in my case C://ProgramFiles(x86)/Analog Devices/AD9914_15 Evaluation Software) . This library has some functions that generate automatically the SPI instructions to program the registers of the AD9914 using the processor CY7C68013A-128AXC included in the Evaluation Board. It has also some functions to detect and set up the communication between the computer and the Evaluation Board.
I attach a code written in python which could help you to code your own software. Basically, this code initialize the communication between the computer and the Evaluation Board and generate a single tone (at 250 MHz because I’m using a system clock reference of 1.2 GHz). To do that it writes the registers 0x0B, 0x0C (amplitude and frequency registers of profile0) and 0x01 (putting the Enable Profile mode bit to ‘1’). It works perfectly on my computer with Windows 10 and Python 3.5. (I’m sorry, I can’t give you my own code, but it can’t be publish yet :))
I wish it was useful.
Remember that it is necessary to copy the dll libraries adiddseval.dll and ADI_CYUSB_USB4.dll available on the path where the Evaluation Software is installed.
On the other hand , I had used AD9914's software and found the amplitude can't adjustment.
Could you please tell me how to adjust output amplitude .
PS: I had enable OSK in Debug mode!
Retrieving data ...