Other Parts Discussed in Thread: LAUNCHXL-TMS57004
Tool/software: Code Composer Studio
Hi all,
I am currently developing code for the TMS570LS0432BPZQQ1 (on the LAUNCHXL-TMS57004). I am running into issues where the stack will overflow if an sci interrupt occurs within nested functions.
For instance if I do: main->function1->function2->sciReceive(), then the device will have a stack overflow and not return to the higher functions.
I can remedy this issue by putting all of the code from the functions in the main, but as you can imagine this clutters the main function quite a bit. Is there any way to avoid this while keeping the function calls?
I've read through spna219 ("Nested Interrupts on Hercules™ ARM® Cortex®-R4/5- Based Microcontrollers"), but would like to see if there is an easier way to fix the issue as I never intend on interrupting the sci interrupt.
Thanks!
Vince Toledo