Download MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO User`s guide

Transcript
Schedulers and Timing
Three Odd-Rate Tasks Without Preemption and the Base and
Sub-Rate1 Tasks Overrun
Three tasks running simultaneously—the Base-Rate task and two subrate
tasks.
• Both the Base-Rate task and the Sub-Rate 1 task overrun.
• The Base-Rate task runs every 2ms instead of 1ms.
• Sub-Rate 1 and Sub-Rate 2 task execution is delayed by a factor of
2—Sub-Rate 1 runs every 4ms rather than every 2ms and Sub-Rate 2 runs
every 6ms instead of 3ms.
3-33