Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ST20-C1 Datasheet(PDF) 58 Page - STMicroelectronics

Part # ST20-C1
Description  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 Datasheet(HTML) 58 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 54Page - STMicroelectronics ST20-C1 Datasheet HTML 55Page - STMicroelectronics ST20-C1 Datasheet HTML 56Page - STMicroelectronics ST20-C1 Datasheet HTML 57Page - STMicroelectronics ST20-C1 Datasheet HTML 58Page - STMicroelectronics ST20-C1 Datasheet HTML 59Page - STMicroelectronics ST20-C1 Datasheet HTML 60Page - STMicroelectronics ST20-C1 Datasheet HTML 61Page - STMicroelectronics ST20-C1 Datasheet HTML 62Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 58 / 205 page
background image
5.4 Biquad IIR filter
58/205
®
5.3.3
Scaling
Scaling of the input data in the X vector is controlled by the mac_scale field of the
status register, as described in section 5.6.
5.3.4
Accumulator format mode
smacloop supports two data formats for the initial and final accum ulator value. If
mac_mode is 0 then Q15 (sign extended to 32 bits) is used, and the mode is said to
be
ShortMode.If mac_mode is 1 then Q31 is used, and the mode is said to be
LongMode.
5.4
Biquad IIR filter
The
biquad instruction performs a fixed sequence of 5 multiply-accumulates. Figure
5.1 shows an example using Q14 format. The parameters to the instruction are
pointers to three vectors of 16-bit values:
• an X input data vector,
• a Y results vector and
• a coefficient vector C. This vector must be word-aligned.
biquad calculates the next item in the Y vector according to the following formula, and
writes this to memory, incrementing the X and Y pointers by two bytes:
Y[2] =
X[0].C[0] + X[1].C[1] + X[2].C[2] + Y[0].C[3] + Y[1].C[4]
The X and Y vectors must be either both word-aligned or neither word-aligned.
The C pointer is left unchanged. This allows successive
biquad instructions to be
executed back-to-back to generate a set of filter outputs with no additional overhead.
biquad scales the X input data according to the mac_scale field of the status register,
as described in section 5.6. The mac_scale field ma y be set using
smacinit,as
described in section 5.3.
mac_buffer
Buffer size
(data items)
Buffer size
(bytes)
0
infinite
infinite
14
8
28
16
316
32
432
64
5
64
128
6
128
256
7
256
512
Table 5.4 mac_buffer coding



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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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