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.

Time interval

Other Parts Discussed in Thread: TMDSDOCK28035, CONTROLSUITE

I want to record 2 ea ttl signals  from the rising edge of input 1 and the time it takes to  recieve

The rise  time  of input 2.  I need to record the time interval in microseconds

In a register.  After X amount of consecutive time intervals ,  i will

Stop and record each register and do some internal calculations.  I was told the C2000 would work.  I may want someone to prpgram for me.  I am knowledgeable in Assembly Lanquage, and  PLC ladder logic.  

  • Hi Rodney,

    This can very well be achieved using external interrupts and cpu_timer.

    Regards,
    Gautam
  • Hi Rodney,

    There are several ways to accomplish the kind of thing that you're trying to do.  Gautam's suggestion is one.  And it seems reasonable based on your needs.

    Another option that may be able to get you more granularity is to consider the eCAP peripheral, which exists in many of our C2000 devices.  Some method which utilizes multiple synchronized eCAP modules could likely be designed/utilized.


    Thank you,
    Brett

  • I would like to get feedback from mr. Gautam.  Do you have a sample program

    That you can email to me.  I am just getting started with the TI development

    Kit and i am kind of lost.  I have used interupts before.  I have the

    TMDSDock28035.  Do i need any other hardware than this?  What downloads should I need.  Again I like the idea of useing interupts.  

  • Hi Rodney,

    I might recommend that you start by downloading controlSUITE and taking a look at the following example (once installed):
    \controlSUITE\device_support\f2803x\v130\DSP2803x_examples_ccsv5\external_interrupt\


    Thank you,
    Brett