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/CC2640:TI rtios CPUdelay()

Guru**** 2553260 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/580728/ccs-cc2640-ti-rtios-cpudelay

器件型号:CC2640

工具/软件:Code Composer Studio

您好!

我想知道 CPUdelay (uint32_t ui32Count)的成本是多少? 据说 ui32Count 是循环花费3个周期/循环。例如、我 的时钟为24M、

#define SET_CCFG_MODE_CONF_XOSC_FREQ                   0x3       // HF 源是24MHz xtal (默认值)

 一个周期是否为1/24000 000?  这种测量 CPUdelay (80000)的成本是1秒? 但我在我的板上进行测试,它看起来不像这样。

感谢你的帮助。

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

    即使在关闭24MHz 晶体振荡器的情况下、系统时钟也是48MHz。

    谢谢、
    Fredrik