User`s guide

Tar get Preferences
Correctly generating interrupts for yo ur model depends on the
clock rate of the CPU on your processor. You can change the
rate w ith the DIP switches on the board or from one of the Texas
Instruments software utilities.
For the timer software to calculate the interrupts correctly,
Embedded IDE Link CC needs to know the actual clock rate of
your processor as you congured it. CPU clock speed lets y ou tell
the timer the rate at which your processor CPU runs, which is the
rate to use to m atch the CPU rate.
The timer uses the CPU clock rate you specify in CPU clock
speed to calculate the time for each interrupt. For example, if
your model includes a sine wave generator block running at 1 k Hz
feeding a signal into an FIR lter block, the timer needs to create
interrupts to generate the sine wave samples at the proper rate.
Using the clock rate you choose,
100 MHz for example, the timer
calculates the sine generator interrupt period as follows for the
sine block:
Sine block rate = 1 kHz, or 0.001 s/sample
CPU clock rate = 100 MHz, or 0.000000001 s/sample
To create sine block interrupts at 0.001 s/sam ple requires:
100,000,000/1000 = 1 Sine block interrupt per 100,000 clock ticks
Thus, y ou must report the correct clock rate, or the interrupts
come at the wrong times and the results are incorrect.
Simulator
Select this option wh en you are developing for a simulator rather
than a hardware processor. You must select Simulator to
processor your co de to a C6xxx simulator.
9-50