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.

TMS320F2809: 在main函数中EPWM时钟的开启时机应该怎样设置?

Part Number: TMS320F2809


在PCLKCR1中使能epwm的时钟,则epwm受信号SYSCLKOUT的驱动;但是,在使能时钟后,还没有进行epwm寄存器的配置等,这时epwm已经开始运行了,个人理解处于一个不确定态;如果把epwm时钟的使能放到后边,会出现程序运行异常;请问,在main函数中EPWM时钟的开启时机应该怎样设置?