This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC 2138 STACK related querry

Hi ,

This is the first time i am writing to this forum.
I am currently using Phillips based LPC2138 chip which has got a flash size of 512KB and data memory size of 32KB .

I have gone through the data sheet of LPC2132/2138 but i have failed to find the exact size of STACK for maintaining the address of local variables or address of the functions.

I have a problem of stack overflow which is causing my application to fail in certain instances.

If anyone has faced this sort of problem , kindly mail me back.

Or if possible can anyone tell the fundamentals of how the stack is maintained on a micrcontroller.
Any help in this regards will be appreciated by me.

Regards
Amit

0