Z86L04 Zilog., Z86L04 Datasheet

no-image

Z86L04

Manufacturer Part Number
Z86L04
Description
Z8 8-Bit Cost-Effective Microcontrollers
Manufacturer
Zilog.
Datasheet
FEATURES
Device
Z86L04
Z86L08
Note: *General-Purpose
GENERAL DESCRIPTION
Zilog's Z86L04/L08 microcontrollers (MCUs) are members
of the Z8 single-chip MCU family, which offer easy soft-
ware/hardware system expansion.
For applications demanding powerful I/O capabilities, the
MCU's dedicated input and output lines are grouped into
three ports, and are configurable under software control to
provide timing, status signals, or parallel I/O.
DS97LVO0901
18-Pin DIP and SOIC Packages
0 C to + 70 C Standard Temperature
2.0V to 3.9V Operating Range
14 Input / Output Lines
Five Vectored, Prioritized Interrupts from Five Different
Sources
Two On-Board Comparators
Software Enabled Watch-Dog Timer (WDT)
Programmable Interrupt Polarity
Two Standby Modes: STOP and HALT
Low-Voltage Protection
ROM
(KB)
1K
2K
(Bytes)
RAM*
125
125
Speed
(MHz)
8
8
Optional Optional
Optional Optional
Latch
Auto
Permanent
P R E L I M I N A R Y
WDT
Z86L04/L08
Z8 8-B
M
One on-chip counter/timer, with a large number of user-se-
lectable modes, off-load the system of administering real-
time tasks such as counting/timing and I/O data communi-
cations. Additionally, two on-board comparators process
analog signals with a common reference voltage (Figure
1).
ICROCONTROLLERS
ROM Mask/OTP Options:
Two Programmable 8-Bit Counter/Timers with
6-Bit Programmable Prescalers
Power-On Reset (POR) Timer
On-Chip Oscillator that Accepts RC, Crystal, Ceramic
Resonator, LC, or External Clock Drive
Clock-Free WDT Reset
Low-Power Consumption (40 mw)
Fast Instruction Pointer (1.5 s @ 8 MHz)
Fourteen Digital Inputs at CMOS Levels;
Schmitt-Triggered
P
RELIMINARY
WDT Clock Source (Z86L04 only)
ROM Protect
Auto Latch Disable
Permanent Watch-Dog Timer (WDT)
RC Oscillator
32 kHz Crystal Operation
Low EMI
IT
C
OST
-E
P
RODUCT
FFECTIVE
S
PECIFICATION
1
1
1

Related parts for Z86L04

Z86L04 Summary of contents

Page 1

... Programmable Interrupt Polarity Two Standby Modes: STOP and HALT Low-Voltage Protection GENERAL DESCRIPTION Zilog's Z86L04/L08 microcontrollers (MCUs) are members of the Z8 single-chip MCU family, which offer easy soft- ware/hardware system expansion. For applications demanding powerful I/O capabilities, the MCU's dedicated input and output lines are grouped into three ports, and are configurable under software control to provide timing, status signals, or parallel I/O ...

Page 2

... Low, e.g.: B//W (WORD is active Low); /B/W (BYTE is active Low, only). Input Port 3 Counter/ Timer Interrupt Control Two Analog Comparators Port 2 I/O (Bit Programmable) Figure 1. Z86L04/L08 Functional Block Diagram 2 Power connections follow conventional descriptions be- low: Connection Power Ground XTAL Vcc GND Machine Timing & Inst. Control ...

Page 3

... Z8 MCU Address Counter PGM Mode Logic Clear Clock EPM /CE P00 P01 P32 XT1 Figure 2. EPROM Programming Mode Block Diagram DS97LVO0901 D7-D0 A10-A0 A10-A0 EPROM A10-A0 3 Bits Option Bits /PGM VPP P02 P33 Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers D7-D0 D7-D0 /OE P31 1 3 ...

Page 4

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers PIN DESCRIPTIONS P24 1 P25 P26 P27 DIP 18 - Pin VCC XTAL2 XTAL1 P31 9 P32 Figure 3. 18-Pin Standard Mode Configuration Table 1. 18-Pin Standard Mode Identification Pin # Symbol Function 1-4 P24-P27 Port 2, Pins 7In/Output 5 V Power Supply CC 6 XTAL2 ...

Page 5

