поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

UM0585 датащи(PDF) 17 Page - STMicroelectronics

номер детали UM0585
подробное описание детали  STM32F10x DSP library
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0585 датащи(HTML) 17 Page - STMicroelectronics

Back Button UM0585 Datasheet HTML 13Page - STMicroelectronics UM0585 Datasheet HTML 14Page - STMicroelectronics UM0585 Datasheet HTML 15Page - STMicroelectronics UM0585 Datasheet HTML 16Page - STMicroelectronics UM0585 Datasheet HTML 17Page - STMicroelectronics UM0585 Datasheet HTML 18Page - STMicroelectronics UM0585 Datasheet HTML 19Page - STMicroelectronics UM0585 Datasheet HTML 20Page - STMicroelectronics UM0585 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 25 page
background image
UM0585
16-bit IIR filters
Doc ID 14988 Rev 2
17/25
To use the iirarma_stm32 function, the following conditions must be satisfied:
●
The moving-average coefficient vector, h2, must have a length of 5 shorts:
–
short h2[5];
●
The auto-regressive coefficient vector, h1, must have a length of 5 shorts. The h1[0]
value is not used, so 4 coefficients remain:
–
short h1[5];
●
The number of output samples, ny, must be a multiple of 4 greater than or equal to 8.
●
Input and output vectors must have a length of (ny+4) shorts.
●
The first four elements of the output vector must have the previous outputs.
Example
#define NY 32/*number of outputs, must be a multiple of 4 and >= 8*/
/* Coefficients for the ARMA IIR filter */
short h2[5] = { 0x09c2,
0x270a,
0x3a8f,
0x270a,
0x09c2 };
short h1[5] = { 0x7fff,
0xd24a,
0x72ca,
0xcf4e,
0x1ad4 };
/* Input and output vectors */
short x[NY+4],y[NY+4];
/* Fill the input vector x */
...
/* Fill the 4 previous outputs */
y[0] = y0;
y[1] = y1;
y[2] = y2;
y[3] = y3;
/* Improve the filtering of NY samples */
iirarma_stm32(y, x, h2, h1, NY);
5.2.2
iir_biquad_stm32
function
Table 10 describes the iir_biquad_stm32 function.
Table 10.
iir_biquad_stm32
function
Function name
iir_biquad_stm32
Prototype
void iir_biquad_stm32(uint16_t *y, uint16_t *x, int16_t
*IIRCoeff, uint16_t ny)
Behavior description
8th-order 4 biquad IIR filter
Input parameter
– y: output array
– x: input array
– IIRCoeff: IIR filter coefficients
– ny: number of output samples
Output parameter
None
Return parameter
None



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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