MSP430F6638 stack problem
My answer is very general with respect to these devices, I have more experience with the 8051, which also has a very small stack (128 or 256 bytes). I would always write the code with a maximum of only 1 deep into the call stack. Is it possible for you to re-write your code to accomplish this? The compiler can try and inline your call stack, but this doesn't always work.