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.

Motor speed calculation with T method

1.       IN 2803x we can use eQEP Edge Capture Unit to realize low speed measurement.

          And the equation is v(k)=X / [ t(k) - t(k-1) ] = X / ΔT     ---------------------(1)

          Where. X -  Unit position is defined by integer multiple of quadrature edges

                       ΔT - Elapsed time between unit position events

                       v(k) - Velocity at time instant "k"

        This is called T method.

2.         Now I want to realize T method with 2810.

            My thought is that using Cputimer1(In my program Cputimer0 has been taken up) and CAP Interrupt to realize T method.

            In this case,I have to improve my hardware to connect DSP's CAP pin with encoder's QEPA pin.

           But My hardware has been fixed.

          Could anyone offer ways better than that?

Thanks a lot!