Measuring elapsed time between two interrupts

Ohad0262
Ohad0262 Altair Community Member

Hi, I am using PSIM to operate a TI f28335 DSP.
I am trying to obtain time difference between two zero crossings (of two different signals)
Each rising/falling edge of the the signals initiates an interrupt routine.

How can I obtain the time difference between the two interrupts ?

Thanks you!

Tagged:

Answers

  • VSiddhartha
    VSiddhartha
    Altair Employee

    Hi,

    The inherent limitations of using a DSP for high-precision timing tasks due to the dependency on interrupt rates and available clock cycles. The suggestion to use FPGAs or advanced processor peripherals makes sense, as they can handle such requirements more efficiently without being constrained by the core's interrupt routines.

    Thank you

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.