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.

[参考译文] RTOS:cc2640r2f 的 Util_constructClock

Guru**** 2589245 points
Other Parts Discussed in Thread: CC2640

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/601092/rtos-util_constructclock-of-cc2640r2f

主题中讨论的其他器件:CC2640

工具/软件:TI-RTOS

我配置时钟并使用 UART。

Util_constructClock (&loop_send_data、loop_send_data_callback、4000、4000、true、timeout_evt);

静态空 LOOP_SEND_DATA_CALLBACK (UARg 参数)

EVENT_POST (sEMA、arg);

for (;;)

uint32_t 事件;

事件= Event_pend (SEMA、Event_ID_NONE、TIMEOUT_EVT、
iCall_TIMEOUT_FOREVER);

DEG_printf (UART_TEST、"SEMA"、strlen ("SEMA\n"));(我重定向 UART 输出,这正常)

但时钟只运行一次。 有什么问题???

cc2640的运行方式也一样...   

我能做什么????

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您使用的是什么软件(和版本)?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    simplelink_cc2640r2_sdk_1_35_00_33、XDC 为 xdctools_3_50_01_12_core