... Device pin is not at an output Low state. – (sum sum of [(V – Capacitance Min Max Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers Min Max –40 +105 –65 +150 –0.7 +12 –0.3 +7 –0 –0.7 ...

Page 6

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers DC CHARACTERISTICS Z86L04/L08 V Sym. Parameter CC V Clock Input High 2.0V CH Voltage 3.9V V Clock Input Low 2.0V CL Voltage 3.9V V Input High Voltage 2.0V IH 3.9V V Input Low Voltage 2.0V IL 3.9V V Output High Voltage 2.0V OH 3.9V V Output Low Voltage 2.0V OL1 3.9V V Output Low Voltage 2.0V OL2 3.9V V Comparator Input 2.0V OFFSET Offset Voltage 3 ...

Page 7

... The minimum operational 3 Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers Units Conditions Notes MHz MHz MHz MHz MHz MHz MHz MHz < V < V ...

Page 8

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers AC ELECTRICAL CHARACTERISTICS Clock IRQ Figure 6. AC Electrical Timing Diagram Zilog 3 DS97LVO0901 ...

Page 9

... Power-On Reset Time Notes: 1. Timing Reference uses 0.7 V for a logic 1 and 0 Interrupt request through Port 3 (P33-P31). 3. IRQ 0,1,2 only. 4. For Z86L08 using internal RC oscillator. 5. For Z86L04 using internal RC oscillator. Precaution: Maximum frequency in Low EMI mode is 1 MHz. DS97LVO0901 Z8 8-Bit Cost-Effective Microcontrollers + ...

Page 10

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers PIN FUNCTIONS XTAL1, XTAL2 Crystal In, Crystal Out (time-based input and output, respectively). These pins connect a parallel- resonant crystal, LC, RC external single-phase clock (8 MHz max) to the on-chip clock oscillator and buff- er. Port 0, P02-P00. Port 3-bit bidirectional, Schmitt-trig- gered CMOS compatible I/O port ...

Page 11

... DS97LVO0901 control to be inputs or outputs, independently. Bits pro- grammed as outputs can be globally programmed as ei- ther push-pull or open-drain (Figure 8). Port 2 2.3 Hysteresis VCC @ 5.0V R 500 k Figure 8. Port 2 Configuration Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers Port 2 (I/O) PAD Auto Latch Option 1 11 ...

Page 12

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers PIN FUNCTIONS (Continued) Port 3, P33-P31. Port 3-bit, CMOS, compatible port with three fixed input (P33-P31) lines. These three input lines can be configured under software control as digital Schmitt-trigger inputs or analog inputs. PAD + P31 (AN1) - PAD + P32 (AN2) ...

Page 13

... In analog mode, P33 input functions serve as a reference voltage to the comparators. FUNCTIONAL DESCRIPTION The following special functions have been incorporated into the Z86L04/L08 devices to enhance the standard Z8 core architecture to provide the user with increased design flexibility. POR (Cold Start) ...

Page 14

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers Power-On Reset (POR). A timer circuit clocked by a ded- icated on-board RC oscillator is used for a POR timer func- tion. The POR time allows V and the oscillator circuit to CC stabilize before instruction execution begins. The POR timer circuit is a one-shot timer triggered by one of the five ...

Page 15

... Port 3 Mode Port 2 Mode T o Prescaler Timer/Counter0 T1 Prescaler Timer/Counter1 Timer Mode Not Implemented General Purpose Registers 4 3 Port 3 2 Port 2 1 Reserved 0 Port 0 Figure 12. Register File Z86L04/L08 Indentifiers SPL 1 RP Flags IMR IRQ IPR P01M P3M P2M PRE0 T0 PRE1 T1 TMR ...

Page 16

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers FUNCTIONAL DESCRIPTION (Continued The upper nibble of the register file address provided by the register pointer specifies the active working-register group. FF Register Group Specified Working Register Group Register Group 1 ...

Page 17

... Counter 6-Bit Down Counter PRE1 Initial Value Initial Value Register Write Write Internal Data Bus Figure 14. Counter/Timers Block Diagram Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers Read T0 T0 Current Value Register 8-bit Down Counter IRQ4 8-Bit IRQ5 Down Counter ...

Page 18

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers FUNCTIONAL DESCRIPTION (Continued) Interrupts. The Z8 has five interrupts from four different sources. These interrupts are maskable and prioritized (Figure 15). The sources are divided as follows: the falling edge of P31 (AN1), P32 (AN2), P33 (REF), the rising edge of P32 (AN2), and one counter/timer. The Interrupt Mask Register globally or individually enables or disables the five interrupt requests (Table 4) ...

Page 19

... V to reduce Ground noise injection. XTAL1 XTAL2 C2 LC Clock External Clock =Device Ground Pin * Figure 16. Oscillator Configuration Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers SS XTAL1 XTAL1 C R Vss * XTAL2 XTAL2 RC Clock 1 , Pin 14 19 ...

Page 20

... RC oscillator or the internal system clock (SCLK). If the SCLK is selected, then the WDT time out (T 130,416 x SCLK and the T the permanent WDT option is selected in this case; the WDT will not run in STOP mode. (Z86L04 only) Auto Reset Voltage (V in. The auto-reset circuit resets the Z8 when it detects the V below V ...

Page 21

... WDT Clock Source. This selects the clock source of the WDT and POR counter chain to be driven by either the in- ternal system clock or the internal on-board RC oscillator. (Z86L04 only). Low EMI. The Low EMI (Low noise) mode by passes the divide by two clock circuit (SCLK = XTAL/1) and lowers the output sink and drive currents by 75 percent ...

Page 22

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers Z8 CONTROL REGISTERS R241 TMR Reserved (Must Disable T Count 1 Enable T Count 0 No Function 1 Load Disable T Count 1 Enable T Count External Clock Input 01 Gate Input 10 Trigger Input 11 Trigger Input Reserved (Must be 0.) Figure 18. Timer Mode Register (F1 ...

Page 23

... Half Carry Flag Decimal Adjust Flag Overflow Flag Sign Flag Zero Flag Carry Flag : Read/Write 8-Bit Cost-Effective Microcontrollers Reserved (Must be 0.) Register Pointer : Read/Write) H Stack Pointer Lower Byte (SP : Read/Write) H Z86L04/L08 ...

Page 24

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers PACKAGE INFORMATION 24 Figure 30. 18-Pin DIP Package Diagram Figure 31. 18-Pin SOIC Package Diagram Zilog DS97LVO0901 ...

Page 25

... Zilog, Inc. 210 East Hacienda Ave. Campbell, CA 95008-6600 Telephone (408) 370-8000 FAX 408 370-8056 Internet: http://www.zilog.com Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers 1 25 ...

Page 26

... Z86L04/L08 Z8 8-Bit Cost-Effective Microcontrollers Zilog DS97LVO0901 ...

Related keywords