This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
ABZ信号都已经送到DSP的引脚上了,而且计数也正确,就是Z信号一直检测不到,编码器的位置每次都不一样,QEP的配置如下:
LDP #QEPCTL2>>7
SPLK #0000001100001000B,QEPCTL2
;5432109876543210
SPLK #3999,QPOSMAX2
SPLK #0,QPOSMAX2+1
SPLK #0,QPOSINIT2
SPLK #0,QPOSINIT2+1
问题在哪