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/TMS320F28335: Interrupt priority

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Today I have a code with two interrupts. timer0 and external interrupt 1.
I need to insert two interruption levels.
I was directed to replace the file DSP2833x_DefaultIsr.c and DSP2833x_PieVect.c with the files DSP2833x_SWPrioritizedPieVect.c and DSP2833x_SWPrioritizedDefaultIsr.c.
When compiling 5 errors occur. Even with the files unchanged.
What is the procedure for using these files?
How do I enter the DSP2833x_SWPrioritizedIsrLevels.h so that a change to this file does not affect other projects?

thankful
Daniel

  • Daniel,

    Could you please tell me what compiler errors you are receiving? In case you have not found the documentation for Software Prioritized Interrupts, it can be found in the F2833x Firmware Development Package User's Guide in section 4.46 on page 55.

    In C2000Ware - C:\ti\c2000\C2000Ware_<version>\device_support\f2833x\docs

    - Ken
  • Daniel,

    I haven’t heard from you for a while, so I’m assuming you were able to resolve your issue. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue.

    - Ken
  • I'm using Code Composer Studio 6.2.0
    My need was to have control over the interruption levels of 28335.
    I had problems using DSP2833x_SWPrioritizedPieVect.c and DSP2833x_SWPrioritizedDefaultIsr.c
    Inserting these files happens errors.
    What I did was:
    Copy the part of the code that treats the interrupt levels of the DSP2833x_SWPrioritizedDefaultIsr.c file and paste it into maic.c. I also changed the interrupt vector to look at the function in main.c
    interrupt void isr_botao (void); // prototype of the timer interrupt function
    PieVectTable.TINT0 = & isr_timer0; // Changing default location of ISR timer 0
    And set the interrupt level in DSP2833x_SWPrioritizedIsrLevels.h
    Then it worked!