#define EPWM1_TIMER_TBPRD 2000 // Period register
#define EPWM1_MAX_CMPA 1950
#define EPWM1_MIN_CMPA 50
这语句是不是表示占空比最小为50/2000,最大为1950/2000
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.
#define EPWM1_TIMER_TBPRD 2000 // Period register
#define EPWM1_MAX_CMPA 1950
#define EPWM1_MIN_CMPA 50
这语句是不是表示占空比最小为50/2000,最大为1950/2000
EPwm3Regs.TBCTL.bit.CTRMODE = TB_COUNT_UPDOWN;想詢問這段是否就是設置上下數部分 我是用28035 controlSUITE EPWM up/down 裡面的
如果設置TB_COUNT_UP 是否單純為上數 TB_COUNT_DOWN 是否為下數