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.

C5515 Interrupts in General

Other Parts Discussed in Thread: TMS320C5515

Hi all,

I need some help in setting interrupts for the TMS320C5515 EVM. I am a novice in this area.

I am finding a difficulty in understanding how to set interrupts for this device. I know that there is an interrupt vector table (IVT) etc. But when I write an interrupt service routine (ISR), how do I map that ISR to it's specific register in the IVT?

I appreciate if you could point me out to an easy to understand example.

Many thanks!! :)

  • Hi,

         You can map your hardware interrupts to your ISRs through .tcf configuration files. Open the tcf file of your project using "graphical edit" option, then go to scheduling->HWI, here you'l find various hardware interrupts, select your desired one, right click it, go to properties, under "General" tab in "function" text box enter your ISR function name prefixed with underscore.

    Regards,

    Nawaz

  • Hi Nawaz,

    thanks a lot for your answer. I tried to do as you explained, but I did not succeed. By tcf file you mean target configuration file? I do not have any .tcf files in my projects.

    I am running the sample programs shipped with CCS4.

    Thanks again for your help

     

    Simon

  • Hi Simon,

    The procedure which I described in previous reply was for ccsV3.3, but if you have a tcf file then you can follow the same thing even on ccsV4 as well.

    You can create your own tcf files and follow the procedure described. tcf file is nothing but Target Configuration File.

    Regards,

    Nawaz

  • Hi Nawaz,

     

    Thanks again. I do not think that it is possible to do so int CCS 4, because the target configuration files are not .tcf anymore. When trying to graphically edit the target configuration file, I do not get the options that you mentioned. Are you sure that it can be done in CCS4 as well?

    Any other suggestions?

    Simon

  • Hi Simon,

    On ccsV3, to create a .tcf file we choose DSP/BIOS Configuration file, this option should be available in ccsV4 as well.

    Regards,

    Nawaz

  • Hi Nawaz,

    In order to create the .tcf file, the project should have DSP/BIOS support. However the projects that I am using now, do not have support.

    Any other ideas? What about software interrupts?

     

    Thanks a lot!

    Simon