Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0304 Datasheet(PDF) 9 Page - STMicroelectronics

Part # UM0304
Description  STR91x DSP library
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0304 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button UM0304 Datasheet HTML 5Page - STMicroelectronics UM0304 Datasheet HTML 6Page - STMicroelectronics UM0304 Datasheet HTML 7Page - STMicroelectronics UM0304 Datasheet HTML 8Page - STMicroelectronics UM0304 Datasheet HTML 9Page - STMicroelectronics UM0304 Datasheet HTML 10Page - STMicroelectronics UM0304 Datasheet HTML 11Page - STMicroelectronics UM0304 Datasheet HTML 12Page - STMicroelectronics UM0304 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 19 page
background image
UM0304
Block FIR 16-bit filter
9/19
3
Block FIR 16-bit filter
3.1
Description
This function computes a direct-form real FIR filter using the coefficients stored in vector h[]
using a simple Block FIR technique, and moves delay line. The input sequence needs to be
start with (T -1) zeros. This is a 16-bit fixed-point implementation. Reference [1] may be
used to explore more about FIR filters.
The user needs to organize the output buffer for y[N] and needs to design the filter taps h[T]
and organize the coefficients in reverse order. The users also need to scale the input x[M]
and filter taps h[T] to avoid overflow.
This function may be called by C or Assembly function(s).
3.2
Function
typedef struct coef{
short *h;
unsigned int m;
}nh;
int fir_16by16_arm9e(int y[], short x[],
sx *p, int N);
nh p;
p.h = h;
p.M = T;
3.3
Arguments and variables
●
h[T] = filter coefficient vector with T number of taps, an integer multiple of 6
●
T = number of filter coefficients (taps), an integer multiple of 6
●
N = filter length or vector length for output
●
x[M] = filter input vector with total M samples, i.e., (M = N + T - 1)
●
y[N] = filter output vector with total N samples
3.3.1
Calling the function from C
Set the arguments and variables as appropriate in C main program and call the function.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com