19-6
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
19.5.2 CP Command Register (CPCR)
When the core issues a command it sets CPCR[FLG]. When the command completes, the
CP clears FLG to signal the core for the next command. The core must wait for FLG to be
cleared before issuing another CP command. The core can, however, issue the CP reset
command (CPCR = 0x8001) at any time, regardless of FLG.
Table 19-4 describes CPCR Þelds.
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Field
RST
Ñ
OPCODE
CH_NUM
Ñ
FLG
Reset
0
R/W
R/W
Addr
0x9C0
Figure 19-3. CP Command Register (CPCR)
Table 19-4. CPCR Field Descriptions
Bits
Name
Description
0
RST
CP reset command. Set by the core and cleared by the CP. Executing this command clears RST
and FLG within two general system clocks. The CPM reset routine takes approximately 60 clocks,
but CPM initialization can start immediately after this command is issued. Use RST to reset the
registers and parameters for all the channels (SCCs, SMCs, SPI, I
2
C, and PIP) as well as the CPM
and timer table. RST does not, however, affect the serial interface or parallel I/O registers.
0 No reset issued.
1 Reset issued.
1Ð3
Ñ
Reserved. Should be cleared.
4Ð7
OPCODE Operation code for the core-issued CP commands. See Table 19-5.
8Ð11
CH_NUM Channel number. DeÞnes the speciÞc sub-block on which the command is to operate. Some
sub-blocks share channel number encodings if their commands are mutually exclusive.
0000 SCC1
0001 I
2
C/IDMA1
001x Reserved
0100 SCC2
0101 SPI/IDMA2/RISC timers
011x Reserved
1000 SCC3
1001 SMC1 / DSP1 (Rx)
101x Reserved
1100 SCC4
1101 SMC2 / DSP2 (Tx)/PIP
111x Reserved
12Ð14
Reserved. Should be cleared.
15
FLG
Command semaphore ßag. Set by the core and cleared by the CP.
0 CP is ready to receive a new command.
1 CP is currently processing a commandÑcleared when the command is done or after reset.
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: ......