Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

RM0020 Datasheet(PDF) 54 Page - STMicroelectronics

Part # RM0020
Description  SPC56xx DSP function library 2
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0020 Datasheet(HTML) 54 Page - STMicroelectronics

Back Button RM0020 Datasheet HTML 50Page - STMicroelectronics RM0020 Datasheet HTML 51Page - STMicroelectronics RM0020 Datasheet HTML 52Page - STMicroelectronics RM0020 Datasheet HTML 53Page - STMicroelectronics RM0020 Datasheet HTML 54Page - STMicroelectronics RM0020 Datasheet HTML 55Page - STMicroelectronics RM0020 Datasheet HTML 56Page - STMicroelectronics RM0020 Datasheet HTML 57Page - STMicroelectronics RM0020 Datasheet HTML 58Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 54 / 69 page
background image
Function API
RM0020
54/69
Arguments:
Description:
Computes the cascade of second-order IIR filters on frac16 data. The input samples
are stored in the array x, output samples are written to the array y. The function calls
the iir_float_2nd function for each second-order IIR filter in the cascade. There is
used the arithmetic with saturation so the output will never overflow.
Algorithm:
The filter equation for the i-order IIR filter (i = 2*m):
Equation 47
for each n = 0,1...N-1
The i-order filter is implemented using the cascade of m IIR filters of second-order:
Equation 48
Equation 49
Equation 50
for each n = 0,1...N-1
Performance: See Section 7 and Table 60.
Table 29.
iir_frac16_casc arguments(1)
1.
The x,y,c,s data are in fractional 16-bit format in range -1 to 1. The arrays x,y,s must be word
aligned, the array c must be half-word aligned (implicit alignment of short data). There must be 4
bytes of readable memory behind the array x and y. There are returned new values of x(-2), x(-1),
y(-2), y(-1) in the array s to be ready for next function call.
N
in
number of input and output samples (N must be multiple of 4)
x
in
array of input samples of length N, x(0) x(1) ... x(N-1)
y
out
array of output samples of length N, y(0) y(1) ... y(N-1)
cin
array of filter coefficients for each second-order IIR filter, c[m*5] =
{b10, b11, b12, a11, a12, b20, b21, b22, a21, a22,
...,
bm0, bm1, bm2, am1, am2}
s
in/out
array of previous input and output values (state vector), s[m*4] =
{x1(-2), x1(-1), y1(-2), y1(-1), x2(-2), x2(-1), y2(-2), y2(-1),
...,
xm(-2), xm(-1), ym(-2), ym(-1)}
m
in
number of second-order IIR filters in the cascade
yn

b0
xn
 b1
xn 1
–
 
++
bi
xn i
–
 a1
yn 1
–

–
 ai
yn i
–

–
–
+
=
y
1
n

b10
x
1
n
 b11
x
1
n1
–
 b12
x
1
n2
–
 a11
y
1
n1
–

–
a12
y
1
n2
–

–
++
=
y
2
n

b20
y
1
n
 b21
y
1
n1
–
 b22
y
1
n2
–
 a21
y
2
n1
–

–
a22
y
2
n2
–

–
++
=
y
m
n

bm0
y
m1
–
n
 bm1
y
m1
–
n1
–
 bm2
y
m1
–
n2
–
 am1
y
m
n1
–

–
am2
y
m
n2
–

–
++
=



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69


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