Motorola DSP Developer's Kit
interp-r.asm
Motorola DSP Developer's Kit
interp-r.asm
Motorola DSP Developer's Kit    
interp-r.asm

MATLAB Usage

Description

This function resamples data at a higher rate using lowpass interpolation. The input data is real.

Y = INTERP (IDATA, R, LEN, B) resamples the sequence in vector IDATA at R times the original sample rate. The resulting resampled vector Y is R times longer, LENGTH(Y) = R*LENGTH(IDATA). A symmetric filter, B, allows the original data to pass through unchanged and interpolates between so that the mean square error between them and their ideal values is minimized. B is the interpolation filter.

Input/Output

Input: Real vector IDATA, int R, int LEN, and real vector B

Output: Real vector Y

Algorithm

Memory & Register

Memory allocation

In X memory:

In Y memory:

Register usage:

Status Register

The assembly function interp-r.asm does not set explicitly any status registers/bits.

Data Size Limit

The length of vector IDATA can't be larger than the continuous available data memory size.

Data Range Limit

The input data vector range is from -1.0 to +1.0, inclusive.

Precision

In the case of DSP563, precision is 21 bits.

In the case of DSP566, precision is 12 bits.


 ifft-c.asm interp-c.asm