Dear team:
One of my customers uses the f28379d and an incremental sine cosine encoder (no reset signal) to control the motor. The motor runs normally at high speed, but it has the following problems at low speed:
In the project, he needs to use the Cmpss7Regs.DACHVALS.bit.DACVAL register to generate a reference voltage as the negative input of the comparator. Compare the sine and cosine signal with the reference voltage, and output 1 when the signal is higher than the reference voltage, and output 0 when the signal is lower than the reference voltage. In this way, the qep module can be used to count and generate position signals.

The default value of Cmpss7Regs.DACHVALS.bit.DACVAL is 2048, but he needs to set this value to 2252 to correspond to the midpoint of the sine signal:

But once he changes this value to another value (not 2048), the motor will not rotate and the current will increase until the limit value.
That is: once the negative input of the comparator is changed, the QEP module will not count correctly and the motor will not rotate.
Want to know why this phenomenon occurs?
Best regards