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.

[参考译文] CC1314R10:在源代码中使用 ARM DWT_CYCCNT 实现延迟或测量周期计数时是否存在任何限制?

Guru**** 2482105 points


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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1254569/cc1314r10-are-there-any-limitations-to-using-arm-dwt_cyccnt-for-implementing-delays-or-measuring-cycle-counts-in-source-code

器件型号:CC1314R10

在使用 DWT_CYCCNT 实现小延迟或测量源代码内的周期计数方面、CC1314中是否存在任何限制? 从文档中我们可以看到 ARM DWT 寄存器在器件上实现了、但我们在其他任何地方都没有看到关于此功能的讨论。

文件:///C/C:/ti/simplelink_cc13xx_cc26xx_sdk_7_10_00_98/docs/driverlib_cc13xx_cc26xx/cc13x4_cc26x4/register_descriptions/CPU_MMAP/CPU_DWT.html  

提前感谢、

鲁本

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

    尊敬的 Ruben:

    您应该能够使用 CYCCNT 对周期进行计数。 请参阅技术参考手册: https://www.ti.com/lit/swcu194 

    请参阅第 2.5.2.2节 CYCCNT 寄存器。

    我还没有听说过有人使用此文件、您能告诉我为什么他们要对处理器时钟周期进行计数吗?

    谢谢、

    玛丽