Electronic Components Datasheet Search
  English  ▼

X  

RM0020 Datasheet(PDF) 30 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) 30 Page - STMicroelectronics

Back Button RM0020 Datasheet HTML 26Page - STMicroelectronics RM0020 Datasheet HTML 27Page - STMicroelectronics RM0020 Datasheet HTML 28Page - STMicroelectronics RM0020 Datasheet HTML 29Page - STMicroelectronics RM0020 Datasheet HTML 30Page - STMicroelectronics RM0020 Datasheet HTML 31Page - STMicroelectronics RM0020 Datasheet HTML 32Page - STMicroelectronics RM0020 Datasheet HTML 33Page - STMicroelectronics RM0020 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 69 page
background image
Function API
RM0020
30/69
are written into y vector. The y vector can be the same as x vector (in-place
windowing).
The output scaling is configurable by constant definition in the function source file:
.set
SCALING,
1
#/* 0 - off, 1 - on (output
divided by 2) */
By default it is turned on. The scaling is performed by dividing output data by 2.
Algorithm:
Equation 26
for each k = 0,1,...N-1
where x denotes complex multiplication. The output value
is divided by 2 when
SCALING == 1.
Note: There must be 8 bytes of readable memory behind x and w buffers.
If SCALING == 1, then w array mustn't have any value equal to -1 (-32768) since
there is used integer multiplication for fractional data.
Performance: See Section 7 and Table 43.
Example 12. window_apply_complex_frac16
#include "libdsp2.h"
short x[2*64+4];
/* +4 to ensure there is 8 bytes of readable
memory behind buffer, must be aligned to 4 bytes */
short w[2*64+4];
/* +4 to ensure there is 8 bytes of readable
memory behind buffer, must be aligned to 4 bytes */
void main(void)
{
unsigned int i, N;
/* length of complex vectors is 64 */
N = 64;
/* prepare example input data */
for (i = 0; i < 2*N; i++) x[i] = (i+1)<<5;
for (i = 0; i < 2*N; i++) w[i] = (i+2*N)<<5;
/* windowing function on complex frac16 data, x[i] = x[i]*w[i]
*/
window_apply_complex_frac16(N, x, x, w);
}
6.13
Real float windowing function
Function call:
void window_apply_real_float(unsigned int N, float *x, float *y,
float *w);
yk

xk
 wk

=
yk




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