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.

[参考译文] CCS/TMS320F28335:如何从 DSP#39;s CPU 时钟设置中断?

Guru**** 2606455 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/681828/ccs-tms320f28335-how-to-set-a-interrupt-from-dsp-s-cpu-clock

器件型号:TMS320F28335
主题中讨论的其他器件:C2000WARE

工具/软件:Code Composer Studio

您好!

我使用的是 Code Composer Studio (CCS) 5.3.0.00090

我的问题是、如何通过 CPU 计时器计数器设置中断? 我想在没有 CLA 或 ePWM 设置的情况下设置中断。
我知道 DSP 时钟速率为150MHz、我如何使用 DSP 时钟速率来设置中断。
例如、如果我想设置一个20kHz 的中断频率、这意味着系统需要在 CPU 计数7500次时执行中断程序。

是否有任何方法可以使用 CPU 定时器计数器来执行中断程序?

感谢您的帮助!
此致、Chen Yan-Li