36-32
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
Þlter example consumes 0.55 million clocks per second, which is only 2.2% of the CPM
loading of an MPC860 at 25 MHz.
The Þlter executes three subÞlters each time a new sample arrives, invoking the FIR2
function with a three-iteration count and auto-increment of the input sample pointer after
the last iteration. FIR2 writes the three subÞlter results into the output buffer, which then
feeds into the modulation. Modulation invokes the MOD function with a three-iteration
count. The MOD function automatically increments the sample pointer on each iteration.
Figure 36-37 shows a conceptual view of the Þlter implementation followed by example
code.
Figure 36-37. Core and CPM Implementation of Filter Example
/* Function Descriptors */
typedef struct dsp_fd {
unsigned short status;
unsigned short parameter[7];
} DSP_FD;
#define WRAP 0x2000 /* wrap bit */
#define INTR 0x1000 /* interrupt on completion */
/* define for function opcodes */
#define FIR_2 0x0102 /* FIR2 filter */
#define MOD 0x0008 /* Modulation function opcode */
/* Initialize a static fd chain of 2 functions */
Dual-Port RAM
System Memory
Tx Filter FD
Opcode = FIR2
# of Iterations
# of Taps
CoefÞcient Base
In Buffer Size
XYPTR
Out Buffer Size
Modulation FD
Opcode = MOD
# of Iterations
MOD Table Size
MPTR
In Buffer Size
XYPTR
Out Buffer Size
Input Pointer
Output Pointer
MOD Table Pointer
Input Pointer
Output Pointer
CoefÞcient
Table
Input
Buffer
Output
Buffer
MOD
Table
Output
Buffer
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......