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.

TMS320F28P659DK-Q1: TMS320F28P659DK-Q1 PWM更新时间问题

Part Number: TMS320F28P659DK-Q1

TMS320F28P659DK-Q1 在 CPU1 以 200MHZ 主频计算完电流环后,更新PWM的寄存器,但执行以下程序花费了800ns,有方法加快执行吗,800ns占整个电路环周期比例太大。

HWREGH(EPWM1_BASE+ EPWM_O_CMPA+ 0x1U) = (uint16_t)compCount1;   //更新PWM1的比较寄存器

HWREGH(EPWM2_BASE+ EPWM_O_CMPA+ 0x1U) = (uint16_t)compCount2;   //更新PWM2的比较寄存器

HWREGH(EPWM3_BASE+ EPWM_O_CMPA+ 0x1U) = (uint16_t)compCount3;   //更新PWM3的比较寄存器

x 出现错误。请重试或与管理员联系。