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.

F28035 PWM 時脈問題

Other Parts Discussed in Thread: CONTROLSUITE

在controlSUITE V130 epwm up down 範例程式
EPwm1Regs.TBPRD = 2000; // Period = 4000 TBCLK counts
EPwm1Regs.TBPHS.half.TBPHS = 0; // Set Phase register to zero
EPwm1Regs.TBCTL.bit.CTRMODE = TB_COUNT_UPDOWN; // Symmetrical mode
 想詢問 connts 一次時間 是否為系統時脈 1/60 MHZ  
在計算PWM 週期和量測有誤差兩倍  我得計算方法為 T= (1/60MHZ)*4000 為PWM一次週期大約為66。7us
量測卻只有134us