MOTOROLA
Chapter 36. Digital Signal Processing
36-31
Part V. The Communications Processor Module
sampli=&txfiltdly[IMAG][txfiltptr];
sampleindex=0;
while (coefr<coefend) {
filtoutr=filtouti=0;
subcount=0;
while (subcount<TXSUBFILTLEN) {
f=mult(*coefr, *samplr--);
f=mult(*coefr++, *sampli--);
}
samplr=&txfiltdly[REAL][txfiltptr];
sampli=&txfiltdly[IMAG][txfiltptr];
modbuff[REAL][sampleindex]= filtoutr ;
modbuff[IMAG][samp+]= filtouti;
}
}
void modulator ()
{
U8 i;
S32 termrnd;
extern S16 mult(S16 p1, S16 p2); /* in-line invocation */
i=0;
while (i<SAMPLE_PER_T) {
sigout[i]= mult(sn1800[REAL][cosindx], modbuf[REAL][i]) -
mult(sn1800[IMAG][cosindx], modbuf[IMAG][i]);
+;
if (cosindx==SIN1800TBL_LEN)cosindx=0;
i++;
}
void main ()
{
*
*
tx_filter();
modulator();
*
*
}
36.18.2 Tx Filter Example (Core and CPM)
Implementing the Þlter using the CPM functions, the user software builds a static FD chain
of two functionsÑan FIR and a MOD. The core activates the CPM to execute the chain
with a single write to the CP command registerÑ
START
DSP
. The CPM then signals
completion using an interrupt.
The performance load on the core from executing the Þlter software is negligible. The
performance load on the CPM is based on the functions called, the number of clocks
required to perform those functions and the transmission symbol rate. Using the CPM, this
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: ......