我用的28035芯片,主频率是60M,现在采用的是PWM触发中断,程序如下:
EPwm1Regs.ETSEL.bit.INTSEL = ET_CTR_PRDZERO;
EPwm1Regs.ETSEL.bit.INTEN = 1;
EPwm1Regs.ETPS.bit.INTPRD = ET_1ST;
我看了一下,从触发到进入中断大概需要400、500ns,请问进入PWM中断本来就需要这么久的吗?有没有什么办法能够更快的进入中断?
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.