数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

UM0304 数据表(PDF) 7 Page - STMicroelectronics

部件名 UM0304
功能描述  STR91x DSP library
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM0304 数据表(HTML) 7 Page - STMicroelectronics

Back Button UM0304 Datasheet HTML 3Page - STMicroelectronics UM0304 Datasheet HTML 4Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 19 page
background image
UM0304
IIR ARMA 16-bit filter
7/19
2.4
Algorithm
Following is the C equivalent of the assembly code. Note that the assembly code is hand
optimized and restrictions may apply.
C equivalent IIR ARMA algorithm
iir_arma_arm9e(short *y, short *x, short *h2, short *h1, int ny)
{
int i, j;
int sum;
for (i=0; i<ny; i++){
sum = h2[0] * x[4+i];
for (j = 1; j <= 4; j++)
sum += h2[j]*x[4+i-j]-h1[j]*y[4+i-j];
y[4+i] = (sum >> 15);
}
}
2.5
Assembly code
The assembly code for this IIR ARMA algorithm is validated in STR91x environment for
ARM966E-S. The assembly code is for 16-bit fixed point applications. The assembly source
code module may be found in DSPLIB.
2.6
Requirements
The assembly module is little endian and written for ARM9E in ARM mode with stack
aligned to 8 bytes.
The module is for 16-bit fixed point applications where input data is expected to be 16-bit
fixed point and it will produce 16-bit fixed-point outpute.
A caller needs to organize an input vector x[] for filter input and output vector y[] for filter
output then supply the filter coefficients h1[] as well as h2[]. The vector length for x[] and y[]
needs to follow the following guidelines.
●
ny is multiple of 4 and greater than or equal to 8
●
Input data array x[ ] contains ny + 4 input samples to produce ny output samples.



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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