User`s guide
Table Of Contents
- Getting Started
- Using the IQmath Library
- Block Reference
- Blocks — Alphabetical List
- Absolute IQN
- Arctangent IQN
- C24x ADC
- C24x CAN Receive
- C24x CAN Transmit
- C24x From Memory
- C24x PWM
- C24x To Memory
- C28x ADC
- C28x eCAN Receive
- C28x eCAN Transmit
- C28x From Memory
- C28x PWM
- C28x To Memory
- Division IQN
- F2812 eZdsp
- Float to IQN
- Fractional part IQN
- Fractional part IQN x int32
- Integer part IQN
- Integer part IQN x int32
- IQN to Float
- IQN x int32
- IQN x IQN
- IQN1 to IQN2
- IQN1 x IQN2
- LF2407 eZdsp
- Magnitude IQN
- Saturate IQN
- Square Root IQN
- Trig Fcn IQN
- Index

i
Contents
1
Getting Started
What Is the Embedded Target for the TI TMS320C2000
DSP Platform? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2
Suitable Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Setting Up and Configuring . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Platform Requirements — Hardware and Operating System . 1-3
Supported Hardware for Targets . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Verifying the Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Embedded Target for TI C2000 and
Code Composer Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-7
Default Project Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Scheduling and Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Overview of Creating Models for Targeting . . . . . . . . . . . . 1-10
Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
Notes About Selecting Blocks for Your Models . . . . . . . . . . . . 1-11
Setting Simulation Parameters . . . . . . . . . . . . . . . . . . . . . . . . 1-12
Building Your Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12
Using the c2000lib Blockset . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
Hardware Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
Starting the c2000lib Library . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
Setting Up the Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16
Adding Blocks to the Model . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24
Generating Code from the Model . . . . . . . . . . . . . . . . . . . . . . . 1-28
Creating Code Composer Studio Projects Without Loading . . 1-29