This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

msp430f6726 XT1

Other Parts Discussed in Thread: MSP430F6726, MSP430F6723

Hello everybody!

I have a problem with starting XT1 crystal oscillator in 32.768 KHz mode on MSP430F6726. It just does not start. The scope attached to the ACLK monitoring pin shows No frequency . 
I use none external caps on both XT1 pins.   

I tried the code below on msp430f6726.  

void main(void)
{
   
    WDTCTL = WDTPW | WDTHOLD;               // Stop WDT
   
  __delay_cycles(0x600);
  UCSCTL6 &= ~(XT1OFF);
  UCSCTL6 &=~ (XTS);// enalbe XT1 and set XT1Drive
  UCSCTL6 |= (XT1DRIVE_3);  // enalbe XT1
         

  while (SFRIFG1 & OFIFG) {   // check OFIFG fault flag
    UCSCTL7 &= ~XT1LFOFFG;  // Clear OSC flaut Flags  (DCOFFG+XT1LFOFFG+XT2OFFG)
    UCSCTL7 &= ~DCOFFG;
    SFRIFG1 &= ~OFIFG;        // Clear OFIFG fault flag
  }                                          ; wait for crystal osc. to start

I would appreciate any advise for a direction to follow. The problem drives me crazy,

 

**Attention** This is a public forum