Question: do I need to initialize the stack pointer or does the system initialize it when the system boots up ?
Answer: Stack pointer needs to be initialized and depending upon the application can be set to on-chip or off-chip memory.