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.

使用QEP有时出现的问题



QPOSMAX里设置的是3999,QDECCTL=40H,QEPCTL=032EH,观察QPOSCNT里的值正常情况都是0~3999之间变化,但有时会出现大于3999的数,一直会加到65535,在0~65535之间变化,而且不会回到正常状态。断电重上电又正常了。这种情况是如何造成的?我用的是2802。