Hi experts,
My customer wants to use the eQEP in DirectionCountMode to measure the period of an external pulse.
The cycles I want to measure are 2.929MHz (1 cycle 341.33ns) and 2.930MHz (341.1911ns).
eCAP cannot measure this frequency. (due to insufficient eCAP resolution)
Therefore, they are trying to measure the period of this frequency with eQEP's DirectionCountMode.
Example: Find the time until 500 pulses are input, and calculate the frequency from there (pulses/time = frequency).
So I have the following questions.
Q1: QUTMR (eQEP capture timer) is incremented at which timing of eQEPCLLK?
Is it the rising edge of eQEPCLK?
We set eQEPCLLK = SYSCLK = 200MHz.
Q2: Is it possible to measure these two periods? (2.929MHz (1 cycle 341.33ns) and 2.930MHz (341.1911ns)
Q3: If these cannot be measured, are there any other good solutions?
Best regards,
Sasaki