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.

LAUNCHXL-CC2650: Bluetooth forum

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650, SYSCONFIG

Hi,

I am programming the transmitter and receiver using CC2650.

I want to sleep the program in real-time to match timing without a timestamp.

What should I do?

Now, I use "Clock", but I don't want to change the Clock parameters.

Please, help me.

Tatsuki.

  • Hello Tatsuki,

    Thanks for reaching out.

    Please help me answering the following questions:

    1. Could you please specify the SDK you are using?
    2. I would like to understand better your requirements. Do you want to transmit data through BLE and then go to sleep? Wouldn't an interrupt timer works?

    BR,

    David.

  • Hi, David.

    Thanks for your reply!

    1. I try to make a program using "simplelink_academy_cc13xx_cc26xxsdk_6_40_00_00" and "tirtos_cc13xx_cc26xx_2_21_00_06" and "xdctools_3_32_00_06_core".

    2. Now, my program works using "Clock_construct". I am trying to make a program like BLE, so I want to sleep one while another one is running, but I won't to terminate "Clock". Sorry I don't know how to implement an interrupt timer. Please let me know.

    Tatsuki.

  • Hello Hiramatsu,

    I would suggest checking our training material here and to use one of the example project available at <SDK>\examples\rtos as a starting reference.

    Regarding the timer interrupt, you can configure a timer using the sysconfig file inside the project, and check for examples on how to implement it (see image bellow).

    However I still don't fully get what you are trying to develop.

    What I understand is that you trying to implement a BLE communication between two devices where one is configured as peripheral and one as the central. With this you want to start the communication after a specific period of time (set by the timer) and meanwhile put to sleep both of the devices while there is no need for wireless communication to safe energy. Or is it that you are trying to start another task while a BLE task is not executing on the same device?

    Please let me know,

    David.

  • Hi, David.

    Thanks for your reply!

    I want to implement interference wave sauce communicating packets like BLE which I can change the program and implement other functions.

    And I want to sleep one to match the Timing with another one.

    My program divided each 30ms by "Clock_construct". And "EasyLink_receive" or "EasyLink_transmit" are running in each 30ms.

    So when something is triggered, I want to pause the program including "EasyLink" and "RF" and resume the program from the same point after a specific time.

    Regards,

    Tatsuki.

  • Hello Tatsuki,

    Understand. Thanks for the information.

    Are you using an example as the the main reference to use EasyLink_receive and EasyLink_transmit which includes RTOS tasks to handle them?

    BR,

    David.