Hi team,
Here's an issue from the customer may need your help:
Using the qep module of DSP in motor control requires the use of qep to locate an absolute angle.
Based on observations, the entered z signal (index) is normal. However, by changing the variables set in the IEL flag bits, some positions are mistouched, that is, there is no z signal input but DSP thinks there is an input.
The configuration of the program is good and the only difference from the manual is that the z signal is pulsed high. In the test, the inverter was used, so the z signal corresponds to a low pulse. The rising and falling edge detection of the z signal have been tried and basically no difference.
The test structure is as follows:
The bottom waveform in the figure above is the z-pulse signal input to DSP, and it can be seen that the distribution is even and normal.
In the middle, however, the z signal is recognized in the program and the output level is inverted. You can see that there is also an inversion of the z signal where there is no z signal, that is, the z signal is falsely touched.
Could you help check this case? Thanks.
Best Regards,
Cherry