• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Data Converters » High Speed Data Converters » High Speed Data Converters Forum » DAC5687: Setting the NCO to a frequency of 0 Hz
Share
High Speed Data Converters
  • Forum
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    Cable equalization 101 – Automating your design

    Posted 2 days ago
    by Hooman Hashemi
    Judging by the number of views on a post related to numerical...
  • $core_v2_blog.Current.Name

    RS-485 - Who says you can't teach an old dog new tricks?

    Posted 6 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...
  • $core_v2_blog.Current.Name

    Filter for thought

    Posted 7 days ago
    by Soufiane Bendaoud
    Have you ever wondered how engineers designed active filters...

DAC5687: Setting the NCO to a frequency of 0 Hz

DAC5687: Setting the NCO to a frequency of 0 Hz

This question is answered
cgiustini1@gmail.com Carlo
Posted by cgiustini1@gmail.com Carlo
on Jul 16 2012 14:23 PM
Prodigy30 points

Hi,

I am using Lyrtech's SFFSDR platform that contains a DAC5687. This DAC has an NCO that helps generate a quadrature output for RF transmission. The NCO multiplies the I and Q inputs by whatever frequency it is set at. I do not want to use the quadrature modulation feature, and a theoretical way of doing that is to set the NCO frequency to 0 as that will multiply the I input by 1 and the Q input by 0. This works in theory, but does anyone knows if it works in practice? In Code Composer, I set the NCO frequency to 0, but the DAC5687's output seems to be a constant when I measure it on the oscope. Does anyone have any ideas?

Thanks,

Carlo

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Kang Hsia
    Posted by Kang Hsia
    on Jul 17 2012 11:46 AM
    Genius15360 points

    Hi Carlo,

    Setting the NCO to 0Hz means that there will be no complex frequency shift to your baseband data. Based on the complex mixer equation on page 37, if the NCO frequency is zero, then the I and Q channels will remain independent (i.e. Iout = Iin, Qout = Qin) since cos(0) = 1 and sin(0) = 0. 

    There are two things that you can check. One is to make sure that there are valid data at baseband that are in the right frequency and amplitude range for the analog output to show correctly. I am not too familiar with the SFFSDR platform, but it is possible that there are some filter components that may filter out the output range when the NCO frequency is set to 0. 

    Also, after you program the NCO, you will need to make sure the NCO phase accumulator is synchronized correctly by asserting PHSTR. 

    -KH

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • cgiustini1@gmail.com Carlo
    Posted by cgiustini1@gmail.com Carlo
    on Jul 18 2012 14:57 PM
    Prodigy30 points

    Hi,

    Thanks for your response. By asserting PHSTR, do you mean that I should continuously set it to high for every rising edge of clk_in? The purpose of that would be to continuously reset the phase accumulator so that it always has a value of 0 right? By the way, I could also simply disable the NCO in the DAC register by either enabling the full_bypass bit in CONFIG1 or disabling the nco bit in CONFIG2 right? 

    Thanks,

    Carlo

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kang Hsia
    Posted by Kang Hsia
    on Jul 19 2012 10:02 AM
    Verified Answer
    Verified by Kang Hsia
    Genius15360 points

    Carlos,

    A simple 0 -> 1 transition in PHSTR will synchronize the phase accumulator if the sync_nco bit is enabled in address 0x05. Keep the PHSTR within one CLK_IN (CLK1) period. 

    Doing a full-bypass will also disable the FIR filters. If you are using these FIR filters, this may cause problems in your design. The simplest way is to disable the NCO in CONFIG2. 

    -KH

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • cgiustini1@gmail.com Carlo
    Posted by cgiustini1@gmail.com Carlo
    on Jul 24 2012 15:01 PM
    Prodigy30 points

    Hi,

    That is another way of doing it. The only issue is that there is some error that does not allow me to address the registers of the DAC5687 from the DSP of the SFFSDR. I do not have direct access to the DAC5687. Oh well... In any case, what is the purpose of the NCO? Is it to help get low frequency digital signals get within the actual digital to analog converter's bandwidth? It happens that I am just trying to send a constant signal through the DAC5687 (because the SFFSDR is such that my signal has to go through the DAC5687 to go where it eventually needs to go), so I have really have no need for the NCO. 

    Thanks,

    Carlo

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kang Hsia
    Posted by Kang Hsia
    on Jul 30 2012 13:51 PM
    Genius15360 points

    Hi Carlo,

    The purpose of the NCO is to allow the end user to move the complex I/Q signal across the Nyquist zone. For instance, if your baseband signal is at zero Hz, you can use the NCO to move the signal anywhere from 0 to fs/2. Often, it is easier to generate signals at baseband and then use the mixer to move the signal around. This is to help designers with frequency planning of their system if needed. 

    -KH

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use