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.

[参考译文] CC1350:如何为单线通信生成微秒延迟

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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/821889/cc1350-how-to-generate-microsecond-delay-for-the-1-wire-communication

器件型号:CC1350

您好!

我将 CC1350 LP 用于单线通信。 我已经编写了单线通信协议、我需要以微秒为单位的延迟。 我也尝试过计时器、但它无法正常工作。 我还尝试了 usleep 函数,但它的工作效率超过500 uec。 我需要1微秒的最小延迟。  

那么、产生微秒延迟的另一种方法是什么。 我知道代码执行或执行任何函数需要几微秒的时间。 但我的时钟以24MHz 频率运行、因此我认为它不会给代码带来问题。 如果是、那么我如何使用时钟周期运行我的代码。 因此、我将以最小微秒延迟到达。

请就该问题向我提出建议。 如果您有任何一个示例代码、请提供、以便我参考。

此致、

Nilesh