请问各位前辈,我刚开始学M4使用该芯片的PWM模块产生SPWM波。在调用voidPWMDeadBandEnable(uint32_t ui32Base,uint32_t ui32Gen,uint16_t ui16Rise,uint16_t ui16Fall)这个函数的时候,设置在下降沿的死区时间加到了上升沿部分了。无论怎么调节都没有效果。我用的谁PWM0的GEN0发生器。麻烦解惑一下。
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.
请参考:
C:\ti\TivaWare_C_Series-2.1.0.12573\examples\peripherals\pwm路径下的源码