Analog.com Analog Dialogue Wiki English 简体中文 日本語
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Forums

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications

    Recent Discussions

    • Pluto is not receiving data
    • ADALM-pluto sampling frequency
    • ADALM PLUTO SDR
    • Bad FIT image format and MSD mounting errors in firmware built for Sidekiq Z2
    • set the sample rate to 30MHz or the maximum that usb2.0 allows

    Places

    • ADI Education Home
    • ADI Webinars
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Latest Webinars

    • Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications
    • Design Efficient Power Solutions for Battery-powered Applications
    • Shunt-based Energy Metering in High-Power Applications
    • Isolating GigaSpeed: Unlocking Data Integrity for USB and HDMI Communication
    • Extend Battery Life and Maximize Performance - Let Supervisors Do The Work
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ244 about Wafer Processing Yield puzzle
    View All

    Places

    • Community Help
    • Logic Lounge
    • The Weekly Brew

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    The Changing Nature of Logistics and Retail Automation

     

    Variable Speed Drive 101

    Latest Blogs

    • How to Optimize Voltage Regulators for Powering an Audio Amplifier
    • EMC Standards: What Are They, and Why Do They Matter?
    • Understanding Grating Lobes with the Phaser (CN0566) Exploration Kit
    • Digitizing, Connecting, and Delivering Energy Efficiency – the Future of Intelligent Buildings
    • Pain or Injury
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
Direct Digital Synthesis (DDS)
Direct Digital Synthesis (DDS)
Documents AD5930 Gotcha's
  • Forums
  • FAQs/Docs
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • -AD5930: FAQ
    • AD5930 evaluation software running on Windows 7
    • AD5930 Gotcha's
    • Problems with Evalboard for AD5930, EVAL-AD5930EBZ
  • +AD5932: FAQ
  • +AD5933: FAQ
  • +AD5934: FAQ
  • +AD9152: FAQ
  • +AD9830: FAQ
  • +AD9832: FAQ
  • +AD9833: FAQ
  • +AD9834: FAQ
  • +AD9835: FAQ
  • +AD9837: FAQ
  • +AD9838: FAQ
  • +AD9840: FAQ
  • +AD9840A: FAQ
  • +AD9845A: FAQ
  • +AD9850: FAQ
  • +AD9851: FAQ
  • +AD9852: FAQ
  • +AD9854: FAQ
  • +AD9854ASQ: FAQ
  • +AD9856: FAQ
  • +AD9857: FAQ
  • +AD9858: FAQ
  • +AD9859: FAQ
  • +AD9910: FAQ
  • +AD9912: FAQ
  • +AD9913: FAQ
  • +AD9914: FAQ
  • +AD9915: FAQ
  • +AD9945: FAQ
  • +AD9951: FAQ
  • +AD9952: FAQ
  • +AD9953: FAQ
  • +AD9954: FAQ
  • +AD9956: FAQ
  • +AD9957: FAQ
  • +AD9958: FAQ
  • +AD9959: FAQ
  • +DDS: FAQ
  • +Digital Ground (DGND): FAQ
  • +Evaluation Software: FAQ
  • +Frequency Ramp: FAQ
  • +I/O_UPDATE: FAQ
  • +Maximum Clock Rate: FAQ
  • +PLL: FAQ
  • +Programmable Modulus: FAQ
  • +SFDR: FAQ
  • +Thermally Enhanced Packages: FAQ

AD5930 Gotcha's

Given a recent 'fight' to implement a saw sweep from 2285Hz to 3000Hz over a 150ms period with a 1.544MHz clock, I figured I would share my insights for anyone else who may encounter similar issues.  I wish I had read this two weeks ago ...

  1. If you are new to this, read AN-1044 to get a better understanding of how to compute the register contents.

  2. If you are setting B24 to '1' in the CTRL register then be certain to write the lower word of the FSTART parameter first and then the upper word.

    SPIWrite (CTRL);
    SPIWrite (FSTART_LSB);
    SPIWrite (FSTART_MSB);
    etc

  3. If you are using an eight bit micro's SPI peripheral, be sure to drop FSYNC low and then SPIWrite both eight bit portions before asserting FSYNC high.

    void SPIWrite ( uint16 spiWord) {
        SET_FSYNC_LOW();
        SPIWriteByte (spiWord >> 8);  //bit 15 first
        SPIWriteByte (spiWord & 0xFF); //bit 0 last
        SET_FSYNC_HIGH();
    }
    void SPIWriteByte ( uint8 spiByte) {
        // however you send a byte to the SPI peripheral
    }

  4. If you are intending to do a SAW_SWEEP then make absolutely certain that you pulse CTRL from low to high and back to low maintaining the minimum timing requirements of the datasheet, Rev B.  Don't believe the datasheet which implies that CTRL can remain HIGH.  Doesn't work for SAW_SWEEP.  If you fail to observe this then you will pull your hair out trying to get something other than a TRI_SWEEP.  Trust me, NOTHING else works.  Pulse CTRL and go home early.

  5. If you only intend to use a single ended output, ie, you only need the voltage developed across a 200 ohm load on IOUTA then you MUST ensure that IOUTB is also terminated with a 200 ohm load.  If you forget, you will get the craziest distorted psuedo-sinusoid on your terminated IOUT channel.  It will also exhibit an exceptionally high DAC midscale point (I measured about 750mV).  It will definitely push your development cycle out by a couple of weeks at least :-) and you will increase AD's revenue for the quarter as you are constantly replacing chips thinking they are dead or counterfeit.

  6. As a positive plug, the Evaluation board was worth the purchase as it gave a point of comparison when things were going south on our board.  Also, while I always attempt to feed myself before asking someone else to help me hold the spoon, sometimes having a sounding board in the form of an apps engineer is exactly what the doctor ordered.  Thanks Joe!

Maybe this is obvious to everyone else, but I could not find this info documented anywhere ... even in the datasheet.

I think I will go home early tonight ...

Message was edited by: Billy Coleman - removed double && from spiWord && 0xFF

  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
myAnalog

Interested in the latest news and articles about ADI products, design tools, training and events?

Go to myAnalog
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
  • Cookie Settings