English
Language : 

Z85233 Datasheet, PDF (34/317 Pages) Zilog, Inc. – The Zilog SCC Serial Communication Controller
SCC™/ESCC™ User’s Manual
Interfacing the SCC/ESCC
2.3.7 Z85X30 Reset
The Z85X30 has three software resets that are encoded
The Z85X30 may be reset by either a hardware or software
reset. Hardware reset occurs when /WR and /RD are both
Low at the same time, which is normally an illegal condi-
tion. As long as both /WR and /RD are Low, the Z85X30
recognizes the reset condition. However, once this condi-
tion is removed, the reset condition is asserted internally
for an additional four to five PCLK cycles. During this time
any attempt to access is ignored.
into the command bits in WR9. There are two channel re-
sets which only affect one channel in the device and
some bits of the write registers. The command forces the
same result as the hardware reset, the Z85X30 stretches
the reset signal an additional four to five PCLK cycles be-
yond the ordinary valid access recovery time. The bits in
WR9 may be written at the same time as the reset com-
mand because these bits are affected only by a hardware
reset. The reset values of the various registers are shown
2
in Table 2-7.
Table 2-7. Z85X30 Register Reset Value
Hardware RESET
76543210
WR0 0 0 0 0 0 0 0 0
WR1 0 0 X 0 0 X 0 0
WR2 X X X X X X X X
WR3 X X X X X X X 0
WR4 X X X X X 1 X X
WR5 0 X X 0 0 0 0 X
WR6 X X X X X X X X
WR7 X X X X X X X X
WR7'* 0 0 1 0 0 0 0 0
WR9 1 1 0 0 0 0 X X
WR10 0 0 0 0 0 0 0 0
WR11 0 0 0 0 1 0 0 0
WR12 X X X X X X X X
WR13 X X X X X X X X
WR14 X X 1 1 0 0 0 0
WR15 1 1 1 1 1 0 0 0
RR0 X 1 X X X 1 0 0
RR1 0 0 0 0 0 1 1 X
RR3 0 0 0 0 0 0 0 0
RR10 0 X 0 0 0 0 0 0
Notes:
*WR7' is only available on the 85C30 and the ESCC.
Channel RESET
76543210
00000000
00X00X00
XXXXXXXX
XXXXXXX0
XXXXX1XX
0XX0 0 0 0X
XXXXXXXX
XXXXXXXX
00100000
XX0XXXXX
0XX0 0 0 0 0
XXXXXXXX
XXXXXXXX
XXXXXXXX
XX1 0 0 0XX
11111000
X1XXX1 0 0
0000011X
00000000
0X000000
2.4 INTERFACE PROGRAMMING
The following subsections explain and illustrate all areas of
interface programming.
2.4.1 I/O Programming Introduction
The SCC can work with three basic forms of I/O opera-
tions: polling, interrupts, and block transfer. All three I/O
types involve register manipulation during initialization and
data transfer. However, the interrupt mode also incorpo-
rates Z-Bus interrupt protocol for a fast and efficient data
transfer.
Regardless of the version of the SCC, all communication
modes can use a choice of polling, interrupt and block
transfer. These modes are selected by the user to deter-
mine the proper hardware and software required to supply
data at the rate required.
Note to ESCC Users: Those familiar with the NMOS/CMOS
version will find the ESCC I/O operations very similar but
should note the following differences: the addition of soft-
ware acknowledge (which is available in the current version
of the CMOS SCC, but not in NMOS); the /DTR//REQ pin
can be programmed to be deasserted faster; and the pro-
grammability of the data interrupts to the FIFO fill level.
UM010901-0601
2-15