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.
Dear everyone:
我在利用DMA搬运装ePWM的周期值与比较值的时候,为了使DMA响应epwm需要配置ePWM/HRPWM模块重新映射到PF3·,查阅了相关资料后,我写了如下代码:
volatile Uint16 *MAPCNF=(Uint16 *)0x702E; EALLOW; *MAPCNF|=0x01; EDIS;
可是当我在epwm模块加上这些代码后,epwm就无法产生波形了,ccs的register里面epwm和epwmmirror值都为零,