SFFS889 July 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
A stack overflow, in a safety application, generally produces a catastrophic software crash due to data corruption, lost return addresses, or both. Hence, detecting an impending stack overflow is important. The capability exists on C2000 devices that, when properly configured, allows for runtime detection of a stack overflow before the stack overflow occurs. For more information, see Online Stack Overflow Detection on the TMS320C28x DSP. Detection of an impending stack overflow triggers a maskable interrupt. The programmed error response, and any necessary software requirements, are defined by the system integrator.