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.

TMS320F28335: 进中断后变量不受控制

Part Number: TMS320F28335

设置每进一次PWM中断,变量tch加一。但波形显示它会加到某个值后突变,可能是什么原因造成的?下图是tch的波形,尝试换成Timer0中断也是这样的结果。

已解决:对tch数据类型正确定义。

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