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.

QPOSILAT出现了问题



用例程Example_2806xEqep_pos_speed实验,编码器的ABZ信号中的Z信号来之后,QPOSILAT里会锁存QPOSCNT的值,这是正确的。后测试自己写的程序,QEP配置完全与例程Example_2806xEqep_pos_speed一样,QPOSCNT都能正常计数,但QPOSILAT无法锁存QPOSCNT的值,QEP始终无法检测到Z信号,硬件上完全可以确定ABZ信号都是正确的。有没有哪个寄存器能影响到QEP的INDEX信号,AB都可以,就Z信号没有,这问题搞了几天了,烦呀。