double buffering). The second character will be automatical-
ly transferred into the Shift Register when the first character
transmission is completed. This sequence continues until all
the characters have been transmitted.
RECEIVE
Data is received from aperipheral by means of the Receive
Data input. Adivide-by-one clock ratio is provided for an ex-
ternally synchronized clock (to its data) while the divide-
by-16 and Wratios are provided for internal synchronization.
Bit synchronization in the divide-by-16 and Wmodes is in-
itiated by the detection of 8or 32 low samples on the receive
line in the divide-by-16 and Wmodes respectively. False start
bh deletion capability insures that afull half bit of astart bit
has been received before the internal clock is synchronized
to the bit time. As acharacter is being received, parity (odd
or even) will be checked and the error indication will be
available in the Status Register along with framing error,
overrun error, and Receive Data Register full. In atypical
receiving sequence, the Status Register is read to determine
if acharacter has been received from aperipheral. If the
Receiver Data Register is full, the character is placed on the
8-bit ACIA bus when aRead Data command is received from
the MPU, When parity has been selected for a7-bit word (7
bits plus parity), the receiver strips the parity bit (D7= O) so
that data alone is transferred to the MPU. This feature
reduces MPU programming. The Status Register can con-
tinue to be read to determine when another character is
available in the Receive Data Register. The receiver is also
double buffered so that acharacter can be read from the
data register as another character is being received in the
shift register. The above sequence continues until .:%11
~l>i~$.s,
characters have been received. 4.,.\
.*, ,.!:3,}
‘~s*-.
ACIA INTERFACE SIGNALS FOR ~&,,@R%>
The ACIA interfaces to the M6~0 ~~U with an 8-bit
bidirectional data bus, three chip$@~Y*$fies, aregister select
line, an interrupt request linQw~~d#Write line, and enable
line. These signals permit tkf~~ ‘to have complete control
over the AC IA. .
“.t::\,i,\:\
,.:.
-$,:!*.,lP
,,!,,~,y-,..
ACIA Bidirectio~alfka&J?fi@ D7) –The bidirectional data
lines (DO-D7) all~?&$data transfer between the ACIA and
the MPU. Th%d+~~~ws output drivers are three-state devices
that remai~~~~~e ‘high-impedance (off) state except when
the MPU ~erfWms an ACIA read operation.
t,,.:.,.+:??~:.:k.:$
~QIA~~#able (E) –The Enable signal, E, is ahigh-
im~~~&ce TTL-compatible input that enables the bus in-
putF&utput data buffers and clocks data to and from the
ACIA. This signal will normally be a derivative of the MC6800
42 Clock or MC6809 Eclock.
Read/Write (R/~) –The Read/Write line is ahigh-
impedance input that is TTL compatible and is used to con-
trol the direction of data flow through the ACIA’S input/out-
put data bus interface. When Read/Write is high (MPU Read
cycle), ACIA output drivers are turned on and a selected
register is read. When it is low, the ACIA output drivers are
—
turned off and the MPU writes into aselected register.
Therefore, the Read/Write signal is used to select read-only
or write-only registers within the ACIA.
Chip Select (CSO, CS1, CS2) –These three high-
impedance TTL-compatible input lines are used to address
the ACIA. The ACIA is selected when CSO and CSI ar$:high
and ~is low. Transfers of data to and from the 4+@,@re
then performed under the control of the En@f~JY~nal,
Read/Write, and Register Select. :.~. ,*
.’~&i)\\“7$j{lp.$:j*,
~$,.,, .
~::*+\~i,,
Register Select (RS) –The Register ~~f~~$ne is ahigh-
impedance input that is TTL compatjbl,~~#’~~gh level is used
to select the Transmit/Receive D.~ta ;~$wkters and a low
level the Control/ Status Regis~~rs.b’)?~,@*Read/Write signal
line is used in conjunction wit~k,~gister Select to select the
read-only or write-only regi~%~~:i~~ach register pair.
.* ‘:...,.,
-~,,.~,:$l.
Interrupt Request (~~~,~:$ Interrupt Request is aTTL-
compatible, open-dr#$;J$*b”’internal pullup), @ve low out-
put that is used},$~ int~+rupt the MPU. The IRQ output re-
mains low as lo~~~m.tie cause of the interrupt is present and
the approp~~~~d$~’krrupt enable within the ACIA is set. The
~Q staty#$&l@t@hen high, indicates the ~output is in the
active s%.~.
l~$~rrup~ result from conditions in both the transmitter
f~~, ‘~eiver sections of the ACIA. The transmitter section
$$au~ an interrupt when the~ansmitter Interrupt Enabled
,,,,.~:$~~emdition is selected (CR5*CR6), and the Transmit Data
‘S~~%egister Empty (TDRE) status bit is high. The TDRE status
,,, ‘s” bit indicates the current status of the Transmitter Data
i.. Register except when inhibited by Clear-to-Send (~) be-
ing high or the ACIA being maintained in the Reset condi-
tion. The interrupt is cleared by writing data into the
Transmit Data Register. The interrupt is masked by disabling
the Transmitter Interrupt via CR5 or CR6 or by the loss of
~which inhibits the TDRE status bit. The Receiver sec-
tion causes an interrupt when the Receiver Interrupt Enable
is set and the Receive Data Register Full (R DRF) status bit is
high, an Overrun has occurred, or Data Carrier Detect (~)
has gone high. An interrupt resulting from the RDRF status
bit can be cleared by reading data or resetting the ACIA, in-
terrupts caused by Overrun or loss of ~are cleared by
reading the status register after the error condition has oc-
curred and then reading the Receive Data Register or reset-
ting the ACIA. The receiver interrupt is masked by resetting
the Receiver Interrupt Enable.
CLOCK INPUTS
Separate high-impedance TTL-compatible inputs are pro-
vided for clocking of transmitted and received data. Clock
frequencies of 1, 16, or Mtimes the data rate may be
selected.
Transmit Clock (Tx CLK) –The Transmit Clock input is
used for the clocking of transmitted data. The transmitter in-
itiates data on the negative transition of the clock.
Receive Clock (Rx CLK) –The Receive Clock input is
used for synchronization of received data. (In the +1mode,
the clock and data must be synchronized externally. )The
receiver samples the data on the positive transition of the
clock.
@MOTOROLA Semiconductor Products Inc.
6