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: ISR execution of problem

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hello,

I have two while(1) loops in application one in main loop and one in other file. My CAN ISR is only executed when it is hit in main loop, it doesn't execute when it is in while(1) of other file, What could be possible reasons?

  • Rupesh,

    My CAN ISR is only executed when it is hit in main loop, it doesn't execute when it is in while(1) of other file

    Not sure why do you want to put ISR in while loop? ISR is a function which get call whenever interrupt happens. May be I am misunderstanding this statement. Can you please post the code snapshot here.

    Regards,

    Vivek Singh

  • Hi Rupesh

    I haven’t heard from you for 2 weeks, so I’m assuming you were able to resolve your issue. If this isn’t the case, please reject this resolution and reply to this thread. If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

    Regards,
    Chris
  • Hi vivek,

    Sorry, I was out of town for personal reasons. Actually I was testing drivers. While testing my CAN drivers i put one while(1) loop in driver file in order to test interrupt hitting and ISR, but when I sent CAN messages when code was running in driver files while(1) it did hit interrupt but di not execute ISR. when I removed while(1) in driver file and code was roaming in main loop it executed ISR successfully.
  • Please make sure to reference the examples in C2000Ware for proper use.
    If you can post code screenshots, that would be helpful to understanding what you're doing.

    Best regards
    Chris
  • Hello

    I haven’t heard from you for 2 weeks, so I’m assuming you were able to resolve your issue. If this isn’t the case, please reject this resolution and reply to this thread. If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

    Best regards
    Chris