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.

MSP430F67651A: MSP430F67651A External crystal XT1 is not working

Part Number: MSP430F67651A
Other Parts Discussed in Thread: MSP430F6435

Hi, I'm using MSP430F67651A for my project, but the crystal oscillator (XT1)isn't working.

I had a similar problem with MSP430F6435, but now it works with the code for Unlock XT1 pins for operation.
However, the MSP430F67651A does not have the same registers (Battery Backup Registers) as the MSP430F6435.

How do you get it to work?

 UCSCTL6 &= ~(XT1OFF);  // XT1 On

 while(BAKCTL & LOCKBAK)  // Unlock XT1 pins for operation (Battery backup products only?)
 BAKCTL &= ~(LOCKBAK);

 // Loop until XT1,XT2 & DCO fault flag is cleared
 do {
  UCSCTL7 &= ~(XT2OFFG + XT1LFOFFG + DCOFFG);  // Clear XT2,XT1,DCO fault flags
  SFRIFG1 &= ~OFIFG;     // Clear fault flags
 } while (SFRIFG1 & OFIFG);   // Test oscillator fault flag

**Attention** This is a public forum