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.

MSP430F5336: 16 bit Timer capture interrupt

Part Number: MSP430F5336

Hello,

I have a query regarding 16-bit Timer of MSP430F5336 and its associated capture inputs. Is there any possibility of missing the timer overflow interrupt while using the timer module in capture mode?

I am planning to measure frequency of a source(i.e. function generator generating a square wave of 50Hz and 50% duty cycle) 

Thanks,

Prasanna

  • Hi Prasanna,

    in case you're checking for the Timer Interrupt, Overflow Flag inside the interrupt service routine you'll be aware of the timer overflow. Still, you'll handle the Capture/Compare Interrupt Flag and the Overflow Flag in the same isr so you could have a delay (the Timer Overflow, Interrupt Flag has lowest priority of the Timer interrupts) until the Capture/Compare interrupt handling is terminated.

    Best regards,
    Britta
  • Hi Prasanna,

    as I didn't hear back from you I assume that the issue has been solved on your end.
    Please note that I'm closing this thread but that replying back to it will re-open it if needed.

    Best regards,
    Britta

**Attention** This is a public forum