• 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 » DAC5688 initialization
Share
High Speed Data Converters
  • Forum
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

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

    Posted 2 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 3 days ago
    by Soufiane Bendaoud
    Have you ever wondered how engineers designed active filters...
  • $core_v2_blog.Current.Name

    Let’s take this driver out for a spin

    Posted 8 days ago
    by Soufiane Bendaoud
    Before I suggest a suitable op amp to drive an ADC, I look at...

DAC5688 initialization

DAC5688 initialization

This question is answered
Dmitri Tsvetikov
Posted by Dmitri Tsvetikov
on Apr 02 2012 09:22 AM
Prodigy10 points

Hi,

i am using DAC5688 with GC5016 in a digital filter.

Clock is 160MHz differential connected as on TSW4100 demo board.

Initialization sequence:

const u08 DAC_Ini[31] =
{0x81, 0x0A, 0xE9, 0x00, 0x00, 0x92, 0x00, 0x00, // 0x92 -- 4-line interface
 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x12,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xAA, 0x10,
 0x80, 0x00, 0x0D, 0xFF, 0x00, 0x39, 0x15};

unsigned char DAC_Init (unsigned char Dev)
{
  u16 i;
  u08 Result;
  for (i = 1; i < 31; i++)
    WriteToDAC(Dev, i, DAC_Ini[i]);
  // DAC Sync
  WriteToDAC(Dev, 0x05, 0x92); // 1001 0010
  WriteToDAC(Dev, 0x05, 0xB2); // 1011 0010
  WriteToDAC(Dev, 0x05, 0x92); // 1001 0010
  WriteToDAC(Dev, 0x16, 0x0);
  WriteToDAC(Dev, 0x17, 0x0);
  WriteToDAC(Dev, 0x05, 0xD2); // 1101 0010
  WriteToDAC(Dev, 0x05, 0x92); // 1001 0010

  for (i = 0; i < 3999; i++) continue; // delay reading

  Result = ReadDAC_PLL(Dev);
  return Result;
} // DAC_Init

In a batch of about 100 boards(two DAC5688 on it) on one of the boards one DAC5688 starts on power up, but after put to sleep with:

void DAC_Sleep (unsigned char Dev)
{
  WriteToDAC(Dev, 0x1A, 0x3E);
}

newer wakes up.

On other board one DAC5688 (of two) newer starts. ReadDAC_PLL returns 0 all the time.

In both occasions DC voltage on the LPF pin is 0V and DC voltage on CLK0_CLK1 and LOCK_CLK1C is also 0V.

Normally voltage on filter pin is 1.2V and on clock inputs are around 1.5V.

Could the problem be because incorrect initialization or just chips are damaged?

Best regards,

Dmitri

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 Apr 04 2012 10:11 AM
    Verified Answer
    Verified by Kang Hsia
    Genius15200 points

    Hi Dmitri,

    I believe there are two issues.

    The first is regarding the device synchronization. In your sequence, I did not see a command that issues the TXENABLE rising edge. Therefore, none of the logics may be synchronized correctly. I would recommend the following:

    unsigned char DAC_Init (unsigned char Dev)
    {
      u16 i;
      u08 Result;
      for (i = 1; i < 31; i++)
        WriteToDAC(Dev, i, DAC_Ini[i]);
      // DAC Sync
      WriteToDAC(Dev, 0x16, 0x0);  // set NCO block, QMC block, offset block to look for TXENABLE rising edge
      WriteToDAC(Dev, 0x17, 0x0);  // set FIFO block to look for TXENABLE rising edge

       WriteToDAC(Dev, 0x05, 0xB2); // 1011 0010  //set clock divider block to look for TXENABLE rising edge. 

      //apply TXENABLE rising edge here

      for (i = 0; i < 3999; i++) continue; // delay reading

      Result = ReadDAC_PLL(Dev);
      return Result;
    } // DAC_Init

    Note: TXENABLE should be applied after all the logic blocks are ready for synchronization. TXENABLE also enables the DAC output at the same time. If you want to synchronize certain digital logics without disabling the output momentarily, you can use other sync functions such as hardware sync or software sync (via register 0x05)

    Next, the synchronization sequence should not affect the biasing of CLK1/C pair. Since you are applying the clock1 pair externally, you may want to double check the clock driver to see if it is functioning properly. Also, it may be possible that the device may not be soldered down correctly. You may want to reflow the device and check again.

    The device that could not wake up could also have the same soldering issue. Another possibility is that Channel B will go to sleep if Channel A is programmed to sleep regardless of the bit5, sleepb setting. It is possible that bit4, sleepa is still set active while you are checking for channel B output. 

    -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