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.

no timer0 interruption with ACLK source on MSP-TS430PM64 evaluation board

Other Parts Discussed in Thread: MSP-TS430PM64

Hello,

i'm using MSP-TS430PM64 evaluation board and try to configure TIMER0 clock source

When i use SMCLK as source code i get interuption  but if i want to use ACLK (32768 Hz) i get no interruption.

I just replace in my code :

    //SMCLK used devided 1MHZ by 8 = 125KHz
    TACTL = TACLR | MC_0 | ID_3 | TASSEL_2;

by

     //source is selected as ACLK (32768 Hz)
    TACTL = TACLR | MC_0 | ID_0 | TASSEL_1 ;

 

then timer 0 complete initialization is :

    CCTL0 = CCIE;                             // CCR0 interrupt enabled

    //time based on 250ms
    CCR0 = TIMER_BASE_250MS;
    //start timer mode continuous : MC_2
    TACTL |= MC_2;                               

Do you know why i get no interuption ?

Thanks

  • Hi, I think the target boards do usually not have the 32kHz crystal soldered on it. There are samples in each package but you have to put it on the board.

    In case, the crystal is populated I would check if ACLK signal is available. Note that you cannot measure the ACLK directly on the crystal! You should activate the ACLK signal on any of the terminals (there is usually one digital I/O where the secondary function is ACLK). Via this pin you can check if ACLK is really 32kHz.

    Regards.

**Attention** This is a public forum