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.

MSP430F2619: Capture input base code

Part Number: MSP430F2619

hello

in examples i didn't find a base example for capturing a digital signal like measuring its period.

if there's any please refer to it

Thanks

  • Hi,
    there is one, out of probably multiple choices...
    This is an application report on random number generation using two asynchronous clocks on the MSP430. But the core of the functionality is a capture utilization of an MSP430 Timer. So please give it a try. www.ti.com/.../slaa338a.pdf
    If you look into the pdf, the first page contains a link to the code example.

    Best regards
    Peter
  • is there's any example code in C instead of asm ?

  • Hi,
    sorry, did not realize that one is in assembler. In CCS in the TI Resource Explorer you can find the with the MSP430F2619 the code example MSP430x261x_fll_01.c, which implements a SW FLL, utilizing Timer Capture functionality.
    There is also a second example.

    Best regards
    Peter

**Attention** This is a public forum