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.

TMS320F28377D: Assembler code example for nested interrupts

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Hello everybody,

is there an assembler code example for nested interrupts ?

Thanks in advance, Jan

  • Hi Jan,

    Thanks for your question! While we do not have nested interrupt examples written directly in assembly language, we do have nested interrupt examples in C2000Ware using driverlib functions. We also have an "assembly viewer" of sorts built into Code Composer Studio. You can use these together to get an idea of the assembly that is generated for the nested interrupts. Once you go into debug mode on an example project, you can view the assembly code being executed by opening the Disassembly tab (go to View->Disassembly in Code Composer Studio).

    While this does not provide an assembly file, it can give you an idea of the assembly operations executed during the nested interrupts.

    Let me know if this answers your question!

    Regards,

    Vince

    If I was able to answer your question, please press the green "Verify" button below, thanks!

  • Just to add, you can generate asm file from the CCS, Just enable the assembly option in "Build Setting". It will keep the assemble file in output folder wherever is .out file.

  • Hi Vince,

    thank you for your answer.

    This is an interesting approach. I will try it out.

    Regards, Jan

  • Hi Jan,

    Sounds good, let us know if we can assist you in your testing!

    Regards,

    Vince

    ---------------------------------------------------------------------------------------------------------------------------

    If I was able to answer your question, please press the green "Verified" button below, thanks!

  • Hi Vince,

    I tried it out.

    It's a great idea to analyse it with the disassembly view.

    Thank you for your help ;-)

    Regards, Jan