
Communications Processor (CP)
4-2
MC68302 USER’S MANUAL
MOTOROLA
buffer descriptors of the serial channels. Also, a number of protocol-specific parameters are
exchanged through several parameter RAM areas in the internal dual-port RAM.
The RISC controller uses the peripheral bus to communicate with all its peripherals. Each
SCC has a separate transmit and receive FIFO. Depending on the protocol chosen, the
transmit FIFO is either 3 bytes or 4 words, and the receive FIFO is either 3 bytes or 3 words.
Each SCC is configured by parameters written to the dual-port RAM and by SCC hardware
registers that are written by the M68000 core (or an external master). The SCC registers that
configure each SCC are the SCON, DSR, and SCM. There are three sets of these registers,
one for each SCC. The serial channels physical interface is configured by the M68000 core
through the SIMODE and SIMASK registers.
Figure 4-1. Simplified CP Architecture
Simultaneous access of the dual-port RAM by the main controller and the M68000 core (or
external processor) is prevented. During a standard four-clock cycle access of the dual-port
RAM by the M68000 core, three main controller accesses are permitted. The main controller
is delayed one clock cycle, at most, in accessing the dual-port RAM.
The main controller has a priority scheduler that determines which microcode routine is
called when more than one internal request is pending. Requests are serviced in the follow-
ing priority:
1. CP or System Reset
2. SDMA Bus Error
PB8 REQUEST
M68000 DATA BUS
6 SDMA
CHANNELS
CR
RISC
CONTROLLER
CR REQUEST
MICROCODE
ROM
SYSTEM
RAM
PARAMETER
RAM
DUAL-PORT RAM
PERIPHERAL BUS
OTHER
SERIAL
CHANNELS
SCC
H/W
REGISTERS
FIFO FIFO
SCC1
SCC2
FIFO FIFO
SCC3
FIFO FIFO
SERIAL CHANNELS PHYSICAL INTERFACE
SERIAL SERVICE
REQUESTS
PHYSICAL
I/F
REGISTERS