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/66AK2H14: How to implement MSLEEP in CCS

Part Number: 66AK2H14

Tool/software: Code Composer Studio

Hi

I am using CCS 7.4 and 66AK2H14 in my project.

In my application I have to use sleep. I have not created the task , so task_sleep will not be helpfull in my case.

How can I implement sleep in CCS?

Regards,

Mahima Shanbag

  • Hi Mahima,

    The team is notified. They will post their feedback directly here.

    BR
    Tsvetolin Shulev
  • What is the purpose of the sleep? Are you just trying to implementing a delay or is the purpose to put the device in lower power state.
    Is the bare-metal code or TI RTOS. IS this for the DSP or the ARM?

    If this is on the DSP then have you tried to look at NOP and WFI instructions or use timer in one shot mode. GNU GCC natively supports sleep function in the Posix extensions (defined in unistd.h)

    Regards,
    Rahul