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.

Basic Timer Interrupts don't work at higher clock speeds

Other Parts Discussed in Thread: MSP430FG4618

I'm working on a MSP430FG4618 experiment's board.

Basic timer interrupts work fine with a 7 Mhz MCLK but when I crank it up

to 13 Mhz , no more interrupts.

  • eric amirault said:

    Basic timer interrupts work fine with a 7 Mhz MCLK but when I crank it up

    to 13 Mhz , no more interrupts.

     CPU is an 8MHz part, so how you crank to 13MHz? Is still CPU clock on range? Is Timer clock on range  too?

  • Simple, you just set the FLL like this:

    SCFI0 |= FN_2 + FLLD_4;
    SCFQCTL = SCFQ_M + 120;

    if you measure the SMCLK on pin 83 you will see 13.3 Mhz. however

    the code does not execute correctly, as you pointed out the part is only

    speced up to 8Mhz. I was thinking this was a 25Mhz part, I had it confused

    with the F5 series, thanks for your help.

  • Hi,

    You need to modify the values on the power module management to match with custom clock speed. Maybe your clock configuration is correct, but if the power module is not able to give the correct power supply, the clock does not work correctly.

**Attention** This is a public forum