SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on how to get your MSP JTAG programmer up and running.
By Winter1086
#111229
Hi,
I should probably start by mentioning that while im fairly good with coding, im pretty new to using the MSP430, and have pretty limited experiance of uP/uC in general.

I was wondering if anyone could give me a little more insight into setting these bits in the FLL_CTL0 Reg. Im finding it hard to get much information on how to set them to the applicable value. (Or how do I know what value to set them to for a specific application?)

Thanks!
Alan
By gm
#111254
Page 5-9 of the User Guide explains that those bits are used to potentially eliminate the need for external capacitors normally needed for the low-frequency crystal. If, for example, you had a 6pF 32.768KHz crystal, you could set the XCAP_xPF bits to 01 and the crystal should oscillate at its intended frequency.

HTH,

gm
By Winter1086
#111683
Thanks GM,
I get it now!..I had read that in the user guide but I think i was trying to overcomplicate it in my head or something! :oops:

Alan