this is my previous post, I posted my question here but admin moved to MCU forum, where they asked me to post this question in BT forum, but since no response after that, I'm posting my issue again.
Attached is soc-empty example, I've only added a single array of 2580 bytes and it stuck with a startup exception, I've checked from debugger and bt stack init is the last call. We have moved from bgm121 to bgm13p because this part has double RAM, I've tested with multiple arrays of few KBs in size with peripheral examples and there is no issue. so please throw some light on this, your help is highly appreciated.
The Bluetooth stack requires at least a 1.5 kB call stack to be reserved from RAM. Application developers must allocate RAM for the application call stack on top of the 1.5 kB required by the stack. By default, the call stack size if 2kB, the local variables are also stored on the stack, so you need to enlarge the stack size to meet your requirement, or define the array as global variable.
Please see "7.3.4 Call Stack" of UG136 for how to override the default setting.