Hello,
I am new in the MSP430 world, I just soldered the 32 kHz clock...then I bench tested with a multimeter, was OK. Then, I had a problem with this code:
------------
#include <msp430g2553.h>
unsigned int currentMinutes, currentSeconds;
int main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop WDT
BCSCTL1 |= DIVA_3; // ACLK/8
BCSCTL3 |= XCAP_3; //12.5pF cap- setting for 32768Hz crystal
P1DIR |= BIT0; // set P1.0 (LED1) as output
P1OUT |= BIT0; // P1.0 low
currentMinutes = 0;
currentSeconds = 0;
CCTL0 = CCIE; // CCR0 interrupt enabled
CCR0 = 512; // 512 -> 1 se