
QSM
REFERENCE MANUAL
SIGNAL DESCRIPTIONS
MOTOROLA
2-1
SECTION 2
SIGNAL DESCRIPTIONS
The QSM has nine external pins, as shown in
Figure 1-1
. Eight of the pins, if not in
use for their submodule function, can be used as general-purpose I/O port pins. The
ninth pin, RXD, is an input-only pin used exclusively by the SCI submodule.
The QSM pin control registers — DDRQS, QSM pin assignment register (PQSPAR,
and QSM port data register (PORTQS) — affect pins being used as general-purpose
I/O pins. The QSPI control register 0 (SPCR0) has one bit that affects seven pins em-
ployed as general-purpose output pins. Within this register the wired-OR mode
(WOMQ) control bit determines whether MISO, MOSI, SCK, and PCS[3:0] function as
open-drain output pins or as normal output pins, regardless of their use as general-
purpose I/O pins or as QSPI output pins. Likewise, the SCI control register 1 (SCCR1)
has one bit that affects the TXD pin when it is employed as a general-purpose output.
In this register the wired-OR mode (WOMS) control bit determines whether TXD func-
tions as an open-drain output pin or a normal output pin, regardless of this pin's use
as a general-purpose output pin or as an SCI output pin. Refer to
3.3 QSM Pin Control
Registers
for more information on these registers.
2.1 SCI Pins
There are two pins associated with the SCI, the RXD and TXD pins. The SCI pins and
their functions are listed in
Table 2-1
.
2.1.1 RXD — Receive Data
This dedicated input signal furnishes serial data input to the SCI. The RXD pin cannot
be used for general-purpose I/O.
2.1.2 TXD — Transmit Data
This signal is the serial data output from the SCI. TXD is available as a general-pur-
pose I/O pin when the SCI transmitter is disabled. When used as general-purpose I/
O, TXD may be configured either as input or output as determined by the TXD bit in
the QSM register DDRQS. The state of the TXD bit is ignored while the SCI is enabled.
The TXD pin is enabled for SCI use by the transmitter enable bit (TE) in the SCI Con-
trol Register 1 (SCCR1). Refer to
5.2.2 SCI Control Register 1 (SCCR1)
for more in-
formation.
Table 2-1 External Pin Inputs/Outputs to the SC
Pin Names
Receive Data
Mnemonics
RXD
Mode
Function
Receiver Disabled
Receiver Enabled
Transmitter Disabled
Transmitter Enabled
Not Used
Serial Data Input to SCI
General-Purpose I/O
Serial Data Output from SCI
Transmit Data
TXD
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.