Other Parts Discussed in Thread: MSP430F1611, MSP430F6723, MSP430F6736
I encounter another strange problem with the XT1 oscillator:
We are using a 32kHz crystal (like in many other of our products). Now we were about to leave out the external capacitors.
But the XCAP bits seem to have no effect (tried all settings 00b ..11b) while a small effective external load of ~6pF has an effect on the oscillator frequency.
Here's a code snipped of the initialization:
UCSCTL6_bit.XT1OFF = 0; // 0 = XT1 is on
UCSCTL6_bit.SMCLKOFF = 0; // 0 = SMCLK is on
UCSCTL6_bit.XCAP0 = 1; //
UCSCTL6_bit.XCAP1 = 1; // XCAP = 11b = internal 12pF capacitors applied
UCSCTL6_bit.XT1BYPASS = 0; // 0 = XT1 sourced internally
UCSCTL6_bit.XTS = 0; // 0 = Low frequency mode
UCSCTL6_bit.XT1DRIVE0 = 0; //
UCSCTL6_bit.XT1DRIVE1 = 0; // XT1DRIVE = 00b = min. drive capability level
UCSCTL6_bit.XT2OFF = 1; // 1 = XT2 is not used