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.

[参考译文] TMS320F28035:TMS320F28035

Guru**** 2223470 points
Other Parts Discussed in Thread: TMS320F28035
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/836938/tms320f28035-tms320f28035

器件型号:TMS320F28035

尊敬的所有人:

我正在使用 tms320f28035并处理 CLA 处理器

我已经将寄存器设置为使 CLA 处理器与 ePWM 计时器基模块同步。

我已经按照编程方式、在 ePWM1的计数器与"0"匹配时、CLA 处理器应该运行、

我已经设置了每100us 生成一次"0"比较匹配中断、因此 CLA 的任务1 ISR 应该每100us 运行一次

为了查看 CLA 任务1 ISR 中的指令是否每100us 执行一次的时间段、我编写了如下代码。

_interrupt void Cla1Task1 (void)

  GpioDataRegs.GPATOGGLE.bit.GPIO2 = 1;
  _mdebugstop();

  fResult = fVal;

  if (fResult = 56000.0f)

  fResult = 0.0f;

我本来希望 GpioDataRegs 组将显示'100us 高电平状态、然后显示100us 低电平状态'的方波、但 GPIO2引脚上生成的任何信号都不是信号'LOW'

你们可以帮我吗?

请注意。