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.

Generating an interrupt continuously after 15 minutes using Timer A module

Other Parts Discussed in Thread: MSP430F5419

I am using MSP430F5419 development board .. how can i generate an interrupt after each 15 min using ACLK . Right now i am able to generate interrupt after 2 min only as it as a 16 bit counter ..

  • Use the ID bits in the TAxCTL register or the TAIDEX bits from the TAxEX0 register to further divide the input clock and allow for slower interrupts. You can alternatively try using the RTC in counter mode, which includes a cascaded 32-bit timer.

    Regards,
    Ryan
  • You could use ISR to extend its own apparent interrupt period to 15 min, hours, days, months, years, decades, etc.

    But I know there are people who wants the CPU to sleep all the time and never be used ever. If that is what you want, may be you could use VLO divide by 8 as ACLK, select ACLK and divide by 8 to advance the Timer Counter, and use up-down mode to generate interrupt. The period can be close to 15 min.
  • You want 900sec intervals, using a 32K crystal and max aclkdiv and ta divs, the longest you can get is 128sec.
    Option1: Tell the ISR to count to 7 (or 8 if you use CCR0 to 112.5 sec) before actually doing something, like waking up main.

    Option2: Get a 2KHz to 1Hz clk oscillator like www.mouser.com/.../N-7jdvaZscv7

**Attention** This is a public forum