I have a DSP (Digital Signal Processor) with a very well defined application, (this explication will be simplified)
The DSP uses TDM (Time Division Multiplexer) frames to receive audio information, the audio information is processed (simple IIR (Infinite Impulse Response) filter) and then outputted thru TDM, mainly the application works on 2 interruptions:
Interruption 1: [4 TDM Frames received, SPORT buffer full]: when this interrupt is fired, the information is loaded to ping-pong buffer
Interruption 2: [Timer interrupt] When this interrupt is fired, the ping pong buffer information is passed thru the Filter and then loaded to the output TDM buffer so it gets transmitted by HW.
This application works great the timer is configured to run at 4 TDM frames each time so there is a delay between the data in and data out (processing) but there is no frames lost in the TDM stream.
The DSP is performing a endless loop (background worker) when there are no interruptions being used.
The DSP runs pretty cool but i want to make a temperature profile, so i need to increase the CPU usage, any idea on what can i put to my background worker to increase CPU usage and thus temperature?