Z85C30 SCC, Z80 CTC, Two 8-Bit General-Purpose
Parallel Ports, and Two Chip Select Signals.
■High Speed Operation (10 MHz)
■Low Power Consumption in Two Operating Modes:
- (TBD) mA Typ. (Run Mode)
- (TBD) mA Typ. (STOP Mode)
■Wide Operational Voltage Range (5V ±10%)
■TTL/CMOS Compatible
■Clock Generator
■One Channel of Z85C30 Serial Communication
Controller (SCC)
GENERAL DESCRIPTION
The Z80181 SAC™ Smart Access Controller (hereinafter,
referred to as Z181 SAC) is a sophisticated 8-bit CMOS
microprocessor that combines a Z180-compatible MPU
(Z181 MPU), one channel of Z85C30 Serial Communication Controller (SCC), a Z80 CTC, two 8-bit general-purpose parallel ports, and two chip select signals, into a
single 100-pin Quad Flat Pack (QFP) package (Figures 1
and 2). Created using Zilog's patented Superintegration
methodology of combining proprietary IC cores and cells,
this high-end intelligent peripheral controller is well-suited
for a broad range of intelligent communication control
applications such as terminals, printers, modems, and
slave communication processors for 8-, 16- and 32- bit
MPU based systems.
■Z180 Compatible MPU Core Includes:
- Enhanced Z80 CPU Core
- Memory Management Unit (MMU) Enables Access
to 1MB of Memory
- Two Asynchronous Channels
- Two DMA Channels
- Two 16-Bit Timers
- Clocked Serial I/O Port
■On-Board Z84C30 CTC
■Two 8-Bit General-Purpose Parallel Ports
■Memory Configurable RAM and ROM Chip Select Pins
■100-Pin QFP Package
Information on enhancement/cost reductions of existing
hardware using Z80/Z180 with Z8530/Z85C30 applications is also included in this product specification.
Notes:
All Signals with a preceding front slash, "/", are active Low, e.g.,
B//W (WORD is active Low); /B/W (BYTE is active Low, only).
™
Power connections follow conventional descriptions below:
A19 - A04-17, 19-21,I/O, Active 1Address Bus. A19 - A0 form a 20-bit address bus which
64, 65, 91specifies I/O and memory addresses to be accessed.
During the refresh period, addresses for refreshing are
output. The address bus enters a high-impedance state
during Reset and external bus acknowledge cycles. The
bus is an input when the external bus master is accessing
the on-chip peripherals. Address line A18 is multiplexed
Z80181
with the output of PRT Channel 1 (T
output on Reset).
D0-D722-29I/O, Active 18-Bit Bidirectional Data Bus. When the on-chip CPU is
accessing on-chip peripherals, these lines are outputs
and hold the data to/from the on-chip peripherals.
/RD89I/O, Active 0Read Signal. CPU read signal for accepting data from
memory or I/O devices. When an external master is accessing the on-chip peripherals, it is an input signal.
/WR88I/O, Active 0Write Signal. This signal is active when data to be stored
in a specified memory or peripheral device is on the MPU
data bus. When an external master is accessing the onchip peripherals, it is an input signal.
, selected as address
OUT
™
/MREQ85I/O, tri-state, Active 0Memory Request Signal. When an effective address for
memory access is on the address bus, /MREQ is active.
This signal is analogous to the /ME signal of the Z64180.
/IORQ84I/O, tri-state, Active 0I/O Request Signal. When addresses for I/O are on the
lower 8 bits (A7-A0) of the address bus in the I/O operation,
“0” is output. In addition, the /IORQ signal is output with the
/M1 signal during the interrupt acknowledge cycle to
inform peripheral devices that the interrupt response vector is on the data bus. This signal is analogous to the /IOE
signal of the Z64180.
/M187I/O, tri-state, Active 0Machine Cycle “1”. /MREQ and /M1 are active together
during the operation code fetch cycle. /M1 is output for
every opcode fetch when a two byte opcode is executed.
In the maskable interrupt acknowledge cycle, this signal is
output together with /IORQ. It is also used with
/HALT and ST signal to decode the status of the CPU
Machine cycle. This signal is analogous to the /LIR signal
of the Z64180.
/RFSH83Out, tri-state, Active 0The Refresh Signal. When the dynamic memory
refresh address is on the low order 8-bits of the address
bus (A7 - A0), /RFSH is active along with the /MREQ signal.
This signal is analogous to the /REF signal of the Z64180.
2-4
DS971800500
Page 5
Zilog
SMART ACCESS CONTROLLER SAC
Pin NamePin NumberInput/Output, Tri-StateFunction
/INT0100Wired-OR I/O, Active 0Maskable Interrupt Request 0. Interrupt is generated by
peripheral devices. This signal is accepted if the interrupt
enable Flip-Flop (IFF) is set to “1”. Internally, the SCC and
CTC’s interrupt signals are connected to this line, and
require an external pull-up resistor.
/INT1,1, 2,In, Active 0Maskable Interrupt Request 1 and 2. This signal is
/INT2generated by external peripheral devices. The CPU hon-
ors these requests at the end of current instruction cycle as
long as the /NMI, /BUSREQ and /INT0 signals are inactive.
The CPU will acknowledge these interrupt requests with an
interrupt acknowledge cycle. Unlike the acknowledgment
for /INT0, during this cycle, neither /M1 or /IORQ will
become active.
/NMI99In, Active 0Non-Maskable Interrupt Request Signal. This interrupt
request has a higher priority than the maskable interrupt
request and does not rely upon the state of the interrupt
enable Flip-Flop (IFF).
/HALT81Out, tri-state, Active 0Halt Signal. This signal is asserted after the CPU has
executed either the HALT or SLP instruction, and is waiting
for either non-maskable interrupt maskable interrupt before operation can resume. It is also used with the /M1 and
ST signals to decode the status of the CPU machine cycle.
Z80181
™
/BUSREQ97In, Active 0BUS Request Signal. This signal is used by external
devices (such as a DMA controller) to request access to
the system bus. This request has higher priority than /NMI
and is always recognized at the end of the current machine
cycle. This signal will stop the CPU from executing further
instructions and place the address bus, data bus, /MREQ,
/IORQ, /RD and /WR signals into the high impedance state.
/BUSREQ is normally wired-OR and a pull-up resistor is
externally connected.
/BUSACK96Out, Active 0Bus Acknowledge Signal. In response to /BUSREQ sig-
nal, /BUSACK informs a peripheral device that the address
bus, data bus, /MREQ, /IORQ, /RD and /WR signals have
been placed in the high impedance state.
/WAIT95Wired-OR I/O, Active 0Wait Signal. /WAIT informs the CPU that the specified
memory or peripheral is not ready for a data transfer. As
long as /WAIT signal is active, the MPU is continuously kept
in the wait state. Internally, the /WAIT signal from the SCC
interface logic is connected to this line, and requires an
external pull-up resistor.
DS971800500
2-5
Page 6
Zilog
SMART ACCESS CONTROLLER SAC
PERIPHERAL SIGNALS
Pin NamePin NumberInput/Output, Tri-StateFunction
RXA0, RXA170, 74In, Active 1ASCI Receive Data 0 and 1. These signals are the receive
data to the ASCI channels.
TXA0, TXA169, 72Out, Active 1ASCI Transmit Data 0 and 1. These signals are the
receive data to the ASCI channels. Transmit data changes
are with respect to the falling edge of the transmit clock.
/RTS066Out, Active 0Request to Send 0. This is a programmable modem
control signal for ASCI channel 0.
/DCD068In, Active 0Data Carrier Detect 0. This is a programmable modem
control signal for ASCI channel 0.
/CTS067In, Active 0Clear To Send 0. This is a programmable modem control
signal for ASCI channel 0.
/CTS1/RXS77In, Active 0Clear To Send 0/Clocked Serial Receive Data. This is a
programmable modem control signal for ASCI channel 0.
Also, this signal becomes receive data for the CSIO
channel under program control. On power-on Reset, this
pin is set as RxS.
Z80181
™
CKA0//DREQ071I/O, Active 1Asynchronous Clock0/DMAC0 Request. This pin is the
transmit and receive clock for the Asynchronous channel
0. Also, under program control, this pin is used to request
a DMA transfer from DMA channel 0. DMA0 monitors this
input to determine when an external device is ready for a
read or write operation. On power-on Reset, this pin is
initialized as CKA0.
CKA1//TEND075I/O, Active 1Asynchronous Clock1/DMAC0 Transfer End. This pin is
the transmit and receive clock for the Asynchronous channel 1. Also, under program control, this pin becomes
/TEND0 and is asserted during the last write cycle of the
DMA0 operation and is used to indicate the end of the
block transfer. On power-on Reset, this pin initializes
as CKA1.
/TEND180Out, Active 0DMAC1 Transfer End. This pin is asserted during the last
write cycle of the DMA1 operation and is used to indicate
the end of the block transfer.
CKS78I/O, Active 1CSIO Clock. This line is the clock for the CSIO channel.
TXS76Out, Active 1CSI/O Tx Data. This line carries the transmit data from the
CSIO channel.
/DREQ179In, Active 0DMAC1 Request. This pin is used to request a DMA
transfer from DMA channel 1. DMA1 monitors this input to
determine when an external device is ready for a read or
write operation.
2-6
DS971800500
Page 7
Zilog
SMART ACCESS CONTROLLER SAC
SCC SIGNALS
Pin NamePin NumberInput/Output, Tri-StateFunction
/W//REQ51Active 0Wait/Request. Open-drain when programmed for a Wait
function, driven “1” or “0” when programming for a Request function. Used as /WAIT or /REQUEST depending
upon SCC programming. When programmed as /WAIT,
this signal is asserted to alert the CPU that addressed
memory or I/O devices are not ready and that the CPU
should wait. When programmed as /REQUEST, this signal
is asserted when a peripheral device associated with a
DMA port is ready to read/write data. After reset, this pin
becomes “/WAIT”.
/SYNC50I/O, Active 0Synchronization. This pin can act either as input, output,
or part of the crystal oscillator circuit. In asynchronous
receive mode (crystal oscillator option not selected), this
pin is an input similar to /CTS and /DCD. In this mode,
transitions on this line affect the state of the Sync/Hunt
status bit in Read Register 0 but has no other function.
In external sync mode with crystal oscillator option not
selected, this line also acts as an input. In this mode,
/SYNC must be driven “0” two receive clock cycles after
the last bit in the synchronous character is received.
Character assembly begins on the rising edge of the
receive clock immediately preceding the activation
of /SYNC.
Z80181
™
In internal sync mode (Monosync and Bisync) with the
crystal oscillator option not selected, this line acts as
output and is active only during the part of the receive clock
cycle in which a synchronous character is recognized
(regardless of character boundaries). In SDLC mode, this
pin acts as an output and is valid on receipt of a flag.
RxD52In, Active 1Receive Data. This input signal receives serial data at
standard TTL levels.
/RTxC49In, Active 0Receive/Transmit Clock. This pin can be programmed in
several different modes of operation. /RTxC may supply
the receive clock, the transmit clock, the clock for the Baud
Rate Generator, or the clock for the Digital Phase-Locked
Loop. This pin can also be programmed for use with the
/SYNC pin as a crystal oscillator. The receive clocks can be
1, 16, 32, or 64 times the data transfer rate in Asynchronous
mode.
/TRxC53I/O, Active 0Transmit/Receive Clock. This pin can be programmed in
several different modes of operation. /TRxC can supply the
receive clock or the transmit clock in the input mode. Also,
it can supply the output of the Digital Phase-Locked Loop,
the crystal oscillator, the Baud Rate Generator, or the
transmit clock in the output mode.
DS971800500
2-7
Page 8
Zilog
SMART ACCESS CONTROLLER SAC
SCC SIGNALS (Continued)
Pin NamePin NumberInput/Output, Tri-StateFunction
TxD54Out, Active 1Transmit Data. This Output signal transmits serial data at
standard TTL level.
/DTR//REQ55Out, Active 0Data Terminal Ready/Request. This output follows the
state programmed into the DTR bit. It can also be used as
general-purpose output or as Request line for a DMA
controller.
/RTS56Out, Active 0Request To Send. When the RTS bit in Write Register 5 is
set, the /RTS signal goes low. When the RTS bit is reset in
Asynchronous mode and auto enable is on, the signal
goes high after the transmitter is empty. In synchronous
mode or in Asynchronous mode, with Auto Enable off, the
/RTS pin follows the state of the RTS bit. This pin can be
used as a general-purpose output.
/CTS57In, Active 0Clear To Send. If this pin is programmed as auto enable,
a “0” on the input enables the transmitter. If not programmed as Auto Enable, it may be used as a generalpurpose input. This input is Schmitt-trigger buffered to
accommodate inputs with slow rise times. The SCC detects pulses on this input and can interrupt the CPU on both
logic level transitions.
Z80181
™
/DCD58In, Active 0Data Carrier Detect. This pin functions as receiver enable
if it is programmed for auto enable. Otherwise, it may be
used as a general-purpose input. This input is Schmitttrigger buffered to accommodate slow rise-time inputs.
The SCC detects pulses on this input and can interrupt the
CPU on both logic level transitions.
2-8
DS971800500
Page 9
Zilog
SMART ACCESS CONTROLLER SAC
PIA/CTC SIGNALS
Pin NamePin NumberInput/Output, Tri-StateFunction
PIA17-PIA14 35-38I/OPort 1 Data 7-Port 1 Data 4 or CTC ZC/TO3 - ZC/TO0.
These lines can be configured as inputs or outputs on a bit
-by-bit basis. Also, under program control, these bits
become Z80 CTC’s ZC/TO3 - ZC/TO0, and in either timer
or counter mode, pulses are output when the down counter
has reached zero. On reset, these signals function as
PIA17-14 and are inputs.
PIA13-PIA10 31-34I/OPort 1 Data 3-Port 1 Data 0 or CTC CLK/TRG3-0. These
lines can be configured as inputs or outputs on a bit by bit
basis. Also, under program control, these bits become Z80
CTC’s CLK/TRG3-CLK/TRG0, and correspond to four
Counter/Timer Channels. In the counter mode, each active
edge causes the downcounter to decrement by one. In
timer mode, an active edge starts the timer. It is program
selectable whether the active edge is rising or falling. On
reset, these signals are set to PIA13-10 as inputs.
PIA27-2041-48I/OPort 2 Data. These lines are configured as inputs or
outputs on a bit-by-bit basis. On reset, they are inputs.
Z80181
™
DS971800500
2-9
Page 10
Zilog
SMART ACCESS CONTROLLER SAC
SYSTEM CONTROL SIGNALS
Pin NamePin NumberInput/Output, Tri-StateFunction
ST3Out, Active 1Status. This signal is used with the /M1 and /HALT output
to decode the status of the CPU machine cycle. Note that
the /M1 output is affected by the status of the M1E bit in the
OMCR register. The following table shows
the status while M1E=1.
ST/HALT/M1Operation
010CPU Operation
(1st Opcode fetch)
110CPU Operation
(2nd and 3rd Opcode fetch)
111CPU Operation
(MC other than Opcode fetch)
0X1DMA operation
000HALT mode
101SLEEP mode
(Incl. System STOP mode)
Z80181
™
2-10
DS971800500
Page 11
Zilog
SMART ACCESS CONTROLLER SAC
Pin NamePin NumberInput/Output, Tri-StateFunction
IEI62In, Active 1Interrupt enable input signal. IEI is used with the IEO to
form a priority daisy chain when there is more than one
interrupt-driven peripheral.
IEO60Out, Active 1The interrupt enable output signal. In the daisy-chain
interrupt control, IEO controls the interrupt of external
peripherals. IEO is active when IEI is “1” and the CPU is not
servicing an interrupt from the on-chip peripherals.
/ROMCS61Out, Active 0ROM Chip select. Used to access ROM. Refer to “Func-
tional Description” on chip select signals for further explanation.
/RAMCS30Out, Active 0RAM Chip Select. Used to access RAM. Refer to “Func-
tional Description” on chip select signals for further explanation.
/RESET98In, Active 0Reset signal. /RESET signal is used for initializing the MPU
and other devices in the system. It must be kept in the
active state for a period of at least 3 system clock cycles.
Z80181
™
EXTAL94In, Active 1Crystal oscillator connecting terminal. A parallel reso-
nant crystal is recommended. If an external clock source
is used as the input to the Z180 Clock Oscillator unit,
supply the clock into this terminal.
XTAL93OutCrystal oscillator connecting terminal.
PHI90Out, Active 1System Clock. Single-phase clock output from Z181
MPU.
E86Out, Active 1Enable Clock. Synchronous Machine cycle clock output
Functionally, the on-chip Z181 MPU, SCC, and CTC are
the same as the discrete devices (Figure 1). Therefore,
refer to the Product Specification/Technical Manual of
/RD
/RESET
/WR
A18 /TOUT
TxS
RxS//CTS
CKS
XTAL
Ø
Timing
Generator
Programmable
Reload Timers
EXTAL
16-Bit
(2)
Clocked
Serial I/O
Port
each discrete product for a detailed description of each
individual unit. The following subsections describe each
individual functional unit of the SAC.
/M1
/IORQ
/MREQ
/WAIT
/HALT
/BUSREQ
/BUSACK
/RFSH
ST
/NMI
E
/INT0
/INT1
/INT2
Bus State ControlInterrupt
CPU
/DREQ1
DMACs
/TEND
(2)
TxA0
CKA0 /DREQ0
Asynchronous
SCI
(Channel 0)
RxA0
/RTS0
/CTS0
/DCD0
Address Bus (16-Bit)
Data Bus (8-Bit)
MMU
A19-A0D7-D0
Figure 3. Z181 MPU Block Diagram
Asynchronous
SCI
(Channel 1)
TxA1
CKA1 /TEND0
RxA1
2-12
DS971800500
Page 13
Zilog
Z181 MPU
SMART ACCESS CONTROLLER SAC
Z80181
™
This unit provides all the capabilities and pins of the Zilog
Z180 MPU. Figure 3 shows the Z181 MPU block diagram.
This allows 100% software compatibility with existing Z180
(and Z80) software. Note that the on-chip I/O address
should not be relocated to the I/O address (from 0C0h to
0FFh) to avoid address conflicts. The following is an
overview of the major functional units of the Z181.
Z181 CPU
The Z181 CPU has 100% software compatibility with the
Z80 CPU. In addition, the Z181 CPU has the following
features:
Faster execution speed. The Z181 CPU is “fine tuned”
making execution speed, on average, 10% to 20% faster
than the Z80 CPU.
Enhanced DRAM Refresh Circuit. Z181 CPU’s DRAM
refresh circuit does periodic refresh and generates an
8-bit refresh address. It can be disabled or the refresh
period adjusted, through software control.
Enhanced Instruction Set. The Z181 CPU has seven
additional instructions to those of the Z80 CPU which
include the MLT (Multiply) instruction.
HALT and Low Power Modes of Operation. The Z181
CPU has HALT and low power modes of operation, which
are ideal for the applications requiring low power consumption like battery operated portable terminals.
System Stop Mode. When the Z181 SAC is in SYSTEM
STOP mode, it is only the Z181 MPU which is in STOP
mode. The on-chip CTC and SCC continue their normal
operation.
Instruction Set. The instruction set of the Z181 CPU is
identical to the Z180. For more details about each transaction, please refer to the Data Sheet/Technical Manual for
the Z180/Z80 CPU.
■Maskable interrupt request operation
■Trap and Non-Maskable interrupt request operation
■HALT and low power modes of operation
■Reset Operation
Memory Management Unit (MMU)
The Memory Management Unit (MMU) allows the user to
“map” the memory used by the CPU (64K bytes of logical
addressing space) into 1M bytes of physical addressing
space. The organization of the MMU allows object code
compatibility with the Z80 CPU while offering access to an
extended memory space. This is accomplished by using
an effective “common area-banked area” scheme.
DMA Controller
The Z181 MPU has two DMA controllers. Each DMA
controller provides high-speed data transfers between
memory and I/O devices. Transfer operations supported
are memory to memory, memory to/from I/O, and I/O to
I/O. Transfer modes supported are request, burst, and
cycle steal. The DMA can access the full 1M bytes addressing range with a block length up to 64K bytes and can
cross over 64K boundaries.
Asynchronous Serial Communication Interface
(ASCI)
This unit provides two individual full-duplex UARTs. Each
channel includes a programmable baud rate generator
and modem control signals. The ASCI channels also
support a multiprocessor communication format.
Programmable Reload Timer (PRT)
The Z181 MPU has two separate Programmable Reload
Timers, each containing a 16-bit counter (timer) and count
reload register. The time base for the counters is system
clock divided by 20. PRT channel 1 provides an optional
output to allow for waveform generation.
Z181 CPU Basic Operation
Z181 CPU’s basic operation consists of the following
events. These are identical to the Z180 MPU. For more
details about each operation, please refer to the Data
Sheet/Technical manual for the Z180.
■Operation code fetch cycle
■Memory Read/Write operation
■Input/Output operation
■Bus request/acknowledge operation
DS971800500
Clocked Serial I/O (CSI/O)
The CSI/O channel provides a half-duplex serial transmitter and receiver. This channel can be used for simple highspeed data connection to another CPU or MPU.
Programmable Wait State Generator
To ease interfacing with slow memory and I/O devices, the
Z181 MPU unit has a programmable wait state generator.
By programming the DMA/WAIT Control Register (DCNTL),
up to three wait states are automatically inserted in memory and I/O cycles. This unit also inserts wait states during
on-chip DMA transactions.
2-13
Page 14
Zilog
FUNCTIONAL DESCRIPTION (Continued)
Baud Rate
Generator
Internal
Control
Logic
Channel
Registers
Internal BUS
10 X 19
Frame
Status
FIFO
Channel
Discrete
Control
& Status
SMART ACCESS CONTROLLER SAC
Z80181
} Serial Data
} Channel Clocks
/SYNC
/Wait
Modem, DMA,
or Other
Controls
™
Interrupt
Control
Lines
Interrupt
Control
Logic
Figure 4. SCC Block Diagram
Z85C30 Serial Communication Controller
Logic Unit
This logic unit provides the user with a multi-protocol serial
I/O channel that is completely compatible with the two
channel Z85C30 SCC with the following exceptions:
Their basic functions as serial-to-parallel and parallel-toserial converters can be programmed by the CPU for a
broad range of serial communications applications. This
logic unit is capable of supporting all common asynchronous and synchronous protocols (Monosync, Bisync, and
SDLC/HDLC, byte or bit oriented - Figure 4).
On the discrete version of the SCC (dual channel version),
there are two registers shared between channels A and B,
and two registers whose functions are different by channel. These are: WR2, WR9 (shared registers), and RR2 and
RR3 (different functionality).
Following are the differences in functionality:
■RR2 - Returns Unmodified Vector or modified vector
depends on the status of “VIS” (Vector Include Status)
bit in WR9.
■RR3 - Returns IP status (Ch.A side).
■WR9 - Ch.B Software Reset command has no effect.
The PCLK for the SCC is connected to PHI (System clock),
the /INT signal is connected to /INT0 signal internally
(requires external pull-up resistor) and SCC is reset when
/RESET input becomes active. Interrupt from the SCC is
handled through Mode 2 interrupt. During the interrupt
acknowledge cycle, the on-chip SCC interface circuit
inserts two wait states automatically.
Z84C30 Counter/Timer Logic Unit
This logic unit provides the user with four individual 8-bit
Counter/Timer Channels that are compatible with the
Z84C30 CTC (Figure 5). The Counter/Timers are programmed by the CPU for a broad range of counting and
timing applications. Typical applications include event
counting, interrupt and interval counting, and serial baud
rate clock generation.
2-14
DS971800500
Page 15
Zilog
SMART ACCESS CONTROLLER SAC
Z80181
™
Each of the Counter/Timer Channels, designated Channels 0-3, have an 8-bit prescaler (when used in timer
mode) and its own 8-bit counter to provide a wide range of
count resolution. Each of the channels have their own
Clock/Trigger input to quantify the counting process and
an output to indicate zero crossing/timeout conditions.
Data
Control
CPU
BUS
I/O
Internal Bus
These signals are multiplexed with the Parallel Interface
Adapter 1 (PIA1). With only one interrupt vector programmed into the logic unit, each channel can generate a
unique interrupt vector in response to the interrupt acknowledge cycle.
Internal
Control
Logic
4
4
/INT
IEI
IEO
ZC/TO
CLK/TRG
Mutiplexed
with PIA1
Interrupt
Logic
Counter/
Timer
Logic
/RESET
Figure 5. CTC Block Diagram
Parallel Interface Adapter (PIA)
The SAC has two 8-bit Parallel Interface Adapter (PIA)
Ports. The ports are referred to as PIA1 and PIA2. Each port
has two associated control registers; a Data Register and
a register to determine each bit’s direction (input or output). PIA1 is multiplexed with the CTC I/O pins. When the
CTC I/O feature is selected, the CTC I/O functions override
the PIA1 feature. Mode Selection is made through the
System Configuration Register (Address: EDh; Bit D0).
PIA1 has Schmitt-triggered inputs to have a better noise
margin. These ports are inputs after reset.
Clock Generator
The SAC uses the Z181 MPU’s on-chip clock generator to
supply system clock. The required clock is easily generated by connecting a crystal to the external terminals
(XTAL, EXTAL). The clock output runs at half the crystal
frequency. The system clock inputs of the SCC and the
CTC are internally connected to the PHI output of the Z181
MPU.
C1
XTAL
Crystal
Inputs
C2
EXTAL
Figure 6. Circuit Configuration For Crystal
DS971800500
2-15
Page 16
Zilog
FUNCTIONAL DESCRIPTION (Continued)
SMART ACCESS CONTROLLER SAC
Z80181
™
Recommended characteristics of the crystal and the values for the capacitor are as follows (the values will change
with crystal frequency).
Type of crystal: Fundamental, parallel type crystal
(AT cut is recommended).
Frequency tolerance: Application dependent.
CL, Load capacitance: Approximately 22 pF
(acceptable range is 20-30 pF)
The SAC has two chip select (/RAMCS, /ROMCS) pins.
/ROMCS is the chip select signal for ROM and /RAMCS is
the chip select signal for RAM. The boundary value for
each chip select signal is 8 bits wide allowing all memory
accesses with addresses less than or equal to this boundary value. This causes assertion of the corresponding /CS
pin. These features are controlled through the RAM upper
boundary address register (I/O address EAh), RAM lower
boundary address register (I/O address EBh) and ROM
upper boundary address register (I/O address ECh).
These two signals are generated by decoding address
lines A19-A12. Note that glitches may be observed on the
/RAMCS and /ROMCS signals because the address decoding logic decodes only A19-A12, without any control
signals.
Bit D5 of the System Configuration Register allows the
option of disabling the /ROMCS signal. This feature is used
in systems which, for example, have a shadow RAM.
However, prior to disabling the /ROMCS signal, the ROMBR
and RAMLBR registers must be re-initialized from their
default values.
For more details, please refer to “Programming section”.
ROM Emulator Mode
To ease development, the SAC has a mode to support
“ROM emulator” development systems. In this mode, a
read data from on-chip registers (except Z181 MPU onchip registers) are available (data bus direction set to
output) to make data visible from the outside, so that a
ROM Emulator/Logic Analyzer can monitor internal transactions. Otherwise, a read from an internal transaction is
not available to the outside (data bus direction set to Hi-Z
status). Mode selection is made through the D1 bit in the
System Configuration Register (I/O Address: EDh).
Programming
The following subsections explain and define the parameters for I/O Address assignments, I/O Control Register
Addresses and all pertinent Timing parameters.
I/O Address Assignment
The SAC has 78 internal 8-bit registers to control on-chip
peripherals and features. Sixty-four registers out of 78
registers are occupied by the Z181 MPU control registers;
two for SCC control registers, four for PIA control registers,
four for the Counter/Timer, three for RAM/ROM configuration (memory address boundaries) and one for SAC’s
system control. The SAC’s I/O addresses are listed in
Table 1. These registers are assigned in the SAC’s I/O
addressing space and the I/O addresses are fully decoded from A7-A0 and have no image.
2-16
DS971800500
Page 17
Zilog
PROGRAMMING (Continued)
SMART ACCESS CONTROLLER SAC
Z80181
™
Table 1. I/O Control Register Address
AddressRegister
00hZ181 MPU Control Registers
to 3Fh(Relocatable to 040h-07Fh, or 080h-0BFh)
E0hPIA1 Data Direction Register (P1DDR)
E1hPIA1 Data Port (P1DP)
E2hPIA2 Data Direction Register (P2DDR)
E3hPIA2 Data Register (P2DP)
E4hCTC Channel 0 Control Register (CTC0)
E5hCTC Channel 1 Control Register (CTC1)
E6hCTC Channel 2 Control Register (CTC2)
E7hCTC Channel 3 Control Register (CTC3)
E8hSCC Control Register (SCCCR)
E9hSCC Data Register (SCCDR)
The I/O address for these registers can be relocated in 64
byte boundaries by programming of the I/O Control Register (Address xx111111b).
Do not relocate these registers to address from 0C0h since
this will cause an overlap of the Z180 registers and the 16
registers of the Z181 (address 0E0h to 0EFh).
Also, the OMCR register (Address: xx111101b) must be
programmed as 0x0xxxxxb (x: don’t care) as a part of the
initialization procedure. The M1E bit (Bit D7) of this register
must be programmed as 0 or the interrupt daisy chain is
corrupted. The /IOC bit (Bit D5) of this register is programmed as 0 so that the timing of the /RD and /IORQ
signals are compatible with Z80 peripherals.
For detailed information, refer to the Z180 Technical Manual.
This bit enables the interrupt logic
so that an internal INT is generated at zero count. Interrupts
are programmed in either mode and may be enabled or
disabled at any time.
Bit D6.
Mode Bit.
This bit selects either Timer Mode or
Counter Mode.
Bit D5.
Prescaler Factor.
This bit selects the prescaler
factor for use in the timer mode. Either divide-by-16 or
divide-by-256 is available.
2-32
Bit D4.
Clock/Trigger Edge Selector.
This bit selects the
active edge of the CLK/TRG input pulses.
Bit D3.
Timer Trigger.
This bit selects the trigger mode for
timer operation. Either automatic or external trigger may be
selected.
Bit D2.
Time Constant.
This bit indicates that the next word
programmed is time constant data for the downcounter.
Bit D1.
Software Reset.
Writing a “1” to this bit indicates a
software reset operation, which stops counting activities
until another time constant word is written.
DS971800500
Page 33
Zilog
SMART ACCESS CONTROLLER SAC
Z80181
™
Time Constant Word
Before a channel can start counting, it must receive a time
constant word. The time constant value may be anywhere
between 1 and 256, with “0” being accepted as a count of
256 (Figure 47).
D7 D6 D5 D4 D3 D2 D1 D0
TC0
TC1
TC2
TC3
TC4
TC5
TC6
TC7
Figure 47. CTC Time Constant Word
Interrupt Vector Word
If one or more of the CTC channels have interrupt enabled,
then the Interrupt Vector Word is programmed. Only the
five most significant bits of this word are programmed, and
bit D0 must be “0”. Bits D2-D1 are automatically modified
by the CTC channels after responding with an interrupt
vector (Figure 48).
For more detailed information, please refer to the Z8030/
Z8530 SCC Technical Manual.
Note:
The Address for the Control/Status Register is E8h. The
Address for the Data Register is E9h.
Table 2. SCC Read Registers
BitDescription
RR0Transmit and Receive buffer status
and external status.
RR1Special Receive Condition status.
RR2Interrupt vector (modified if VIS Bit in WR9 is set).
RR3Interrupt pending bits.
RR6SDLC FIFO byte counter lower byte
(only when enabled).
Read Registers
The SCC contains eight read registers. To read the contents of a register (rather than RR0), the program must first
initialize a pointer to WR0 in exactly the same manner as a
write operation. The next I/O read cycle will place the
contents of the selected read registers onto the data bus
(Figure 49).
BitDescription
RR7SDLC FIFO byte count and status
(only when enabled).
RR8Receive buffer.
RR10Miscellaneous status bits.
RR12Lower byte of baud rate.
RR13Upper byte of baud rate generator time constant.
RR15 External Status interrupt information.
DS971800500
2-33
Page 34
Zilog
SCC REGISTERS (Continued)
SMART ACCESS CONTROLLER SAC
Z80181
™
Read Register 0
D7 D6 D5 D4 D3 D2 D1 D0
(a)
Read Register 1
D7 D6 D5 D4 D3 D2 D1 D0
Rx Character Available
Zero Count
Tx Buffer Empty
DCD
Sync/Hunt
CTS
Tx Underrun/EOM
Break/Abort
All Sent
Residue Code 2
Residue Code 1
Residue Code 0
Parity Error
Rx Overrun Error
CRC/Framing Error
End of Frame (SDLC)
Read Register 2
D7 D6 D5 D4 D3 D2 D1 D0
Modified if VIS bit in Write register 9 is set.
*
(c)
Read Register 3
D7 D6 D5 D4 D3 D2 D1 D0
V0
V1
V2
V3
V4
V5
V6
V7
0
0
0
Ext/Status IP
Tx IP
Rx IP
0
0
Interrupt
Vector
*
(b)
(d)
Figure 49. SCC Read Register Bit Functions
2-34
DS971800500
Page 35
Zilog
SMART ACCESS CONTROLLER SAC
Z80181
™
Read Register 6 *
D7 D6 D5 D4 D3 D2 D1 D0
BC0
BC1
BC2
BC3
BC4
BC5
BC6
BC7
* Can only be accessed if the SDLC FIFO enhancement
is enabled (WR15 bit D2 set to 1)
(e) SDLC FIFO Status and Byte Count (LSB)
Read Register 7
D7 D6 D5 D4 D3 D2 D1 D0
*
Read Register 10
D7 D6 D5 D4 D3 D2 D1 D0
0
On Loop
0
0
Loop Sending
0
Two Clocks Missing
One Clock Missing
(g)
Read Register 12
D7 D6 D5 D4 D3 D2 D1 D0
BC8
BC9
BC10
BC11
BC12
BC13
FDA: FIFO Available Status
1 Status Reads from FIFO
FOS: FIFO Overflow Status
1 FIFO Overflowed
0 Normal
*
Can only be accessed if the SDLC FIFO enhancement
is enabled (WR15 bit D2 set to 1)
(f) SDLC FIFO Status and Byte Count (MSB)
Figure 49. SCC Read Register Bit Functions (Continued)
(h)
TC0
TC1
TC2
TC3
TC4
TC5
TC6
TC7
Lower Byte
of Time Constant
DS971800500
2-35
Page 36
Zilog
SCC REGISTERS (Continued)
SMART ACCESS CONTROLLER SAC
Z80181
™
Read Register 13
D7 D6 D5 D4 D3 D2 D1 D0
TC8
TC9
TC10
TC11
TC12
TC13
TC14
TC15
Upper Byte
of Time Constant
(i)
Figure 49. SCC Read Register Bit Functions (Continued)
Write Registers
The SCC contains fifteen write registers that are programmed to configure the operating modes of the channel. With the exception of WR0, programming the write
registers is a two step operation. The first operation is a
pointer written to WR0 that points to the selected register.
The second operation is the actual control word that is
written into the register to configure the SCC channel
(Figure 50).
Table 3. SCC Write Registers
BitDescription
WR0Register Pointers, various initialization
commands
WR1Transmit and Receive interrupt enables,
WAIT/DMA commands
WR2Interrupt Vector
WR3Receive parameters and control modes
WR4Transmit and Receive modes and parameters
WR5Transmit parameters and control modes
WR6Sync Character or SDLC address
WR7Sync Character or SDLC flag
BitDescription
WR8Transmit buffer
WR9Master Interrupt control and reset commands
WR10 Miscellaneous transmit and receive control bits
WR11 Clock mode controls for receive and transmit
WR12 Lower byte of baud rate generator
WR13 Upper byte of baud rate generator
WR14 Miscellaneous control bits
WR15 External status interrupt enable control
0 0 0 Null Code
0 0 1 Point High
0 1 0 Reset Ext/Status Interrupts
0 1 1 Send Abort (SDLC)
1 0 0 Enable Int on Next Rx Character
1 0 1 Reset Tx Int Pending
1 1 0 Error Reset
1 1 1 Reset Highest IUS
0 0 Null Code
0 1 Reset Rx CRC Checker
1 0 Reset Tx CRC Generator
1 1 Reset Tx Underrun/EOM Latch
With Point High Command
*
(a)
Write Register 1
D7 D6 D5 D4 D3 D2 D1 D0
Ext Int Enable
Tx Int Enable
Parity is Special
Condition
0 0 Rx Int Disable
0 1 Rx Int On First Character or
Special Condition
1 0 Int On All Rx Characters or
Special Condition
1 1 Rx Int On Special Condition Only
Figure 50. Write Register Bit Functions (Continued)
2-41
Page 42
Zilog
PIA Control Registers
SMART ACCESS CONTROLLER SAC
Z80181
™
PIA1 Data Direction Register (P1DDR, I/O Address E0h),
PIA1 Data Port (P1DP, I/O address E1h), PIA2 Data Direction Register (P2DDR, I/O Address E2h) and PIA2 Data
Register (P2DP, I/O Address E3h). These four registers are
E0H
76543210
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
shown in Figures 51-54. Note that if the CTC/PIA bit in the
System Configuration Register is set to one, the CTC I/O
functions override the PIA1 function, and programming of
P1DDR is ignored.
E2H
76543210
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
1 - Input
0 - Output
Figure 51. PIA 1 Data Direction Register
E1H
76543210
PIA 1
I/O Data
Figure 52. PIA 1 Data Register
The Data Port is the register to/from the 8-bit parallel port.
At power on Reset, they are initialized to 1.
The Data Direction Register has eight control bits. Individual bits specify each bit's direction. When the bit is set to
Figure 53. PIA 2 Data Direction Register
E3H
76543210
PIA 2
I/O Data
Figure 54. PIA 2 Data Register
a "1", the bit becomes an input, otherwise it is an output. On
reset, these registers are initialized to 1, resulting in all lines
being inputs.
2-42
DS971800500
Page 43
Zilog
REGISTERS FOR SYSTEM CONFIGURATION
SMART ACCESS CONTROLLER SAC
Z80181
™
There are four registers to determine system configuration
with the Z181. These registers are: RAM upper boundary
address register (RAMUBR, I/O address EAh), RAM lower
boundary address register (RAMLBR, I/O address EBh),
ROM address boundary register (ROMBR, I/O address
ECh) and System Configuration Register (SCR, I/O address EDh).
ROM Address Boundary Register
(ROMBR, I/O Address ECh)
This register specifies the address range for the /ROMCS
signal. When accessed memory addresses are less than
or equal to the value programmed in this register, the
/ROMCS signal is asserted (Figure 55).
The A18 signal from the CPU is obtained before it is
multiplexed with “TOUT”. This signal can be forced to “1”
(inactive state) by setting Bit D5 of the System Configuration Register, to allow the user to overlay the RAM area over
the ROM area. At power-up reset, this register contains all
1's so that /ROMCS is asserted for all addresses.
These two registers specify the address range for the
/RAMCS signal. When accessed memory addresses are
less than or equal to the value programmed in the RAMUBR
and greater than or equal to the value programmed in the
RAMLBR, /RAMCS is asserted. (Figure 13) The A18 signal
from the CPU is taken before it is multiplexed with “T
OUT
In the case that these register are programmed to overlap,
/ROMCS takes priority over /RAMCS (/ROMCS is asserted
and /RAMCS is inactive).
Chip Select signals are going active for the address range:
/ROMCS: (ROMBR) ≥ A19-A12 ≥ 0
/RAMCS: (RAMUBR) ≥ A19-A12 > (RAMLBR)
These registers are set to “FFh” at power-on Reset, and the
boundary addresses of ROM and RAM are the following:
ROM lower boundary address
(fixed) = 00000h
ROM upper boundary address
(ROMBR register) = 0FFFFFh
Since /ROMCS takes priority over /RAMCS, the latter will
never be asserted until the value in the ROMBR and
RAMLBR registers are re-initialized to lower values.
”.
EAH
76543210
A12
A13
A14
A15
A16
A17
A18
A19
Figure 55. RAM Upper Boundary Register
EBH
76543210
A12
A13
A14
A15
A16
A17
A18
A19
Figure 56. RAM Lower Boundary Register
DS971800500
2-43
Page 44
Zilog
REGISTERS FOR SYSTEM CONFIGURATION (Continued)
ECH
76543210
Figure 57. ROM Boundary Register
A12
A13
A14
A15
A16
A17
A18
A19
SMART ACCESS CONTROLLER SAC
Z80181
™
EDH
76543210
PIA1/CTIO
1 PIA1 Functions as CTC's I/O Pins
0 PIA1 Functions as I/O Port
Reserved - Program as 0
ROM Emulator Mode (REME)
1 Data Bus in ROM Emulator Mode
0 Data Bus in Normal Mode
Reserved - Program as 0
Reserved - Program as 0
Disable /ROMCS
This register is to determine the functionality of PIA1 and
the Interrupt Daisy-Chain Configuration (Figure 13). This
register has the following control bits:
Bit D7. Reserved and should be programmed as “0”.
Bit D6.
Daisy-Chain Configuration.
Determines the
arrangement of the interrupt priority daisy chain.
When this bit is set to “1”, priority is as follows:
IEI pin - CTC - SCC - IEO pin
When this bit is “0”, priority is as follows:
IEI pin - SCC - CTC - IEO pin
This bit’s default (after Reset) is 0.
Bit D5.
Disable /ROMCS.
When this bit is set to “1”.
/ROMCS is forced to a “1” regardless of the status of the
address decode logic. This bit’s default (after Reset) is 0
and /ROMCS function is enabled.
Bit D4-D3. Reserved and should be programmed as “00”.
Bit D2.
ROM Emulator Mode Enable.
When this bit is set to
a 1, the Z181 is in “ROM emulator mode”. In this mode, bus
direction for certain transaction periods are set to the
opposite direction to export internal bus transactions outside the Z80181. This allows the use of ROM emulators/
logic analyzers for applications development. This bit’s
default (after Reset) is 0.
Bit D1. Reserved and shall be programmed as “0”.
Bit D0.
CTC/PIA1.
When this bit is set to “1”, PIA1 functions
as the CTC’s I/O pins. This bit’s default (after Reset) is 0.
DS971800500
2-45
Page 46
Zilog
SMART ACCESS CONTROLLER SAC
Data Bus Direction
Table 4 shows the state of the SAC’s data bus when in SAC
bus master condition.
Intack ForIntack For
On-ChipOff-Chip
PeripheralPeripheral
(SCC/CTC)
Z80181 Data BusOutIn
(REME Bit = 0)
Z80181 Data BusOutIn
(REME Bit = 1)
The word “OUT” means that the Z181 data bus direction is
in output mode, “IN” means input mode, and “HI-Z” means
high impedance.
“REME” stands for “ROM Emulator Mode” and is the status
of D2 bit in the System Configuration Register.
DS971800500
2-47
Page 48
Zilog
ABSOLUTE MAXIMUM RATINGS
SMART ACCESS CONTROLLER SAC
Z80181
™
Voltage on VCC with respect to VSS........... –0.3V to +7.0V
Voltages on all inputs
with respect to VSS........................... –0.3V to VCC +0.3V
Storage Temperature ............................–65°C to +150°C
Operating Ambient
Temperature ........................ See Ordering Information
STANDARD TEST CONDITIONS
The DC Characteristics and capacitance sections below
apply for the following standard test conditions, unless
otherwise noted. All voltages are referenced to GND (0V).
Positive current flows into the referenced pin (Figure 59).
Available operating
temperature range is: E = –40°C to +100°C
Voltage Supply Range: +4.50V ≤ Vcc ≤ + 5.50V
All AC parameters assume a load capacitance of 100 pF.
Add 10 ns delay for each 50 pF increase in load up to a
maximum of 150 pF for the data bus and 100 pF for
address and control lines. AC timing measurements are
referenced to 1.5 volts (except for clock, which is referenced to the 10% and 90% points). Maximum capacitive
load for CLK is 125 pF.
Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; operation of the device at
any condition above those indicated in the operational
sections of these specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods
may affect device reliability.
Figures 60-68 show the timing for the Z181 MPU and the referenced parameters appear in Table A.
T1T2TwT3T1
45
3
Ø
2
1
6
Address
7070
/ROMCS
/RAMCS
201920
19
/WAIT
Z80181
™
/MREQ
/RD
/M1
ST
/IORQ
/WR
Data In
"H"
7
812
13
914
10
17
1516
6261
6261
18
11
2-50
/RESET
67666766
Figure 60a. Opcode Fetch Cycle
DS971800500
Page 51
Zilog
Address
/ROMCS
/RAMCS
/WAIT
/IORQ
Z80181
SMART ACCESS CONTROLLER SAC
™
T1T2TwaT3T1
Ø
6
7070
2019
11287
/RD
/WR
Data IN
Data OUT
ST
27
91211
2224
25, 25a
1516
23
"H"
[1] Output buffer is off at this point.
[2] Memory Read/Write cycle timing is the same as this figure, except there is
no automatic wait status (Twa), and /MREQ is active instead of /IORQ.
Notes:
[1] During /INT0 acknowledge cycle
[2] During refresh cycle
[3] Output buffer is off at this point
[4] Refer to Table C, parameter 7
Figure 61. CPU Timing
(/INT0 Acknowledge Cycle, Refresh Cycle, BUS RELEASE Mode
HALT Mode, SLEEP Mode, SYSTEM STOP Mode)
DS971800500
Page 53
Zilog
Address
Z80181
SMART ACCESS CONTROLLER SAC
I/O Read CycleI/O Write Cycle
T1T2TwT3T1T2TwT3
Ø
™
/IORQ
/RD
/WR
27
9
282728
13
2422
Figure 62. CPU Timing (/IOC = 0)
(I/O Read Cycle, I/O Write Cycle)
DS971800500
2-53
Page 54
Zilog
AC CHARACTERISTICS (Continued)
Z180 MPU Timing
CPU or DMA Read/Write Cycle (Only DMA Write Cycle for /TENDi)
T1T2TwT3T1
Ø
/DREQi
(At level
sense)
/DREQi
(At edge
sence)
Z80181
SMART ACCESS CONTROLLER SAC
44
[1]
45
44
[2]
45
18
46
47
[4]
™
/TENDi
ST
[3]
17
DMA Control Signals
[1] tDRQS and tDRQH are specified for the rising edge of clock followed by T3.
[2] tDRQS and tDRQH are specified for the rising edge of clock.
[3] DMA cycle starts.
[4] CPU cycle starts.
5tcrClock Rise Time10ns
6tADAddress Valid from Clock Rise70ns
7tASAddress Valid to /MREQ, /IORQ Fall10ns
8tMED1Clock Fall to /MREQ Fall Delay50ns
9tRDD1Clock Fall to /RD Fall (/IOC=1)50ns
Clock Rise to /RD Fall (/IOC=0)55ns
10tM1D1Clock Rise to /M1 Fall Delay60ns
2-58
DS971800500
Page 59
Zilog
SMART ACCESS CONTROLLER SAC
Table A. Z180 CPU & 180 Peripherals Timing (Continued)
Z8018110
NoSymbolParameterMinMaxUnit
11tAHAddress Hold Time10ns
(/MREQ, /IORQ, /RD, /WR)
12tMED2Clock Fall to /MREQ Rise Delay50ns
13tRDD2Clock Fall to /RD Rise Delay50ns
14tM1D2Clock Rise to /M1 Rise Delay60ns
15tDRSData Read Setup Time25ns
16tDRHData Read Hold Time0ns
17tSTD1Clock Fall to ST Fall60ns
18tSTD2Clock Fall to ST Rise60ns
19tWS/WAIT Setup Time to Clock Fall30ns
20tWH/WAIT Hold time from Clock Fall30ns
21tWDZClock Rise to Data Float Delay60ns
22tWRD1Clock Rise to /WR Fall Delay50ns
23tWDO/WR fall to Data Out Delay10ns
24tWRD2Clock Fall to /WR Rise50ns
25tWRP/WR Pulse Width110ns
(Memory Write Cycles)
Z80181
™
25a/WR Pulse Width (I/O Write Cycles)210ns
26tWDHWrite Data Hold Time from /WR Rise10ns
27tIOD1Clock Fall to /IORQ Fall Delay50ns
(/IOC=1)
Clock Rise to /IORQ Fall Delay55ns
(/IOC=0)
28tIOD2Clock Fall /IOQR Rise Delay50ns
29tIOD3/M1 Fall to /IORQ Fall Delay200ns
30tINTS/INT Setup Time to Clock Fall30ns
31tINTH/INT Hold Time from Clock Fall30ns
32tNMIW/NMI Pulse Width80ns
33tBRS/BUSREQ Setup Time to Clock Fall30ns
34tBRH/BUSREQ Hold Time from Clock Fall30ns
35tBAD1Clock Rise to /BUSACK Fall Delay60ns
36tBAD2Clock Fall to /BUSACK Rise Delay60ns
37tBZDClock Rise to Bus Floating Delay Time80ns
38tMEWH/MREQ Pulse Width (High)70ns
39tMEWL/MREQ Pulse Width (Low)80ns
40tRFD1Clock Rise to /RFSH Fall Delay60ns
41tRFD2Clock Rise to /RFSH Rise Delay60ns
42tHAD1Clock Rise to /HALT Fall Delay50ns
43tHAD2Clock Rise to /HALT Rise Delay50ns
44tDRQS/DREQi Setup Time to Clock Rise30ns
45tDRQH/DREQi Hold Time from Clock Rise30ns
46tTED1Clock Fall to /TENDi Fall Delay50ns
DS971800500
2-59
Page 60
Zilog
AC CHARACTERISTICS (Continued)
Z180™ MPU Timing
Table A. Z180 CPU &180 Peripherals Timing (Continued)
NoSymbolParameterMinMaxUnit
47tTED2Clock Fall to /TENDi Rise Delay50ns
48tED1Clock Rise to E Rise Delay60ns
49tED2Clock Edge to E Fall Delay60ns
50PWEHE Pulse Width (High)55ns
51PWELE Pulse Width (Low)110ns
52tErEnable Rise Time20ns
53tEfEnable Fall Time20ns
54tTODClock Fall to Timer Output Delay150ns
55tSTDICSI/O Tx Data Delay Time150ns
(Internal Clock Operation)
56tSTDECSI/O Tx Data Delay Time7.5tcyc+150ns
(External Clock Operation)
57tSRSICSI/O Rx Data Setup Time1tcyc
(Internal Clock Operation)
58tSRHICSI/O Rx Data Hold Time1tcyc
(Internal Clock Operation)
59tSRSECSI/O Rx Data Setup Time1tcyc
(External Clock Operation)
60tSRHECSI/O Rx Data Hold Time1tcyc
(External Clock Operation)
Z8018110
SMART ACCESS CONTROLLER SAC
Z80181
™
61tRES/RESET Setup Time to Clock Fall80ns
62tREH/RESET Hold Time from Clock Fall50ns
63tOSCOscillator Stabilization Time20ms
64tEXrExternal Clock Rise Time (EXTAL)25ns
65tEXfExternal Clock Fall Time (EXTAL)25ns
66tRr/RESET Rise Time50ns
67tRf/RESET Fall Time50ns
68tIrInput Rise Time100ns
(Except EXTAL, /RESET)
69tIfInput Fall Time100ns
(Except EXTAL, /RESET)
70TdCS(A)Address Valid to /ROMCS, /RAMCS20ns
Valid Delay
2-60
DS971800500
Page 61
Zilog
AC CHARACTERISTICS (Continued)
CTC Timing
Figure 69 shows the timing for the on-chip CTC. Parameters referenced in this figure appear in Table B.
Clock
6
CLK/TRG
Counter
2
CLK/TRG
Timer
3
ZC/TO
10
5
7
98
11
SMART ACCESS CONTROLLER SAC
Z80181
™
1
4
/INT
Figure 69. CTC Timing
Table B. CTC Timing Parameters
Z8018110
NoSymbolParameterMinMaxUnitNote
1TdCr(INTf)Clock Rise to /INT Fall Delay(TcC+100)ns[B1]
2TsCTRr(Cr)cCLK/TRG Rise to Clock Rise
Setup Time for Immediate Count90ns[B2]
3TsCTR(Ct)CLK/TRG Rise to Clock Rise
Setup Time for Enabling of Prescaler90ns[B1]
On Following Clock Rise
4TdCTRr(INTf)CLK/TRG Rise to /INT Fall Delay
TsCTR(C) Satisfied(1)+(3)ns[B2]
TsCTR(C) Not SatisfiedTcC+(1)+(3)ns[B2]
9TfCTRCLK/TRG Fall Time30ns
10TdCr(ZCr)Clock Rise to ZC/TO Rise Delay80ns
11TdCf(ZCf)Clock Fall to ZC/TO Fall Delay80ns
Notes for Table B:
[B1] Timer Mode
[B2] Counter Mode
[B3] Counter Mode Only. When using a cycle time less than 3TcC, parameter #2 must be met.
DS971800500
2-61
Page 62
Zilog
AC CHARACTERISTICS (Continued)
SCC Timing
Figure 70 shows the AC characteristics for the on-chip
SCC. Parameters referenced in this figure appear in
Table C.
Ø
/WR
/RD
/W//REQ
Wait
Z80181
SMART ACCESS CONTROLLER SAC
1
™
2
/W//REQ
Request
3
4
/DTR//REQ
Request
5
/INT
6
Figure 70. SCC AC Parameters
Table C. SCC Timing Parameters (85C30 AC Characteristics)
Z8018110
NoSymbolParameterMinMaxUnitNote
1TdWR(W)/WR Fall to Wait Valid Delay180 + TcCns[C1]
2TdWR(W)/RD Fall to Wait Valid Delay180ns[C1]
3TdWRf(REQ)/WR Fall to /W//REQ Not Valid Delay180 + TcCns
4TdRDf(REQ)/RD Fall to /W//REQ Not Valid Delay180ns
5TdWRr(REQ)/WR Rise to /DTR//REQ Not Valid Delay5TcCns
6TdPC(INT)Clock to /INT Valid Delay500ns[C1]
7TdRDA(INT)/M1 Fall to /INT Inactive DelayTBSns[C1]
Note for Table C:
[C1] Open-drain output, measured with open-drain test load.
2-62
DS971800500
Page 63
Zilog
Figure 71 shows the general timing for the on-chip SCC.
Parameters referenced in this figure appear in Table D.
PCLK
/W//REQ
Request
/W//REQ
Wait
/RTxC, /TRxC
Receive
Z80181
SMART ACCESS CONTROLLER SAC
1
2
™
RxD
/SYNC
External
/TRxC, /RTxC
Transmit
TxD
/TRxC
Output
/RTxC
/TRxC
/CTS, /DCD
/SYNC
Input
4
78
11
53
910
13
12
14
6
15, 21
17
16
18, 21
19
19
20
20
DS971800500
Figure 71. SCC General Timing
2-63
Page 64
Zilog
SMART ACCESS CONTROLLER SAC
AC CHARACTERISTICS (Continued)
SCC General Timing
Table D. SCC General Timing Parameters
Z8018110
NoSymbolParameterMinMaxUnitNote
1TdPC(REQ)Clock Fall to /W//REQ Valid200ns
2TdPC(W)Clock Fall to Wait Inactive300ns
3TsRXD(RXCr)RxD to /RxC Rise Setup Time0ns[D1]
4ThRXD(RXCr)RxD to /RxC Rise Hold Time125ns[D1]
5TsRXD(RXCf)RxD to /RxC Fall Setup Time0ns[D1,4]
6ThRXD(RXCf)RxD to /RxC Fall Hold Time125ns[D1,4]
7TsSY(RXC)/SYNC to /RxC Setup Time–150ns[D1]
8ThSY(RXC)/SYNC to /RxC Hold Time5TcCns[D1]
9TdTXCf(TXD)/TxC Fall to TxD Delay150ns[D2]
10TdTXCr(TXD)/TxC Rise to TxD Delay150ns[D2,4]
11TdTXD(TRX)TxD to /TRxC Delay140ns
12TwRTXh/RTxC High Width120ns[D5]
13TwRTXl/RTxC Low Width120ns[D5]
Z80181
™
14TcRTX/RTxC Cycle Time (RxD, TxD)400ns[D5,6]
15TcRTXXXtal OSC Period1001000ns[D3]
16TwTRXh/TRxC High Width120ns[D5]
17TwTRXl/TRxC Low Width120ns[D5]
[D1] /RXC is /RTxC or /TRxC, whichever is supplying the receiver clock.
[D2] /TXC is /TRxC or /RTxC, whichever is supplying the transmitter clock.
[D3] Both /RTxC and /SYNC pins have 30 pF Capacitors (to Ground).
[D4] Parameter applies only to FM encoding/decoding.
[D5] Parameter applies only to transmitter and receiver; baud rate generator timing requirements are different.
[D6] The maximum receive or transmit data rate is 1/4 TcC.
[D7] Applies to DPLL clock source only; maximum data rate of 1/4 TcC still applies.
2-64
DS971800500
Page 65
Zilog
Figure 72 shows the system timing for the on-chip SCC.
Parameters referenced in this figure appear in Table E.
/RTxC, /TRxC
Receive
/W//REQ
Request
/W//REQ
Wait
/SYNC
Output
/INT
Z80181
SMART ACCESS CONTROLLER SAC
1
2
3
4
™
/RTxC, /TRxC
Transmit
/W//REQ
Request
/W//REQ
Wait
/DTR//REQ
Request
/INT
/CTS, /DCD
/SYNC
Input
5
6
7
8
9
DS971800500
/INT
10
Figure 72. SCC System Timing
2-65
Page 66
Zilog
SMART ACCESS CONTROLLER SAC
AC CHARACTERISTICS (Continued)
SCC System Timing
Table E. SCC System Timing Parameters
Z8018110
NoSymbolParameterMinMaxUnitNote
1TdRxC(REQ)/RxC to /W//REQ Valid812TcC[E2]
2TdRxC(W)/RxC to Wait inactive814TcC[E1,2]
3TdRxC(SY)/RxC to /SYNC Valid47TcC[E2]
4TdRxC(INT)/RxC to /INT Valid1016TcC[E1,2]
5TdTxC(REQ)/TxC to /W//REQ Valid58TcC[E3]
6TdTxC(W)/TxC to Wait inactive511TcC[E1,3]
7TdRxC(DRQ)/TxC to /DTR//REQ Valid47TcC[E3]
8TdTxC(INT)/TxC to /INT Valid610TcC[E1,3]
9TdSY(INT)/SYNC to /INT Valid26TcC[E1]
10TdEXT(INT)/DCD or /CTS to /INT Valid26TcC[E1]
Notes for Table E:
[E1] Open-drain output, measured with open-drain test load.
[E2] /RXC is /RTxC or /TRxC, whichever is supplying the receiver clock.
[E3] /TXC is /TRxC or /RTxC, whichever is supplying the transmitter clock.
Z80181
™
2-66
DS971800500
Page 67
Zilog
AC CHARACTERISTICS (Continued)
PIA General-Purpose I/O Port Timing
Figure 73 shows the timing for the PIA ports. Parameters
referenced in this figure appear in Table F.
T1T2TwT3
Ø
/IORQ, /RD
PIA Input
Z80181
SMART ACCESS CONTROLLER SAC
1
™
2
PIA Output
Figure 73. PIA Timing
Table F. PIA General-Purpose I/O Timing Parameters
Z8018110
NoSymbolParameterMinMaxUnit
1TsPIA(C)PIA Data Setup time to Clock Rise10ns
2TdCr(PIA)Clock Rise to PIA Data Valid Delay50ns
DS971800500
2-67
Page 68
Zilog
13245
6
9
7, 8
10
11
AC CHARACTERISTICS (Continued)
Interrupt Daisy-Chain Timing
Figure 74 shows the interrupt daisy-chain timing. Parameters referenced in this figure appear in Table G.
CLK
/M1
/IORQ
Data
IEI
SMART ACCESS CONTROLLER SAC
Z80181
™
IEO
/INT
(SCC)
/WAIT
Figure 74. Interrupt Daisy-Chain Timing
Table G. Interrupt Daisy-Chain Timing Parameters
Z8018110
NoSymbolParameterMinMaxUnit
1TsM1(Cr)/M1 Fall to Clock Rise Setup Time20ns
2TsM1(IO)INTA/M1 Fall to /IORQ Fall Setup Time
(During INTACK Cycle)2TcCns
3ThHold Time0
4TdM1r(DOz)/M1 Rise to Data Out Float Delay0ns
5TdCr(DO)Clock Rise to Data Out Delay
2-68
6TsIEI(TW4)IEI to TW4 Rise Setup Time95ns
7TdIEIf(IEOf)IEI Fall to IEO Fall Delay
8TdIEIr(IEOr)IEO Rise to IEO Rise Delay
9TdM1f(IEOf)/M1 Fall to IEO Fall Delay
10TdCWA(f)INTAClock Rise to /WAIT Fall Delay
11TdCWA(r)INTAClock Rise to /WAIT Rise Delay
DS971800500
Page 69
Zilog
Note for Interrupt Acknowledge Cycle and
Daisy Chain
SMART ACCESS CONTROLLER SAC
Z80181
™
When using the interrupt daisy chained device(s) for other
than the Z181 (without external logic), the following restrictions/notes apply:
The device(s) must be connected to the higher priority
location (Figure 75).
The device(s) IEI-IEO delay must be less than two clock
cycles.
The Z181 on-chip interface logic inserts another three wait
states into the interrupt acknowledge cycle to meet the onchip SCC and the Z80 CTC timing requirements. (For a
total of five wait states, including the two automatically
inserted wait states).
To meet the timing requirements, the Z181’s on-chip circuit
generates interface signals for the SCC and CTC.
Figure 78 has the timing during the interrupt acknowledge
cycle, including the internally generated signals.
The following are three separate cases for the daisy-chain
settle times:
Case 1 - SCC: The SCC /INTACK signal goes active on the
T1 clock fall time. The settle time is from SCC /INTACK
active until the SCC /RD signal goes active on the fourth
rising wait state clock.
Case 2 - CTC: The settle time for the on-chip /IORQ is
between the fall of /M1 until the internal CTC /IORQ goes
active on the rise of the fourth wait state (the same time as
SCC /RD goes active).
Case 3 - OFF-chip Z80 Peripheral: The settle time for the
off-chip Z80 peripheral is from the fall of /M1 until CTC
/IORQ goes active. Since the Z181’s external /IORQ signal
goes active on the clock fall of the first automatically
inserted wait state (TWA), the external daisy-chain device
must be connected to the upper chain location. Also, it
must settle within two clock cycles.
If any peripheral is connected externally with a lower daisy
chain priority than Z181 peripherals, /IORQ must be delayed by external logic as shown in Figure 79.
Vcc
Peripheral
Device(s)
IEIIEOIEIIEOIEIIEO
CTCSCC
Z80181
Figure 75. Peripheral Device as Part of the Daisy Chain
DS971800500
2-69
Page 70
Zilog
123
3651110
4
7
1239
8
AC CHARACTERISTICS (Continued)
Read Write External BUS Master Timing
CLK
SMART ACCESS CONTROLLER SAC
Z80181
™
Address
/IORQ
/RD
Data
/WR
Data
A7-A0
Data OUT
Data IN
Figure 76. Read/Write External BUS Master Timing
Table H. External Bus Master Interface Timing (Read/Write Cycles)
Z8018110
NoSymbolParameterMinMaxUnit
1TsA(Cr)Address to CLK Rise Setup Time20ns
2TsIO(Cr)/IORQ Fall to CLK Rise Setup Time20ns
3ThHold Time0
4TsRD(Cr)/RD Fall to CLK Rise Setup Time20ns
5TdRD(DO)/RD Fall to Data Out Delay120ns
6TdRIr(DOz)/RD, /IORQ Rise to Read Data Float0
7TsWR(Cr)/WR Fall to CLK Rise Setup Time20ns
8TsDi(WRf)Data in to /WR Fall Setup Time0
9ThWIr(Di)/IORQ, /WR Rise to Data In Hold Time0
10TsA(IORQf)Address to /IORQ Fall Setup Time50ns
11TsA(RDf)Address to /RD Fall Setup Time50ns
12TsA(WRf)Address to /WR Fall Setup Time50ns
2-70
DS971800500
Page 71
Zilog
1
2
SMART ACCESS CONTROLLER SAC
SCC External BUS Master Timing
Valid SCC
Addr * IORQ
/RD or
/WR
DTR/REQ
Request
Figure 77. SCC External BUS Master Timing
Table I. External Bus Master Interface Timing (SCC Related Timing)
Z8018110
NoSymbolParameterMinMaxUnitNotes
Z80181
™
1TrCValid Access Recovery Time4TcCns[1]
2TdRDr(REQ)/RD Rise to /DTR//REQ Not Valid Delay4TcCns
Note for Table I:
[1] Only applies between transactions involving the SCC.
DS971800500
2-71
Page 72
Zilog
AC CHARACTERISTICS (Continued)
SMART ACCESS CONTROLLER SAC
Z80181
™
CLK
/M1
/IORQ
SCC
/INTACK
/WAIT
SCC
/RD
CTC
/IORQ
TTT
1 2 WAWAWWW3
Settle Time for
Off-chip Z80
Peripherals
/WAIT Signal generated
by interface circuit
TTTTT
Settle Time for
On-chip CTC
Settle Time
for SCC
Vcc
Figure 78. Interrupt Acknowledge Cycle Timing
IEIIEOIEIIEOIEIIEO
CTCSCC
Z80181
/IORQ
External
Logic to
Extend
/IORQ
Signal
Peripheral
Device(s)
Figure 79. Peripheral Device as Part of the Daisy Chain
2-72
DS971800500
Page 73
Zilog
PACKAGE INFORMATION
SMART ACCESS CONTROLLER SAC
Z80181
™
DS971800500
100-Pin QFP Package Diagram
2-73
Page 74
Zilog
ORDERING INFORMATION
Z80181 (10 MHz)
Extended Temperature
100-Pin QFP
Z8018110FEC
Package
Longer Lead Time
F = Plastic Quad Flat Pack
Temperature
Longer Lead Time
E = –40°C to +100°C
Environmental
C = Plastic Standard
Speed
10 = 10 MHz
Example:
Z 80181 10 F E C is a Z80181, 10 MHz, QFP, –40°C to +100°C, Plastic Standard Flow
SMART ACCESS CONTROLLER SAC
Z80181
™
Environmental Flow
Temperature
Package
Speed
Product Number
Zilog Prefix
Zilog’s products are not authorized for use as critical components in life support devices or systems unless a specific written
agreement pertaining to such intended use is executed between
the customer and Zilog prior to use. Life support devices or
systems are those which are intended for surgical implantation
into the body, or which sustains life whose failure to perform,
when properly used in accordance with instructions for use
provided in the labeling, can be reasonably expected to result in
significant injury to the user.
Zilog, Inc. 210 East Hacienda Ave.
Campbell, CA 95008-6600
Telephone (408) 370-8000
Telex 910-338-7621
FAX 408 370-8056
Internet: http://www.zilog.com
2-74
DS971800500
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.