Post Go back to editing

Using SPI (from FPGA) to control AD9914 for single tone output

Thread Summary

The user is troubleshooting an issue with no output from the AD9914 DDS evaluation board when attempting to generate a single tone using an FPGA. The final answer indicates the thread is closed, suggesting the issue was resolved offline. Key clarifications include checking the jumper settings (P203, P204, P205) to ensure external control is properly configured, and ensuring all control pins, including profile pins, are not floating. The default profile when P205 is disabled is profile 7, which must be addressed for configuration.
AI Generated Content

Hi I have an evaluation card for the AD9914 DDS (AD9914/PCBZ) but wanted the FPGA to control the DDS to generate a simple single tone from one Profile registers. However I did not see any output after setting up the registers. Below are my sequence o commands

I set up the SPI sequence of the following:

1) Upon power up, issue Reset (Reset_Buf)

2) Write to register 0x03 to enable DAC Calibration (bit 24 = '1')

3) Write to register 0x03 again to clear DAC Cal (bit 24 ='0')

4) Write to register 0x01 to enable Profile Mode Enable

5) Write to register 0x0B to set up Profile 0 Frequency tuning word

6) Write to register 0x0C to set up Amplitude scale

7) Pulse IOUpdate

Does that sequence seem resonable or am I missing something?

  • Hi,

    Sorry for late response on this.

    Before we dwell on the SPI sequence, have you checked the jumper settings of the board?For external control, set jumpers P203, P204 and P205 to disable.

    Thanks,

    Sitti

  • Note, when the jumpers mentioned above are set to disable, the outputs of the ICs on the evaluation board driving the DDS are tri-stated. This to avoid BUS contention from external control. However, all the output nodes of these ICs then need to be tied off or controlled. It sounds like you're controlling reset and IO-UPDATE but other pins must be controlled too instead of floating. For example, down let the EXTPDCTL or SYNC_IO pins float. Also, the profile pins need to be configured to the internal profile register you're pointing to.

  • Hi,

    I would like to add, if this will also help.

    If we look at the AD9914 eval board schematic, the jumper P205 controls the profile pins. Once you set it to disable, the profile pins PS0-BUF, PS1-BUF, PS2-BUF at external header P102 are by default set high. so once P205 is disabled, the working profile pin is profile 7. As said by DSB, you might want to configure these 3 profile pins.

    Before you set P204 to disable, make sure you set the external pin RESET-BUF to low. Once you set P204 to disable, this sets the RESET pin 85 to high which is the same as master resetting the device.

    Thanks.

  • Hi ,

    Could you please elaborate your answer?

    "...the profile pins PS0-BUF, PS1-BUF, PS2-BUF at external header P102 are by default set high. so once P205 is disabled, the working profile pin is profile 7"

    I see in some documentations the P204, P203 to disabled and the P205 is kept Enabled.

    Furthermore the Header consists of 3 lines 3.3V/Signal/GND. I am shorting the MPI00= Pin40 as well as SYNC_IO_BUF and the EXPDCTL_BUF  line and using into the Signal Pin (the middle of the 3 pins) the SCLK (=MPI01) , the MISO/SDIO (=MPI02), IO_UPDATEBUF and the RESET BUF.

    And still I don't see something happens on my Eval board.

    what do you mean by "working Profile 7"? does it mean that I have to address the Profile nr 7 and configure there the FTW?

    If you have pictures on how to set the EvalBoard for a simple CW over SPI, that would be great.

    Thanks in advance

    Y3G

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.