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