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/TMS320F28377S: ASM ISR for EPWM1_INT

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Where can I find the ASM interrupt service routin example program for CPU? My device is TMS320F28377S.

  • There is no example for exactly this, but you can implement it quite easily.  If you open the "adc_soc_epwm_cpu01" example for your device in the latest version of C2000Ware, you can add the attached file to the project, and make the following changes to the code in "adc_soc_epwm_cpu01.c":

    1.  In Line 65, add

    extern interrupt void asm_isr(void);

    2. Change line 129 to:

    PieVectTable.ADCA1_INT = &asm_isr; //function for ADCA interrupt 1

    Then build and run the code as you normally would.  Set a break-point on line 8 of the attached file and you should hit it every time.  It it for you to add any necessary assembly code where indicated.

    Hope this helps.

    Regards,

    Richard

    demo2837x_asmisr.asm