Communications Processor (CP)
MOTOROLA
MC68302 USER’S MANUAL
4-25
Each SCON is a 16-bit, memory-mapped, read-write register. The SCONs are set to $0004
by reset, resulting in the baud rate generator output clock rate being set to the main clock
rate divided by 3. The baud rate generator output clock is always available externally, as
shown in Table 5-8.
NOTE
The BRG output are 180 degrees out of phase to the TCLK and
RCLK signals used by the SCC and output on the RCLK and
TCLK pins.
WOMS—Wired-OR
When WOMS is set, the TXD driver is programmed to function as an open-drain output
and may be externally wired together with other TXD pins in an appropriate bus configu-
ration. In this case, an external pullup resistor is required. When WOMS is cleared, the
TXD pin operates normally with an active internal pullup.
NOTE
This bit is valid only in NMSI mode.
EXTC—External Clock
The EXTC bit selects whether the baud rate generator input clock source is the internal
main clock (EXTC = 0) or external clock (EXTC = 1). If EXTC = 1, the external clock is
taken from the TIN1 pin. Note that the single TIN1 pin can be used to supply a clock for
all three baud rate generators.
TCS—Transmit Clock Source
The TCS bit selects either the baud rate generator output (TCS = 0) or the TCLK pin (TCS
= 1) for the transmitter clock. If TCS = 0, then the baud rate generator output is driven onto
the TCLK pin. This bit should be programmed to one if a multiplexed mode is chosen for
the SCC.
After system reset, SCC hardware causes TCLK to default to an input and stay an input
until a zero is written to TCS. For SCC2 and SCC3, TCLK can be derived directly from the
RCLK pin as shown in Table 3-6.
RCS—Receive Clock Source
The RCS bit selects either the baud rate generator output (RCS = 0) or the RCLK pin
(RCS = 1) for the receiver clock. If RCS = 0, then the baud rate generator output is driven
onto the RCLK pin. This bit should be programmed to one if a multiplexed mode is chosen
for the SCC.
After system reset, SCC hardware causes the RCLK to default to an input and stay an
input until a zero is written to RCS.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
WOMS EXTC
TCS
RCS
CD10
CD9
CD8
CD7
CD6
CD5
CD4
CD3
CD2
CD1
CD0
DIV4