Communication Processor Module
MOTOROLA
MPC823e REFERENCE MANUAL
16-11
RISC
COMMUNICATION
16
PROCESSOR MODULE
FLG—Command Semaphore Flag
The bit is set by the core and cleared by the communication processor module.
0 = The communication processor module is ready to receive a new command.
1 = The CPCR contains a command that the communication processor module is
currently processing. The communication processor module clears this bit when
the command finishes executing or after reset.
16.2.6.2 COMMAND DEFINITIONS.
The RISC microcontroller requires an opcode and a
channel number to determine the command to issue. These opcodes and their definitions
are described below. The opcodes and channel numbers that appear in Table 16-2 are
actually the commands to be issued in the CPCR.
Table 16-2. RISC Microcontroller Commands
OPCODE
CHANNEL NUMBER
SCC2
(0100) OR
SCC3
(1000)
USB
(0000)
SMC1
(1001) OR
SMC2
(1101)
(UART/
TRANS)
SMC1
(1001) OR
SMC2
(1101)
(GCI)
SPI
(0101)
I
2
C
(0001)
IDMA1
(0001)
IDMA2
(0101)
DSP1
RX
(1001)
DSP2
TX
(1101)
TIMER
(0101)
0000 INIT
RX AND TX
PARAMS
INIT
RX AND TX
PARAMS
INIT
RX AND TX
PARAMS
INIT
RX AND TX
PARAMS
INIT
RX AND TX
PARAMS
—————
0001 INIT RX
PARAMS
INIT RX
PARAMS
— INIT RX
PARAMS
INIT RX
PARAMS
—————
0010 INIT TX
PARAMS
INIT TX
PARAMS
— INIT TX
PARAMS
INIT TX
PARAMS
—————
0011 ENTER
HUNT
MODE
ENTER
HUNT
MODE
— — — —————
0100 STOP TX STOP TX
ENDPOINT
STOP TX — — — —————
0101 GRACEFUL
STOP TX
————INIT
IDMA
INIT
IDMA
———
0110 RESTART
TX
RESTART
TX
ENDPOINT
RESTART
TX
— — — —————
0111 CLOSE
RX BD
CLOSE
RX BD
— CLOSE
RX BD
CLOSE
RX BD
—————
1000 SET
GROUP
ADDRESS
—————————SET
TIMER
1001 — — — GCI
TIMEOUT
— — —————
1010 — GCI ABORT
REQUEST
— — —————
1011 ——————STOP
IDMA
STOP
IDMA
———
1100 ————————START
DSP
START
DSP
—
1101 ——————ARM
IDMA
ARM
IDMA
INIT
DSP
INIT
DSP
—
1110 ———————————
1111 — USB
Command
—————————
NOTE: — = Reserved.