Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 574

Powerquicc family
Table of Contents

Advertisement

Communications Processor
This register is affected by HRESET and SRESET.
Bits
Name
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 (USB, SCCs, SMCs, SPI, I
as well as the CPM and RISC 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
8–11
CH_NUM Channel number. Defines the specific sub-block on which the command is to operate. Some
sub-blocks share channel number encodings if their commands are mutually exclusive.
0000 USB
0001 I
001x Reserved
0100 SCC2
0101 SPI/IDMA2/RISC timers
011x Reserved
1000 SCC3
1001 SMC1
101x Reserved
1100 SCC4
1101 SMC2
111x Reserved
12–14
Reserved., should be cleared.
15
FLG
Command semaphore flag. Set by the core and cleared by the CP.
0 CP is ready for a new command.
1 CP is currently processing a command—cleared when the command is done or after reset.
18.6.4
CP Commands
A given CP command opcode may have different meanings, or may not apply, depending on which
channel (sub-block) the command targets.
Opcode
SCC
0000
INIT RX AND TX
INIT RX AND TX
PARAMS
PARAMS
0001
INIT RX
INIT RX
PARAMS
PARAMS
0010
INIT TX
INIT TX
PARAMS
PARAMS
18-8
Table 18-6. CPCR Field Descriptions
2
C/IDMA1
Table 18-7. CP Command Opcodes
SMC
USB
(UART/Transparent)
INIT RX AND TX
PARAMS
INIT RX PARAMS
INIT TX PARAMS
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Table 18-6
describes CPCR fields.
Description
Table
18-8.
SMC
SPI
(GCI)
INIT RX
INIT RX AND TX
AND TX
PARAMS
PARAMS
INIT RX
PARAMS
INIT TX
PARAMS
2
C, and PIP)
2
I
C
IDMA
Timer
INIT RX AND TX
PARAMS
INIT RX
PARAMS
INIT TX
PARAMS
Freescale Semiconductor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents