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
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......