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.

28035 HVPM_Enhanced_Sensorless 中,如何设置另外一个新的中断,频率为50kHz

Other Parts Discussed in Thread: C2000WARE

Setting.h文件里的主中断频率配置如下:

// Define the ISR frequency (kHz)
#define ISR_FREQUENCY 10

除了这个中断,程序里我想再使用第2个中断,频率为50Hz,请问该如何设置修改

  • 新加一个定时器中断的话你可以参考一下F28035的定时器中断例程:C:\ti\c2000\C2000Ware_3_04_00_00\device_support\f2803x\examples\c28\timed_led_blink
  • 28035 HVPM_Enhanced_Sensorless 中,define ISR_FREQUENCY 10,中断频率为10,请问这个语句背后是哪些文件or寄存器设置的呢? 问题2:这个频率10k,是哪个定时器的中断呢?
x 出现错误。请重试或与管理员联系。