
Decimation Filter
MPC5644A Microcontroller Reference Manual, Rev. 6
1226
Freescale Semiconductor
with
, we obtain the relationship between the calculated values of
coefficients and the values to be loaded in the DECFILTER_COEFn registers. See
below to
obtain the coefficients. A scale factor of eight is used, being the smallest divider factor to have all
coefficient values in the range (–1 £ Coef < +1). Also note that the signal of the An coefficients has signals
inverted.
26.8.2
Input data calculation
The 24-bit words of input data are samples of a sum of two tones: one tone of 30 kHz and another tone of
250 kHz. The samples were calculated at the rate of 800k samples per second. The tones have the same
amplitude and it is assured that the resultant amplitude is smaller than 1 so as to obtain samples in the range
(–1
sample < +1). It is supposed the input data are signed values in the two’s complement format in the
range (–1
sample < +1).
Table 26-32. Coefficient values given by SPW digital filter design tool
Coefficient
Decimal value
Coefficient
Decimal value
B0
0.0221455
A0
1.0
B1
0.00445582948893748
A1
-2.69772868375858
B2
0.0318517846509088
A2
3.234056294853
B3
0.00445582948893748
A3
-1.92028561712454
B4
0.0221455
A4
0.47939080709495
Table 26-33. Coefficient values for decimation filter
SCALE
S = 1
S = 8
COEFn
Decimal value
Decimal value
Hexadecimal values
(24 bits)
Coef0 = B0/S
0.0221455
0.00276815891266
0x005AB5
Coef1 = B1/S
0.00445582948893748
0.00055694580078
0x001240
Coef2 = B2/S
0.0318517846509088
0.00398147106171
0x008277
Coef3 = B3/S
0.00445582948893748
0.00055694580078
0x001240
Coef4 = B4/S
0.0221455
0.00276815891266
0x005AB5
Coef5 = –A1/S
2.69772868375858
0.33721613883972
0x2B29E6
Coef6 = –A2/S
–3.234056294853
–0.40425717830658
0xCC414E
Coef7 = –A3/S
1.92028561712454
0.24003565311432
0x1EB97D
Coef8 = –A4/S
–0.47939080709495
–0.05992400646210
0xF8546A
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...