ZILOG Z8F0821HH020EC

High-Performance 8-Bit Microcontrollers
Z8 Encore!® 8K Series
Product Brief
PB011107-0204
Product Block Diagram
4–8KB Flash
1KB RAM
Two 16-Bit
Timers/PWM
20MHz
eZ8 CPU
SPI, I2C, UART
with IrDA
On-Chip
Debugger
PRELIMINARY
The new single-pin debugger and programming
interface simplifies code development and allows
for easy in-circuit programming.
Up to 5
Channels
10-Bit ADC
The full-duplex UART provides serial
communications and IrDA encoding and decoding
capability.
POR/VBO
& Reset
Control
SPI and I2C ports allow easy incorporation into
any system.
Watch-Dog
Timer with RC
Oscillator
Crystal/RC
Oscillator
Up to 19 General-Purpose I/O Pins
Features
•
•
•
•
Overview
•
The Z8 Encore!® 8K Series devices are Flash
microcontrollers based on the ZiLOG® eZ8 CPU.
The Z8 Encore!® 8K Series MCU devices sets a
new standard for performance and on-chip
peripherals.
•
•
•
•
®
The Z8 Encore! 8K Series devices support up to
8KB of Flash (or optional ROM) program memory
and 1KB register RAM
The 8K Series devices feature up to five channels
of 10-bit A/D conversion for measuring analog
signals.
These devices include two enhanced 16-bit timer
blocks featuring PWMs and Capture and Compare.
Up to 19 vectored interrupts with programmable
priorities provide increased application flexibility.
•
•
•
•
•
•
•
•
20MHz eZ8 CPU core
Up to 8KB Flash memory (or optional ROM)
with in-circuit programming capability (Flash
only)
1KB register RAM
Optional 2- or 5-channel, 10-bit analog-to-digital converter (ADC)
Full-duplex 9-bit UART with bus transceiver
Driver Enable Control
I2C
Serial peripheral interface (SPI)
Infrared Data Association (IrDA)-compliant
infrared encoder/decoders
Two 16-bit timers with capture, compare, and
PWM capability
Watch-Dog Timer (WDT) with internal RC
oscillator
11-19 I/O pins depending upon package
Up to 19 interrupts with configurable priority
On-Chip Debugger
Voltage Brown-out Protection (VBO)
Power-On Reset (POR)
Crystal oscillator with three power settings and
external RC network option
2.7–3.6V operating voltage with 5V-tolerant
inputs
ZiLOG, Inc. • 532 Race Street San Jose, CA 95126-3432 • www.zilog.com
Z8 Encore! 8K Series
Product Brief
2
•
20- and 28-pin packages
•
0° to +70°C standard temperature and -40° to
+105°C extended temperature operating ranges
eZ8 CPU Features
•
New instructions for improved performance
including BIT, BSWAP, BTJ, CPC, LDC,
LDCI, LEA, MULT, and SRL
Documentation
•
•
•
Quick Start Guide
Registration card
Z8 Encore!® 8K Series technical documentation (on CD-ROM)
–
Development Kit User Manual
–
ZDS II - IDE User Manual
–
eZ8 CPU User Manual
•
New instructions support 12-bit linear addressing of the Register File
–
Product specification
•
Compatible with existing Z8® code
–
Product brief
•
Up to 10 MIPS operation
–
Application notes
•
C-Compiler friendly
–
Programmer’s Reference Sheet
•
2-9 clock cycles per instruction
Z8 Encore!® 8K Series
Development Kit
The Z8 Encore!® 8K Series Development Kit
includes the following:
Hardware
•
Z8 Encore!® 8K Series Development board
•
Smart Cable for PC to Z8 Encore!® 8K Series
Development board (DB9 to 6-pin male)
•
5VDC power supply
Software (on CD-ROM)
•
ZDS II–Z8 Encore!® IDE with ANSI C-Compiler
•
Sample code
•
Document Browser
•
Acrobat Reader install program
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
3
Architecture
Figure 1 illustrates the Z8 Encore!® 8K Series block diagram.
WDT with RC
Oscillator
POR/VBO
Reset Control
5 Channel
10-Bit A/D
Converter
2 x 16-Bit
Timer/PWM
Crystal/RC
Oscillator
eZ8
20MHz
CPU
On-Chip
Debugger
I2C
SPI
Register File
1KB x 8
UART with IRDA
Port A
Interrupt
Controller
Port B
Flash
Program
Memory
8KB x 8
Port C
Figure 1. Z8 Encore!® 8K Series Block Diagram
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
4
Ordering Information
UARTs with IrDA
1
0
1 SSOP 20-pin package
Z8F0821PH020SC
8KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8F0822SJ020SC
8KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8F0822PJ020SC
8KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
Description
SPI
2
10-Bit A/D
Channels
2
Interrupts
11 16
I/O Lines
1KB
RAM
8KB
Flash/ROM
Z8F0821HH020SC
Part Number
I 2C
16-Bit Timers w/PWM
Order the Z8 Encore!® 8K Series 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 and provides additional Z8 Encore!® product information.
Z8F08xx with 8KB Flash, 10-Bit Analog-to-Digital Converter
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to +105°C
Z8F0821HH020EC
8KB
1KB
11 16
2
2
1
0
1 SSOP 20-pin package
Z8F0821PH020EC
8KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8F0822SJ020EC
8KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8F0822PJ020EC
8KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
10-Bit A/D
Channels
I 2C
SPI
UARTs with IrDA
2
0
1
0
1 SSOP 20-pin package
Z8F0811PH020SC
8KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8F0812SJ020SC
8KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8F0812PJ020SC
8KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
Description
16-Bit Timers w/PWM
11 16
I/O Lines
1KB
RAM
8KB
Flash/ROM
Z8F0811HH020SC
Part Number
Interrupts
5
Z8F08xx with 8KB Flash
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to +105°C
Z8F0811HH020EC
8KB
1KB
11 16
2
0
1
0
1 SSOP 20-pin package
Z8F0811PH020EC
8KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8F0812SJ020EC
8KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8F0812PJ020EC
8KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
UARTs with IrDA
1
0
1 SSOP 20-pin package
Z8F0421PH020SC
4KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8F0422SJ020SC
4KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8F0422PJ020SC
4KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
Description
SPI
2
10-Bit A/D
Channels
2
Interrupts
11 16
I/O Lines
1KB
RAM
4KB
Flash/ROM
Z8F0421HH020SC
Part Number
I 2C
16-Bit Timers w/PWM
6
Z8F04xx with 4KB Flash, 10-Bit Analog-to-Digital Converter
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to 105°C
Z8F0421HH020EC
4KB
1KB
11 16
2
2
1
0
1 SSOP 20-pin package
Z8F0421PH020EC
4KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8F0422SJ020EC
4KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8F0422PJ020EC
4KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
10-Bit A/D
Channels
I 2C
SPI
UARTs with IrDA
2
0
1
0
1 SSOP 20-pin package
Z8F0411PH020SC
4KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8F0412SJ020SC
4KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8F0412PJ020SC
4KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
Description
16-Bit Timers w/PWM
11 16
I/O Lines
1KB
RAM
4KB
Flash/ROM
Z8F0411HH020SC
Part Number
Interrupts
7
Z8F04xx with 4KB Flash
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to 105°C
Z8F0411HH020EC
4KB
1KB
11 16
2
0
1
0
1 SSOP 20-pin package
Z8F0411PH020EC
4KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8F0412SJ020EC
4KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8F0412PJ020EC
4KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
UARTs with IrDA
1
0
1 SSOP 20-pin package
Z8R0821PH020SC
8KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8R0822SJ020SC
8KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8R0822PJ020SC
8KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
Description
SPI
2
10-Bit A/D
Channels
2
Interrupts
11 16
I/O Lines
1KB
RAM
8KB
Flash/ROM
Z8R0821HH020SC
Part Number
I 2C
16-Bit Timers w/PWM
8
Z8R08xx with 8KB ROM, 10-Bit Analog-to-Digital Converter
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to +105°C
Z8R0821HH020EC
8KB
1KB
11 16
2
2
1
0
1 SSOP 20-pin package
Z8R0821PH020EC
8KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8R0822SJ020EC
8KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8R0822PJ020EC
8KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
10-Bit A/D
Channels
I 2C
SPI
UARTs with IrDA
2
0
1
0
1 SSOP 20-pin package
Z8R0811PH020SC
8KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8R0812SJ020SC
8KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8R0812PJ020SC
8KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
Description
16-Bit Timers w/PWM
11 16
I/O Lines
1KB
RAM
8KB
Flash/ROM
Z8R0811HH020SC
Part Number
Interrupts
9
Z8R08xx with 8KB ROM
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to +105°C
Z8R0811HH020EC
8KB
1KB
11 16
2
0
1
0
1 SSOP 20-pin package
Z8R0811PH020EC
8KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8R0812SJ020EC
8KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8R0812PJ020EC
8KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
UARTs with IrDA
1
0
1 SSOP 20-pin package
Z8R0421PH020SC
4KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8R0422SJ020SC
4KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8R0422PJ020SC
4KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
Description
SPI
2
10-Bit A/D
Channels
2
Interrupts
11 16
I/O Lines
1KB
RAM
4KB
Flash/ROM
Z8R0421HH020SC
Part Number
I 2C
16-Bit Timers w/PWM
10
Z8R04xx with 4KB ROM, 10-Bit Analog-to-Digital Converter
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to 105°C
Z8R0421HH020EC
4KB
1KB
11 16
2
2
1
0
1 SSOP 20-pin package
Z8R0421PH020EC
4KB
1KB
11 16
2
2
1
0
1 PDIP 20-pin package
Z8R0422SJ020EC
4KB
1KB
19 19
2
5
1
1
1 SOIC 28-pin package
Z8R0422PJ020EC
4KB
1KB
19 19
2
5
1
1
1 PDIP 28-pin package
PB011107-0204
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
10-Bit A/D
Channels
I 2C
SPI
UARTs with IrDA
2
0
1
0
1 SSOP 20-pin package
Z8R0411PH020SC
4KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8R0412SJ020SC
4KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8R0412PJ020SC
4KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
Description
16-Bit Timers w/PWM
11 16
I/O Lines
1KB
RAM
4KB
Flash/ROM
Z8R0411HH020SC
Part Number
Interrupts
11
Z8F04xx with 4KB ROM
Standard Temperature: 0° to 70°C
Extended Temperature: -40° to 105°C
Z8R0411HH020EC
4KB
1KB
11 16
2
0
1
0
1 SSOP 20-pin package
Z8R0411PH020EC
4KB
1KB
11 16
2
0
1
0
1 PDIP 20-pin package
Z8R0412SJ020EC
4KB
1KB
19 19
2
0
1
1
1 SOIC 28-pin package
Z8R0412PJ020EC
4KB
1KB
19 19
2
0
1
1
1 PDIP 28-pin package
Z8F08200100KIT
PB011107-0204
Development Kit
PRELIMINARY
Z8 Encore! 8K Series
Product Brief
12
Part Number Suffix Designations
Z8
F
08 21 H
H 020 S
C
Environmental Flow: C = Plastic Standard
Temperature Range (°C):
S = Standard, 0 to 70
E = Extended, -40 to +105
Speed:
020 = 20MHz
Pin Count:
H = 20
J = 28
Package:
H = SSOP
P = PDIP
S = SOIC
Device Type
Memory Size:
8KB, 1KB RAM
4KB, 1KB RAM
Memory Type:
F = Flash
R = Read-Only Memory
Device Family
Disclaimer
©2004 by ZiLOG, Inc. All rights reserved. Information in this publication concerning the devices, applications, or
technology described is intended to suggest 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 TO 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 Conditions of Sale. ZiLOG, Inc. makes no
warranty of merchantability or fitness for any purpose. Except with the express written 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.
PB011107-0204
PRELIMINARY