I'm want to use an external low frequency crystal (32kHz) for the timer in my MSP430G2553 and the internal oscillator at 8MHz, but in the datasheet I can't see how I should use the external crystal for the timer. As there only appears to be one pin(TACLK). So how would the design for the oscillator look?
Electronic – Using external oscillator for MSP430 Timer
msp430oscillator
Related Topic
- Electronic – PIC18F4550 External Oscillator
- Electronic – pic32 maximum external frequency while running from internal 8MHz RC oscillator
- Electronic – What kind of external clock is needed for PIC32
- Electronic – Difference between internal and external oscillator for a microcontroller
- Electronic – power consuption of internal 32kHz RC oscillator
- Electronic – replace this oscillator circuit with oscillator IC
Best Answer
To use an external 32.768 KHz crystal with the MSP430G2553, the crystal needs to be soldered between the Xin and Xout pins of the microcontroller. In the DIP package, those are pins 18 and 19. No additional components are required for this.
TA0CLK has nothing to do with this crystal's connection, please see the pin descriptions in the datasheet.
See this schematic of the MSP430 Launchpad Target Microcontroller section:
You can see the two 0 Ohm resistors on the pins 18 and 19 - the crystal attaches between them.
Please note:
UPDATE:
Once the 32.768 KHz watch crystal is connected to the MSP430, the following notes are handy to confirm that the crystal is operational, and of course to use the crystal going forward.
BCSCTL3 |= XCAP_3;
for the 12.5 pF watch crystal provided with the Launchpad.