• 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 » Microcontrollers » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » XT2 Oscillator requirements on MSP430F543xA devices
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • XT2 Oscillator requirements on MSP430F543xA devices

    XT2 Oscillator requirements on MSP430F543xA devices

    This question is answered
    Terry Jendon99319
    Posted by Terry Jendon99319
    on May 02 2012 07:54 AM
    Intellectual325 points

    I have a question regarding the XT2 crystal oscillator connections on the MSP430F543xA devices.  how are the values of external crystal determined for the different modes?  (i.e. mode 0, 1, 2 and 3) 

    The way I interpret the datasheet is that the external crystal for mode 2 can be anywhere in the range of 16 to 24MHz, which can be configured to directly drive the CPU and system MCLK.  Is that correct?

    Is there an app note that explains how to connect external crystals (including PCB layout considerations) to these devices?

    MSP430F543xA XT2 oscillator
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Luis RC
      Posted by Luis RC
      on May 02 2012 09:01 AM
      Expert6010 points

      Hi Terry,

      You are correct, XT2DRIVEx=2 supports crystals from 16Mhz to 24Mhz. The datasheet also includes the integrated load capacitance of 1pF, so you need to add external capacitors to match the load capacitance of your crystal.

      You can find more details and some design considerations here: http://processors.wiki.ti.com/index.php/Crystal_Oscillators_Using_MSP430

      The datasheet also includes some guidelines:

      To improve EMI on the XT2 oscillator the following guidelines should be observed.
      (a) Keep the traces between the device and the crystal as short as possible.
      (b) Design a good ground plane around the oscillator pins.
      (c) Prevent crosstalk from other clock or data lines into oscillator pins XT2IN and XT2OUT.
      (d) Avoid running PCB traces underneath or adjacent to the XT2IN and XT2OUT pins.
      (e) Use assembly materials and praxis to avoid any parasitic load on the oscillator XT2IN and XT2OUT pins.
      (f) If conformal coating is used, ensure that it does not induce capacitive/resistive leakage between the oscillator pins

       

      Regards,

      Luis R

      crystal msp430f5438a msp430f5xx
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on May 02 2012 13:58 PM
      Guru139970 points

      Luis RC
      (b) Design a good ground plane around the oscillator pins.

      Be careful here. It reduces HF emissions cause by teh crystal, but also adds significant parasitic capacitance to the crystal signals. So maybe the separately placed load capacitors require reduction. It's best to have a GND plane around teh signal lines, but as far as possible away (wihtout any other signals inside). Also, ig having a GND plane on teh PCB bottom side, spare the area beneath the signal lines on teh top side, so the GND plane right beneatht he crystal forms an island that is connected to the whole GDN plane only by a small connection.
      (you'd be surprised where currents flow through a GND plane - definitely not evenly distrubuted, especially for high-frequency ripple currents.

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Terry Jendon99319
      Posted by Terry Jendon99319
      on May 03 2012 09:16 AM
      Intellectual325 points

      To Luis RC and Jens-Michael Gross --> Thank you for your responses.  The information is very helpul.  So that I understand correctly, if I install a 16MHz external crystal on XT2 (XT2DRIVEx=2), then the maximum MCLK (or CPU/system clock) will be 16MHz, correct?  

      I will take the PCB layout guidelines into consideration when I start to layout my board.  I can send a snaphot of the layout for you to review and get your feedback.

      Thanks again,

      Terry

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on May 03 2012 09:27 AM
      Verified Answer
      Verified by Terry Jendon99319
      Guru139970 points

      Terry Jendon99319
      if I install a 16MHz external crystal on XT2 (XT2DRIVEx=2), then the maximum MCLK (or CPU/system clock) will be 16MHz, correct?  

      Well, the frequency on XT2 will be 16MHz. If you switch MCLK to be sourced from XT2, then MCLK will be 16MHz, no more, no less (or 8/4/2 MHz if you use the MCLK divider).
      However, PMMCOREV needs to be on highest setting (and must have settled) before you can switch MCLK to 16MHz.

      XT1, XT2, DCO etc. are just possible clock sources for MCLK, SMCL and ACLK. (that's why the clock system is called 'unified clock system'). It's your job to ensure that they do not exceed the current operating parameters of the system (limited by supply and core voltage). So you might be able to attach a 50MHz crystal and use it for SMCLK with a /2 divider.

      For peripherals, including ACLK and SMCLK, the maximum clock is 25MHz, independently of MCLK and supply voltage. So you can run the timers with 25MHz and MCLK with 16 (or, for synchronized clocks) with 12,5Mhz (same 25MHz crystal but /2 divider)

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Terry Jendon99319
      Posted by Terry Jendon99319
      on May 03 2012 15:50 PM
      Intellectual325 points

      Jens-Michael,

      It also sounds like I wouldn't even need an external crystal on XT2 in order to achieve 25MHz operation for MCLK, ACLK and SMCL.  I could then use the internal FLL/DCO to generate my clocks, correct? 

      Yes, I can ceratinly understand why its called a 'unified clock system'.

      Thanks

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on May 04 2012 08:44 AM
      Verified Answer
      Verified by Terry Jendon99319
      Guru139970 points

      Terry Jendon99319
      It also sounds like I wouldn't even need an external crystal on XT2 in order to achieve 25MHz operation for MCLK, ACLK and SMCL.  I could then use the internal FLL/DCO to generate my clocks, correct? 

      In theory yes, but in real life no. Not 25MHz.

      The reason is that the DCO doesn't (except in very, very rare cases) exactly 25MHz. More likely, it will e.g. produce 24MHz and 26MHz. The modulation will alternate between the two, so the average would be 25MHz. However, the 26MHz part of the averaged output would likely be too much for the MSP (and definitely outside the specs).

      For a different MSP, I once calculated a maximum safe DCO frequency of 23.4MHz, taking the DCO tolerances an DCO tap steps into account.

      Terry Jendon99319
      Yes, I can ceratinly understand why its called a 'unified clock system'

      Unfortunately, having many options does you not only give many possibilities, but also many ways to mess things up :)

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Terry Jendon99319
      Posted by Terry Jendon99319
      on May 04 2012 13:05 PM
      Intellectual325 points

      Regarding "Unfortunately, having many options does you not only give many possibilities, but also many ways to mess things up."

      I couldn't agree with you more.  :-) 

      Thanks for the feedback and your help.  I think I know just about enough the UCS to be dangerous.   

       

       

      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