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.

How to create and setting Timer interrupt vectors for TMS320VC5505 eZDSP USB Stick?

Other Parts Discussed in Thread: SPRC133

 

Hi All,

Can anybody let me know how to create timer interrupt (In CCS-V4, using C) without using any DSP library and DSP BIOS?

I also read out  "SPRA036" but it create more confusion.

 

Thanks in Advance,

Ashwin Panchal

 

 

  



 

 

  

 



  

  • Hi Ashwin,

     

    You can have a look at  http://code.google.com/p/c5505-ezdsp/  on the project named Adio Filter Demo for the C5505. It has an implementation of timer, see the rtc_bypass1.c and vector.asm sources.

    Yet you can also see the csl_rtc_example from the CSL 2.10 in  http://focus.ti.com/docs/toolsw/folders/print/sprc133.html

     

    Regards,

    Christos

     

  • Hi Christos,

     

    Thanks for your reply,

    but from last few days i am more confused, due to the so many configuration in the examples given by TI.

     can you please send me a new project file which have only Timer-0 interrupt at every 1ms?

    and also can you send me details about how to configure the .CMD file? ( as i am new to the DSP development)

     

    Thanks for your help,

    Ashwin Panchal

  • Ashwin,

     

    See csl_rtc_example specifically in line 272

    "    /* Enable the RTC SEC interrupts */
        status = RTC_eventEnable(CSL_RTC_SECEVENT_INTERRUPT);
        if(status != CSL_SOK)
        {
            printf("RTC_eventEnable for SEC EVENT Failed\n");
            return;
        }
        else
        {
            printf("RTC_eventEnable for SEC EVENT Successful\n");
        }
    "

     

    examine how you can change the CSL_RTC_SECEVENT_INTERRUPT with CSL_RTC_MSEVENT_INTERRUPT

    that gives a millisecond interrupt.

     

    Also study the RTC module and its functions of CSL 2.10

     

    These are all I can say on the subject, you need to do your own homework and effort on this.

     

    Christos