EasyManua.ls Logo

Texas Instruments C28 Series User Manual

Texas Instruments C28 Series
76 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 #53 background imageLoading...
Page #53 background image
Function Descriptions
3.20 Addition of Two Complex Vectors
Description:
This module adds two complex vectors.
Y
re
[i] = W
re
[i] + X
re
[i]
Y
im
[i] = W
im
[i] + X
im
[i]
Header File:
FPU.h
Declaration:
void add_SP_CVxCV(complex_float
*
y, const complex_float
*
w,
const complex_float
*
x, const Uint16 N)
Usage:
add_SP_CVxCV(y, w, x, N);
complex_float *y
result complex array
complex_float *w
input complex array 1
complex_float *x
input complex array 2
Uint16 N
length of w, x, and y arrays
The inputs and return value are of type “complex_float” defined as
typedef struct{
float32 dat[2];
}complex_float;
Element dat[0] is the real part, dat[1] is the imaginary part.
Alignment Requirements:
None
Notes:
1. N must be at least 2
Example:
#include "FPU.h"
#define N 4
complex_float w[N], x[N], y[N];
main()
{
add_SP_CVxCV(y, w, x, N);
}
Benchmark Information:
Number of Cycles = 6*N + 15 cycles (including the call and return)
Sep 10, 2012 53

Table of Contents

Other manuals for Texas Instruments C28 Series

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
Architecture32-bit
CoreTMS320C28x
Operating Voltage3.3 V
Operating Temperature-40°C to 125°C
ADC12-bit
Communication InterfacesCAN, SPI, I2C, SCI
PeripheralsTimers
PackageVarious (e.g., LQFP, BGA)

Summary

Introduction to C28x FPU Library

C28x FPU Library Structure

Library Build Options

Details the compiler options used to build the FPU library.

FPU Library Header Files

Explains the purpose and content of the library's header files.

C Functions and IQMath Integration

Discusses the use of C functions and IQMath in the FPU library.

C28x FPU Library Function Descriptions

DSP Routines Overview

Covers Fast Fourier Transforms (FFT) and related functions for signal processing.

Vector and Matrix Operations

Provides functions for element-wise operations on complex and real vectors.

Core Math Functions

Includes fundamental math operations like square root.

Optimized Utility Functions

Offers optimized memory copy and set operations.

FPU Library Revision History

Important Notice and Disclaimers

Related product manuals