Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Using the Overrun Indicator
When your digital signal process application cannot complete the calculations and data manipulations required to yield a result before the available clock cycles expire, your model can generate unreliable data. Failing to complete an algorithm is called overrunning, and is one of the most important errors to identify and eliminate in digital signal processing design and implementation.
The Embedded Target for TI C6000 DSP provides an overrun indicator that you use to notify you when your process is running out of processing time before it completes its tasks. To signal that the algorithm has overrun its limits, the Embedded Target for TI C6000 DSP turns on the external LED on the C6701 EVM and leaves it on until you reset the evaluation module.
Limitations on the Overrun Indicator
In two cases, the overrun indicator does not work:
To detect overrun conditions, the generated C code sets and checks a persistent flag during each iteration of the direct memory access (DMA) interrupt service routine.
To indicate an overrun condition on the C6711 DSK, the software turns on all three user-defined LEDs on the board.
To enable the overrun indicator, choose one of three ways for the indicator to respond to an overrun condition in your model:
None
--your model does not respond to overrun conditions during processing.
Continue
--when your model runs out of clock cycles before completing enough of the processing algorithm, the overrun indicator turns on the external or user defined LEDs. The model continues to run without pause.
Halt
--when your algorithm runs out of clock cycles before completing the required calculations and manipulations, the model stops executing and turns on the selected LED on the target.
![]() | Configuring LED Blocks | Configuring Reset Blocks | ![]() |