Jump to content

Need help with crystals

Recommended Posts

I am new to microcontroller projects and am planning to use a msp430F149 in my project. I have a 32.5KHz crystal with Cl=12.5pF. I need to use this crystal to generate a baud rate of 9600 for serial communication. I understand that I will need to connect this crystal through the XIN and XOUT pins, but am not aware of the requirement of external capacitors. Do I need any? If yes, how must I calculate it? Please enlighten me on this.

Link to post
Share on other sites

Thank you.

I would also like to know if I may need a capacitor arrangement for an 8MHz crystal that I will be connecting through XT2IN and XT2OUT pins from which I would source the MCLK, the clock that drives the basic operations of the msp. Should I use external capacitors? If yes, how do I calculate it?

Link to post
Share on other sites

You can find these informations in datasheet(Page 33). Link : http://www.ti.com/lit/gpn/msp430f149


For the XT2 osc, you can use 10 - 12pF capacitor for 32.768 kHz and 20 - 22pF for 8 MHz crystal. I don't know any calculation formula but you can review other schematics esipecialy F149 microcontroller.


One of them : http://www.olimex.com/dev/msp-h149.html

Link to post
Share on other sites

The MSP430 has internal capacitors you can program though, so you don't need external capacitors. Maybe you know, but I just wanted to add that.


The LFXT1 oscillator supports ultralow-current consumption using a

32,768-Hz watch crystal in LFmode(XTS = 0).Awatch crystal connects to XIN

and XOUT without any other external components. The software-selectable

XCAPx bits configure the internally provided load capacitance for the LFXT1

crystal in LF mode. This capacitance can be selected as 1pF, 6pF, 10pF or

12.5pF typical. Additional external capacitors can be added if necessary.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...