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.

delay or wait in DA708 DSP (TMS320DA708)

How can I have delay or wait for 'n' milliseconds in DA708 DSP? Any API calls..? Can any one please help me out here, it will be greatly appreciated.

  • Hi Vijay,

    Thanks for your post.

    Can you give some more details on which API calls? Are you trying to introduce delay in configuring on-chip peripherals or in DSP/BIOS ? I mean, do you need CSL API's or DSP BIOS API reference?

    The DA708/707/705 Aureus™ processors are based on TI's 32-/64-bit TMS320C6000 DSP architecture, so, you shall refer the below C6000 DSP/BIOS API reference guide and CSL API reference guide

    http://www.ti.com/lit/ug/spru403s/spru403s.pdf

    http://www.ti.com/lit/ug/spru401j/spru401j.pdf

    Basically, NOP [count] CPU instruction can be used to introuduce delay or wait cycles and the maximum value for count can be used till 9. Please refer page no 249 for NOP CPU operation in the TMS320C67x/C67x+ DSP CPU and Instruction Set Reference Guide as below:

    http://www.ti.com/lit/ug/spru733a/spru733a.pdf

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------
  • Dear Sivaraj,

    Thanks a lot for your reply. 

    Basically, I am trying to make CPU to wait for 'n' milliseconds inside my custom ASP. For example lets assume we have an API in DSP like "WaitNms(100)" , this blocks the ASP processing for 100ms. So, is there any such APIs that I can use in my custom ASP? If not how can I write my own API for 'n' millisecond wait?

    Thanks

    -Vijay H.S