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.

DelayTimerSetup() stop the Clock_doTick

Other Parts Discussed in Thread: SYSBIOS

Hi all,

I try to create the usb communication with the usb_dev_bulk exemple. I use the SYSBIOS 6.33.04.39 and Starterware 1.10.02.02

When i use the function DelayTimerSetup() that stop the Timer use for the ti_sysbios_knl_Clock_doTick__I so when I use task_sleep() in my task, the task is stopped.

I try to find if DelayTimerSetup() use the same Timer, with no succes.

It is possible to change the timer for the ti_sysbios_knl_Clock_doTick__I ??

  • Hi

    I mkae i mistake, I find that when i use the IntDSPINTCInit(); in my usb_dev_bulk its disabled all interrupts, you can see the comment from the file who define the function:

    /**
    * \function IntDSPINTCInit
    *
    * \brief This API is used to setup the DSP Interrupt Controller (INTC)
    * and should be called before using the DSP INTC. All CPU
    * maskable interrupts will be disabled after calling this API and
    * the user should proceed to setup the required interrupts for
    * processing.
    *
    * \param None
    *
    * \return None
    */
    
    

    So I think I need to enable the interrupt who controle the doTick, after I initialize my usb. But i not sure how to do this. I try function like this Hwi_enableInterrupt(14); but with no success. Can you give my some direction that will help me to do this.

    Thanks