
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
Содержание 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: ......