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.

关于设置编码器CNT清零设置 EQep1Regs.QEPCTL.bit.PCRM=01;

您好,请问,为什么我在程序中已经设置了EQep1Regs.QEPCTL.bit.PCRM=01(编码器转一圈后清零或置MAX)?   但是现象是编码器还是会在第一个Z信号(index信号)处清零?在调试界面串口,已经监测到PCRM位确实为01了,DSP用的是28035,请问怎么解决这个问题,是还需要设置其他的寄存器吗