EasyManuals Logo

Texas Instruments C28 Series Student Guide

Texas Instruments C28 Series
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #189 background imageLoading...
Page #189 background image
IQmath Appications and Summary
IQmath Appications and Summary
Where Is
Where Is
IQmath
IQmath
Applicable?
Applicable?
Motor Control (PID, State Estimator, Kalman,...)
Servo Control
Modems
Audio (MP3, etc.)
Imaging (JPEG, etc.)
Any application using 16/32-bit fixed-point Q math
Where it is not applicable
Anywhere a large dynamic range is not required
Graphical applications (3D rotation, etc.)
When trying to squeeze every last cycle
IQmath
IQmath
Approach Summary
Approach Summary
Seamless portability of code between fixed and floating
Seamless portability of code between fixed and floating
-
-
point devices
point devices
User selects target math type in “
User selects target math type in “
IQmathLib
IQmathLib
.h” file
.h” file
#if MATH_TYPE == IQ_MATH
#if MATH_TYPE == IQ_MATH
#if MATH_TYPE == FLOAT_MATH
#if MATH_TYPE == FLOAT_MATH
One source code set for simulation vs. target device
One source code set for simulation vs. target device
Numerical resolution adjustability based on application
Numerical resolution adjustability based on application
requirement
requirement
Set in “
Set in “
IQmathLib
IQmathLib
.h” file
.h” file
#define GLOBAL_Q 18
#define GLOBAL_Q 18
Explicitly specify Q value
Explicitly specify Q value
_iq20 X, Y, Z;
_iq20 X, Y, Z;
Numerical accuracy without sacrificing time and cycles
Numerical accuracy without sacrificing time and cycles
Rapid conversion/porting and implementation of algorithms
Rapid conversion/porting and implementation of algorithms
IQmath
IQmath
library is freeware
library is freeware
-
-
available from TI DSP website
available from TI DSP website
http://www.
http://www.
dspvillage
dspvillage
.ti.com
.ti.com
(follow C2000 DSP links)
(follow C2000 DSP links)
IQmath
IQmath
” + fixed
” + fixed
-
-
point processor with 32
point processor with 32
-
-
bit capabilities =
bit capabilities =
C28x - Numerical Concepts & IQmath 8 - 33

Table of Contents

Other manuals for Texas Instruments C28 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C28 Series and is the answer not in the manual?

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals