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.

MSP430FR59941: configure LFXO

Part Number: MSP430FR59941

Dear Sirs:

    I'm having trouble configuring the LFXO (32khz crystal) for use with timer A1.  Do you have an example or procedure.

I'm setting:

PJSEL0 |= BIT4; //enable LFXO LFXO
PJSEL1 &= ~BIT4;
PJSEL0 |= BIT5;
PJSEL1 &= ~BIT5;

// Configure timer A1:

void ConfigTimerA1(void)

{

TA1CTL |= 0x0100; // TASSEL_1=Use ACLK as source for timer

TA1CTL |= MC_1; //Use UP mode timer continuous

TA1CCR0 = 0xffff; //start
}

Thanks,

John

**Attention** This is a public forum