Hi Team,
I am working in a project,use TIDM-02007.Now I meet some problem about eQEP.
We need to use eQEP reset in index, so I change the code from
EQEP_setPositionCounterConfig(obj->qepHandle,EQEP_POSITION_RESET_MAX_POS,((4 * M2_ENCODER_LINES) - 1) );
to
EQEP_setPositionCounterConfig(obj->qepHandle,EQEP_POSITION_RESET_IDX ,((4 * M1_ENCODER_LINES) - 1) );
But when I go to test I found it can not work.I check the eqep register,and found PCEF(position-counter error flag) is 1.
So I would like to know, why will cause this error? and why the the latched value is not equal to 0 or QPOSMAX?
Is this caused by the configuration of the code? Or is it possible that my eqep signal has noisy?
Thanks for your help.
Jenson