| Electronic Components Datasheet Search |
|
UM0304 Datasheet(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0304 Datasheet(HTML) 6 Page - STMicroelectronics |
|
6 / 19 page ![]() IIR ARMA 16-bit filter UM0304 6/19 2 IIR ARMA 16-bit filter 2.1 Description The IIR filter function performs an ARMA filter with 4 auto-regressive filter coefficients and 5 moving-average filter coefficients respectively for ny output samples. This is a 16-bit fixed- point implementation. Reference [1] may be used to explore more about IIR filters. 2.2 Function void iirarma_arm9e(void *y, void *x, short *h2, short *h1, int ny); 2.3 Arguments and variables ● Output array vector y[ny+4] (used in actual computation. first four elements must have the previous outputs. Thus the first output starts y[4] when ny = 0) ● Input array vector x[ny+4] ● Moving-average filter coefficients vector h2[5] ● Auto-regressive filter coefficients h1[5] and h1[0] are not used ● Number of output samples ny is a multiple of 4 and must be ≥ 8 2.3.1 Calling the function from C Set the arguments and variables as appropriate in C main program and call the function. In the STR91x DSPLIB this is set in the 91x_dsp.h header file. 2.3.2 Calling the function from assembly Use the following registers equivalent to arguments/variables. ● R0 to the address of output vector y[] ● R1 to the address of input vector x[] ● R2 to the address of coefficient vector h2[] ● R3 to the address of coefficient vector h1[] ● R12 to the address of ny Then use the BL instruction to call the function. |
|
|
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 |
| 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 |