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.

f28335 qep问题

qep的A、B、I分别接编码器的ABZ信号,三路信号正常,但是s脚悬空。现在调试遇到一个问题,当编码器一直潮一个方向旋转,编码器计数值递增时,状态寄存器qdf位应该等于1,但是当出现索引信号(z信号)时,qdf变为0,索引信号消失后恢复,不知道是什么原因。