Part Number: TMS320F28388D
Tool/software:
Hi Experts,
My customer is observing common mode interference on the QEP interface like below:

The red frame marks the interference that will cause a phase error
The TRM said
The phase error flag (PHE) is set in the QFLG register and the QPOSCNT value can be incorrect and offset by multiples of 1 or 3
In this case, the value of QPOSCNT is not correctly anymore, and the error would accumulate as the interference happens for multiple times. Therefore, customer would like to compensate for the QPOSCNT error cause by phase error.
Is there a way to know the exact changes of QPOSCNT when phase error happens? Customer is trying to compensate for the unexpected changes caused by phase error in the next cycle.
If not, is there a way to make QEP ignore such interference and carries on counting? (The system has run out of CLB blocks)
Regards,
Hang
