ZiLOG Corporation • 532 Race Street • San Jose, CA 95126-3432 • www.zilog.com
Product Block Diagram
Overview
The Z8F642x/Z8F482x/Z8F322x/Z8F242x/
Z8F162x devices are Flash microcontrollers based
on ZiLOG®s advanced eZ8 8-bit microprocessor
core. The Z8 Encore!® MCU family of devices sets
a new standard for performance and on-chip
peripherals.
The Z8F642x/Z8F482x/Z8F322x/Z8F242x/
Z8F162x devices feature up to twelve channels of
10-bit A/D conversion for measuring analog
signals.
These devices include four enhanced 16-bit timer
blocks featuring PWMs and Capt ure and Compare.
Up to 24 vectored interrupts with programmable
priorities provide increased application flexibility.
The single-pin debugger and programming
interface simplifies code development and allows
for easy in-circuit programming.
Two full-duplex UARTs provide serial
communications and IrDA encoding and decoding
capability. SPI and I2C ports allow easy
incorporation into any system.
Z8 Encore!
®
MCU Features
20MHz ZiLOG® eZ8 microprocessor core
Up to 64KB Flash program memory
Up to 4KB register RAM
Up to twelve channels 10-bit A/D conversion
Up to four enhanced 16-bit timer blocks with
PWMs and Capture and Compare. The 40- and
44-pin packages feature only 3 timers. The
fourth timer is available only in the 64-, 68-
and 80-pin packages.
I2C
Serial Peripheral Interface
Two full-duplex 9-bit UARTs with bus trans-
ceiver Driver Enable control
Two IrDA-compliant infrared encoder/
decoders
Up to 60 available I/O pins
3-channel DMA controller
On-chip debug with break and trap capability
Single-pin Flash programming
Watch -Dog Timer
Selectable oscillator modes
External RC Networks (<4MHz)
Power saving low frequency crystals
(32KHz to 1.0MHz)
20MHz
eZ8 CPU
16–64KB
Flash
2 or 4KB
SRAM
Up to 12 Channels 10-bit ADC
3 or 4 16-bit Timers
Capture/Compare/PWM
Watch-Dog Timer POR/VBO
& Reset
Control
SPI, I2C,
Two UARTs
with IrDA On-Chip Debugger Crystal/RC
Oscillator
Up to 60 I/O Pins
Z8F642x Series
Advanced 20MHz Flash Microcontrollers
PB012401-0903 Product Brief
PB012401-0903
Z8 Encore!®
Advanced 20MHz Flash Microcontrollers
2
Medium frequency crystals or resonators
(0.5MHz to 10.0MHz)
High frequency crystals (8.0MHz to
20.0MHz)
Up to 24 vectored interrupts
Power-on reset and voltage brown-out
3.0 to 3.6 operating voltage with 5V-tolerant
inputs
Operating temperatures: Standard (0° to 70°C)
and Extended (-40° to +105°C)
40-, 44-, 64- 68- and 80-pin packages
eZ8 Microprocessor Features
New instructions for improved performance
including BIT, BSWAP, BTJ, CPC, LDC,
LDCI, LEA, MULT, and SRL
New instructions support 12-bit linear address-
ing of the Register File
Compatible with existing Z8® code
Up to 10 MIPS operation
C-Compiler friendly
2-9 clock cycles per instruction
Z8 Encore!
®
Evaluation Kit
The Z8 Encore!® Evaluation Kit includes the
following:
Hardware
Z8 Encore!® Evaluation board
Smart cable
5VDC power supply
Software
ZDS II - Z8 Encore!® IDE with ANSI
C-Compiler
Sample code
Documentation
Quick Start Guide
Registration Card
Z8 Encore!® technical documentation
(on CD-ROM):
Evaluation Kit User Manual
ZDS II - IDE User Manual
eZ8 CPU User Manual
Product Specification
Product briefs
Application notes
Programmers Reference Sheet
Flyer
Selector guide
PB012401-0903
Z8 Encore!®
Advanced 20MHz Flash Microcontrollers
3
Architecture
Figure 1 illustrates the Z8F642x/Z8F482x/Z8F322x/Z8F242x/Z8F162x devices block diagram.
Figure 1. Z8F642x/Z8F482x/Z8F322x/Z8F242x/Z8F162x Devices Block Diagram
* The 40- and 44-pi n p ackages f eature only 3 timers. The fourt h timer is unavailable in thes e pa ckages.
Watch-Dog
Timer Reset
Control
RC
Oscillator
16-Bit Counter/
Timer/Cap/PWM
16-Bit Counter/
Timer/Cap/PWM
16-Bit Counter/
Timer/Cap/PWM
16-Bit Counter/
Timer/Cap/PWM*
Up to 12 Channels
10-Bit A/D
Converter
SPI
I2C
UART 1
UART 0 Interrupt
Controller
DMA
Controller
Register File
2K or 4K x 8
eZ8
20 MHz
CPU
Crystal/RC
Oscillator
On-Chip
Debugger
Flash
Program
Memory
16–64K x 8
Port A Port B Port C Port D Port E** Port F** Port G** Port H**
** Ports E, F, G and H availability de pends on the p ackage.
PB012401-0903
Z8 Encore!®
Advanced 20MHz Flash Microcontrollers
4
Ordering Information
Order the Z8F642x/Z8F482x/Z8F322x/Z8F242x/
Z8F162x devices from ZiLOG®, referencing the
following part numbers. For more information
regarding ordering, please consult your local
ZiLOG® sales office. The ZiLOG® website at
www.zilog.com lists all regional offices, as well as
additional Z8 Encore!® product information.
Part Number
Flash
RAM
I/O Lines
Interrupts
16-Bit Timers
with PWM
10-Bit A/D Channels
I2C
SPI
UARTs with IrDA
Description
Z8F642x
Standard Temperature: 0° to 70°C
Z8F6421PM020SC 64KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F6421AN020SC 64KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F6421VN020SC 64KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F6422AR020SC 64KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F6422VS020SC 64KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package
Z8F6423FT020SC 64KB 4KB 60 24 4 12 1 1 2 QFP 80-pin package
Extended Temperature: -40° to +105°C
Z8F6421PM020SC 64KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F6421AN020EC 64KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F6421VN020EC 64KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F6422AR020EC 64KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F6422VS020EC 64KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package
Z8F6423FT020EC 64KB 4KB 60 24 4 12 1 1 2 QFP 80-pin package
Z8F482x
Standard Temperature: 0° to 70°C
Z8F4821PM020SC 48KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F4821AN020SC 48KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F4821VN020SC 48KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package
PB012401-0903
Z8 Encore!®
Advanced 20MHz Flash Microcontrollers
5
Z8F4822AR020SC 48KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F4822VS020SC 48KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package
Z8F4823FT020SC 48KB 4KB 60 24 4 12 1 1 2 QFP 80-pin package
Extended Temperature: -40° to +105°C
Z8F4821PM020EC 48KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F4821AN020EC 48KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F4821VN020EC 48KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F4822AR020EC 48KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F4822VS020EC 48KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package
Z8F4823FT020EC 48KB 4KB 46 24 4 12 1 1 2 QFP 80-pin package
Z8F322x
Standard Temperature: 0° to 70°C
Z8F3221PM020SC 32KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F3221AN020SC 32KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F3221VN020SC 32KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F3222AR020SC 32KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F3222VS020SC 32KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package
Extended Temperature: -40° to 105°C
Z8F3221PM020EC 32KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F3221AN020EC 32KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F3221VN020EC 32KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F3222AR020EC 32KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F3222VS020EC 32KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package
Z8F242x
Standard Temperature: 0° to 70°C
Z8F2421PM020SC 24KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F2421AN020SC 24KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package
Part Number
Flash
RAM
I/O Lines
Interrupts
16-Bit Timers
with PWM
10-Bit A/D Channels
I2C
SPI
UARTs with IrDA
Description
PB012401-0903
Z8 Encore!®
Advanced 20MHz Flash Microcontrollers
6
Z8F2421VN020SC 24KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F2422AR020SC 24KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F2422VS020SC 24KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package
Extended Temperature: -40° to 105°C
Z8F2421PM020EC 24KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F2421AN020EC 24KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F2421VN020EC 24KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F2422AR020EC 24KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F2422VS020EC 24KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package
Z8F162x
Standard Temperature: 0° to 70°C
Z8F1621PM020SC 16KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F1621AN020SC 16KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F1621VN020SC 16KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F1622AR020SC 16KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F1622VS020SC 16KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package
Extended Temperature: -40° to +105°C
Z8F1621PM020EC 16KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package
Z8F1621AN020EC 16KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package
Z8F1621VN020EC 16KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package
Z8F1622AR020EC 16KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package
Z8F1622VS020EC 16KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package
Z8F64200100KIT Evaluation Kit
Part Number
Flash
RAM
I/O Lines
Interrupts
16-Bit Timers
with PWM
10-Bit A/D Channels
I2C
SPI
UARTs with IrDA
Description
PB012401-0903
Z8 Encore!®
Advanced 20MHz Flash Microcontrollers
7
Part Number Suffix Designations
Z8 F 64 21 P M 020 S C
Environmental Flow: C = Plastic Standard
Temperature Range (°C):
S = Standard, 0 to 70
E = Extended, -40 to +105
Speed:
020 - 20 MHz
Pin Count:
M = 40
N = 44
R = 64
S = 68
T = 80
Package:
A = LQFP
F = QFP
P = PDIP
V = PLCC
Device Type
Memory Size:
16–64KB*, 2 or 4KB RAM
Memory Type:
F = Flash
R = ROM
Device Family
* Not all packages are available for all memory sizes. See Ordering Information for the
packages available for your requirements.
PB012401-0903
Z8 Encore!®
Advanced 20MHz Flash Microcontrollers
8
Disclaimer
©2003 by ZiLOG, Inc. All rights reserved. Information in this publication concerning the devices, applications, or
technology described is intended to su ggest possible uses and may be superseded. ZiLOG, INC. DOES NOT
ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES,
OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZiLOG ALSO DOES NOT ASSUME LIABILITY FOR
INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER T O USE OF INFORMATION, DEVICES,
OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. Devices sold by ZiLOG, Inc. are covered by warranty
and limitation of liability provisions appearing in the ZiLOG, Inc. Terms and Conditio ns of Sale. ZiLOG, Inc. makes no
warranty of merchantability or fitness for any purpose. Except with the express writt en approval of ZiLOG, use of
information, devices, or technology as critical components of life support systems is not authorized. No licenses are
conveyed, implicitly or otherwise, by this document under any intellectual property rights.