请问大家最近在学习IDDK_PM_Servo_F2837x程序时想找到svpwm波算法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.
请问大家最近在学习IDDK_PM_Servo_F2837x程序时想找到svpwm波算法PWM波的输出管脚接到自己焊接的逆变电路桥臂上,但是不知道输出在哪个管脚,请会的朋友教我一下!
您可以在例程内看到如下说明:
* Peripheral functions: EPWMs - EPWM1, EPWM2, EPWM3 ---> Inverter PWMs for phases A, B, C - EPWM5 ---> clk for Sigma Delta - EPWM6 ---> Resolver feedback sampling @ 160KHz - EPWM11 ---> sync SD filter windows with motor control PWMs - EPWM4 ---> Not available for users if EnDAT / BiSS interface is active
而后您可以在 F2837xD_EPwm.c找到相关的管脚定义说明:
void InitEPwmGpio(void)
{
InitEPwm1Gpio();
InitEPwm2Gpio();
InitEPwm3Gpio();
InitEPwm4Gpio();
InitEPwm5Gpio();
InitEPwm6Gpio();
InitEPwm7Gpio();
InitEPwm8Gpio();
InitEPwm9Gpio();
InitEPwm10Gpio();
InitEPwm11Gpio();
InitEPwm12Gpio();
}
点击对应的epwm即可查看对应的管脚