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.

TMS320F28031: Code hangs after adding a few local variables

Part Number: TMS320F28031

After adding a function which has 2-3 local variables in main(), my code hangs somewhere but all the interrupts are working fine.

i am not getting if any stack or memory issue is there than how my interrupts are working. Please give some expert advice on this, what may gone wrong?