TI的专家们,我正在AM5706的芯片上做开发,在使用对应的外设GPTimer时遇到了一些疑问:
GPTimer 在定时器模式下工作时,他的计数频率是多少,这个频率是否可以配置,如果可以请问应该怎么配置?
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.
是可以配置的,请参考 TRM 22.2.1 General-Purpose Timers Overview Table 22-3. Clocks and Resets部分关于
https://www.ti.com.cn/cn/lit/ug/spruhz7j/spruhz7j.pdf
具体的配置我咨询一下相关工程师看一下是否有demo可以参考,再给你回复。
建议借助clock tree tool工具来看,应该会比较清晰。
https://www.ti.com/tool/CLOCKTREETOOL
training.ti.com/how-use-sitara-clock-tree-tool-5-minutes-or-less
另外以下路径下的代码可供参考:
<PDK>\packages\ti\csl\example\timer\timer_app
<PDK>\packages\ti\board\diag\timer\src