ZiLOG Z8 Encore! 8K/4K MCU User manual

ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126-3432
Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com
Preliminary
UM015003-0603
Z8F08200100KIT
Z8 Encore!TM 8K/4K MCU
Evaluation Kit
User Manual

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Disclaimer Preliminary UM015003-0603
ii
This publication is subject to replacement by a later edition. To determine whether a later
edition exists, or to request copies of publications, contact:
ZiLOG Worldwide Headquarters
532 Race Street
San Jose, CA 95126-3432
Telephone: 408.558.8500
Fax: 408.558.8300
www.ZiLOG.com
Document Disclaimer
ZiLOG is a registered trademark of ZiLOG Inc. in the United States and in other countries. All other products
and/or service names mentioned herein may be trademarks of the companies with which they are associated.
©2003 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. 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.

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Disclaimer Preliminary UM015003-0603
iii
Safeguards
The following precautions must be observed when working with the
devices described in this document.
Always use a grounding strap to prevent damage resulting from electro-
static discharge (ESD).
Caution:

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Table of Contents Preliminary UM015003-0603
iv
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Software (on CD-ROM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
System/Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Supported Host System Configuration . . . . . . . . . . . . . . . . . . . . . . . .3
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Z8 Encore! 8K/4K Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Crystal Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .9
External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . . . . . .10
Schematics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
List of Figures Preliminary UM015003-0603
v
List of Figures
Figure 1. Z8 Encore! MCU Evaluation Kit Contents . . . . . . . . . . . . . .2
Figure 2. Z8 Encore!™ 8K/4K Evaluation Board . . . . . . . . . . . . . . . .6
List of Tables
Table 1. Jumpers JP3 and JP4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Introduction Preliminary UM015003-0603
1
Introduction
The Z8 Encore!™ 8K/4K MCU is the part of the line of ZiLOG micro-
controller products.
The Z8 Encore! MCU Evaluation Kit (Z8F08200100KIT) enables users
to become familiar with the hardware and software tools available with
this product. This kit consists of the 8KB version of the Z8 Encore! evalu-
ation board that supports and presents the features of the Z8 Encore! 8K/
4K. This kit allows users to begin writing application software and con-
tains all supporting documents.
This manual acquaints users with the Z8 Encore! 8K/4K MCU Evaluation
Kit, and gives instructions on setting up and using the tools to start build-
ing designs and applications.
Kit Contents
The Z8 Encore!TM 8K/4K MCU Evaluation Kit contains the following:
Hardware
•
Z8 Encore!™ 8K/4K Evaluation board
•
Smart Cable for PC to Z8 Encore! 8K/4K evaluation board (DB9 to
six-pin male)
•
5VDC power supply

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Introduction Preliminary UM015003-0603
2
Figure 1. Z8 Encore! MCU Evaluation Kit Contents
Software (on CD-ROM)
•
ZDS II- Z8 Encore! IDE with ANSI C-Compiler
•
Sample code
•
Document browser
•
Acrobat Reader install program
Documentation
•
Quick Start Guide
•
Registration card
Evaluation
Board
Packaging
CD-ROM Containing
Documentation
Power
Supply
Smart Cable

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Introduction Preliminary UM015003-0603
3
•
Z8 Encore!TM 8K/4K technical documentation (on CD-ROM)
– Evaluation Kit User Manual
– ZDS II - IDE User Manual
– eZ8 CPU User Manual
– Product Specification
– Product brief
– Application notes
– Programmer’s Reference Sheet
The sample code is installed with ZDS II and resides in the <installa-
tion directory>\samples in the user's disk drive.
The documentation can be installed by the user with the DemoShield
interface or can be viewed on the CD-ROM using the DemoShield menus
and a PDF reader. A copy of the Acrobat installer is provided on the CD-
ROM and can be installed from the DemoShield install screen. After
installing the documentation on the user’s system Windows Explorer can
be used to select any document to be viewed with your favorite PDF file
viewer.
System/Software Requirements
IBM PC (or compatible computer) with the following minimum configu-
rations:
Supported Host System Configuration
•
Win98 Second Edition, WinNT 4.0 Service Pack 6, Win2000 Service
Pack 3, WinXP Service Pack 1
•
PentiumII/233MHz processor or higher up to Pentium IV, 2.8 GHz
•
96MB RAM or more
•
25MB hard disk space or more
•
Super VGA video adapter

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Introduction Preliminary UM015003-0603
4
•
CD-ROM
•
One or more RS-232 communication ports

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Installation Preliminary UM015003-0603
5
Installation
Follow the directions in the Quick Start Guide for software installation
and setup of the Z8 Encore! evaluation kit.

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Z8 Encore! 8K/4K Evaluation Board Preliminary UM015003-0603
6
Z8 Encore! 8K/4K Evaluation Board
Introduction
The Z8 Encore! 8K/4K evaluation board is an evaluation and prototyping
board for the Z8 Encore! Z8 Encore! 8K/4K MCU. The board provides
customers with a tool to evaluate features of Z8 Encore! 8K/4K MCU,
and to start developing an application before building the hardware.
Figure 14. Z8 Encore!™ 8K/4K Evaluation Board
J1
P2
U6
J2
TEST
RESET
LEDs
RS-232
Serial Port
Y1

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Z8 Encore! 8K/4K Evaluation Board Preliminary UM015003-0603
7
Features
•
Z8 Encore!™ MCU (28-pin SOIC)
•
3 LEDs
•
RS-232 interface
•
IrDA transceiver
•
Two pushbuttons, RESET and TEST
•
5VDC power connector
•
On-Chip Debugger interface
•
Crsytal Oscillator at 18.432MHz
•
Header for ADC input
•
Prototyping area
•
External interface connectors JP1 and JP2
•
2.7–3.6V operating voltage with 5V-tolerant inputs
MCU
The Z8 Encore!TM 8K/4K MCU is member of a family of ZiLOG micro-
controller products based upon the 8-bit eZ8 core CPU. The Flash in-cir-
cuit programming capability allows for faster development time and
program changes in the field. The eZ8 core CPU is upward compatible
with existing Z8®instructions. The rich peripheral set of the Z8 Encore!
8K/4K makes it suitable for a variety of applications including motor con-
trol, security systems, home appliances, personal electronic devices, and
sensors.
The evaluation board contains circuitry to support and present all the fea-
tures of the Z8 Encore! 8K/4K. The main features of the Z8 Encore! 8K/
4K are:

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Z8 Encore! 8K/4K Evaluation Board Preliminary UM015003-0603
8
•
eZ8 core CPU
•
8KB Flash memory with in-circuit programming capability
•
1KB register RAM
•
5-channel, 10-bit analog-to-digital converter (ADC)
•
Full-duplex UART
•
I2C interface (Master Mode only)
•
Serial Peripheral Interface (SPI)
•
Infrared Data Association (IrDA)-compliant infrared encoder/decoder
•
Two 16-bit timers with capture, compare, and PWM capability
•
Watch-Dog Timer (WDT) with internal RC oscillator
•
Eleven or nineteen I/O pins
•
Programmable priority interrupts
•
On-Chip Debugger
•
Voltage Brown-out Protection (VBO)
•
Power-On Reset (POR)
•
2.7–3.6V operating voltage with 5V-tolerant inputs
•
Operating temperatures: 20° ±10°C
For further information on the Z8 Encore!TM family of devices, consult the
product specification, P/N PS0197, available for download from
www.zilog.com.
UART with IrDA Endec
The Z8 Encore! 8K/4K contains a fully-functional, high-performance
UART with Infrared Encoder/Decoder (ENDEC), component U6. The
Infrared Endec is integrated with an on-chip UART allowing easy com-

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Z8 Encore! 8K/4K Evaluation Board Preliminary UM015003-0603
9
munication between the Z8 Encore! 8K/4K and IrDA transceivers. Infra-
red communication provides secure, reliable, low-cost, point-to-point
communication between PCs, PDAs, cell phones, printers and other infra-
red enabled devices.
Crystal Oscillator
The evaluation board ships with an 18.432MHz Crystal Oscillator (Y1).
If you want to change the change the Crystal Oscillator you are required
to change the Clock Frequency in for ZDSII. The frequency settings can
be found at Project > Settings > Debugger > ZDB: Configure ZDB Driver: Clock
Frequency. See the Z8Encore! Product Speciification for supported fre-
quencies.
Power and Communication Interfaces
Table 1 provides jumper information concerning the shunt status, func-
tions, devices and defaults affected of jumpers JP3 and JP4.
Table 1. Jumpers JP3 and JP4
Jumper Status
Device
Affected Status Default
JP3** OUT* RS-232
interface
Enabled X
JP3 IN RS-232
interface
Disabled
JP4 OUT* IrDA interface Enabled
JP4 IN IrDA interface Disabled X
Note: * These jumpers must not be OUT at the same time
Note: ** If the module is plugged onto an eZ80 Evaluation platform or eZ80
demonstration board the local RS-232 can be disabled by connecting header JP2
pin 50 to the corresponding GND on the mating connector

Z8 Encore!TM 8K/4K MCU
Evaluation Kit User Manual
Z8 Encore! 8K/4K Evaluation Board Preliminary UM015003-0603
10
External Interface Headers JP1 and JP2
The external interface headers, JP1 and JP2 contain no connectors when
the board is shipped. The user can insert 0.1" space connectors of choice.

Z8 Encore!TM Flash Microcontroller Development Kit
User Manual
Schematics P r e l i m i n a r y UM015003-0603
11
Schematics
This section includes schematics for the the Z8 Encore!™ 8K/4K Evalu-
ation Board.

12
Appendix Preliminary UM015003-0603
Z8 Encore! TM 8K/4K MCU
Evaluation Kit User Manual
Schematic, Z8 Encore! TM 8K/4K MCU Evaluation Board, Page 1 of 2
connector
2
connector
1
for
referenc
e
only
20 pin Socket 28 pin Socket
RESET
If Module is plugged onto the Dev Platform the local
RS232 interface is disabled by pin 50 of JP2
TEST
Title
PB0_ANA0 PB2_ANA2
VCC_33V
PB4_ANA4
PA4_RXD0
PA
5_TXD0
PB1_ANA1
PA3_CTS0
VREF
AGND
GND
PB3_ANA3
GND
XIN
PB1_ANA1
PB3_ANA3
PB0_ANA0
PB4_ANA4
PB2_ANA2
PB1_ANA1
PB3_ANA3
PB0_ANA0
PB4_ANA4
PB2_ANA2PB1_ANA1
PB0_ANA0
PA6_SCL PA6_SCL
PA0_T0IN
PA0_T0IN
-RESET -RESET
PC2_SS
PA1_T0O
UT
PA1_T0O
UT
PA2
PA2
PA3_CTS0
PA4_RXD0
PA
5_TXD0
DBG
VCC_33V
AGND
PC0_T1IN
PA7_SDA
GND
XIN
XOU
T
VCC_33V
PC3_SCK
PC4_MOSI
PC5_MISO
VCC_33V
XOU
T
XIN
AGND
DBG
PC1_T1OUT
PA
5_TXD0
PA4_RXD0
PA3_CTS0
DBG
PA7_SDA
XOU
T
VREF
VREF
A20
-CS0
A12
-IOREQ
-F91_WE
A13
GND
GND
A17
A21
VCC_33V
A14
D1
VCC_33V
D7
-DIS_FLASH
GND
A6 A0
D3
D6
-BUSACK
A3
D2
VCC_33V
A15
A4
-TRSTN
D0
-MREQ
A7
A10
A9
A16A18
A11
-INSTRD
A19
A5
GND
D5
-CS1
A22
A1A2
-CS2
-RD
A8
GND
D4
A23
-WR
-BUSREQ
GND
PA7_SDA
PA3_CTS0
PC2_SS
VCC_33V
PC4_MOSI
VCC_33V
PC1_T1OUT
PC0_T1IN
PA2
PA1_T0O
UT
GND
GND
PC5_MISO
PA4_RXD0
PA
5_TXD0
-RESET
VCC_33V
GND
GND
PA6_SCL
PA0_T0IN
PC3_SCK
PA0_T0IN
PA1_T0O
UT
PA2
VCC_33V
GND
VCC_33V
GND
PC0_T1IN
-DIS_IrDA
VCC_33V
-RESET
GND
VCC_33V
GND
PA5
_TXD0
PA4_RXD0
PA3_CTS0
VCC_33V
DBG
DBG
VCC_33V
-DIS_IRDA
-DIS_232
-RESET
C16
18pF
D2
RED
21
C21
0.001uF
SW2
J2
Header 5x2
12
34
56
78
9
10
R12
100
R9
100
U8
Z8F0XX2
1
2
3
4
6
7
9
10
11
12
13
14 15
16
17
18
19
20
24
25
26
27
28
5
8
21
22
23
PC0/T1IN
PA6/SCL
PA7/SDA
RESET
XIN
XOUT
PC5/MISO
PC4/MOSI
PC3/SCK
PC2/SS
PA0/T0IN
PA1/T0OUT
PA2/DE
PA3/CTS0
PA4/RXD0
PA5/TXD0
PC1/T1OUT
DBG
PB4/ANA4
PB3/ANA3
PB2/ANA2
PB1/ANA1
PB0/ANA0
VSS
VDD
AVDD
AVSS
VREF
Y1
18.432MHz
SW1
R10
100K
R14
100K
D3
GREEN
21
R11
100
C4
0.1uF
C18
0.001uF
C17
0.001uF
C13
0.01uF
+
C12
22uF
C19
0.001uF
C22
0.01uF
D4
YELL
21
C10
0.01uF
+
C14
22uF
JP2
HEADER 30x2/SM
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
52
54
56
58
60
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49
51
53
55
57
59
R13
220
C15
18pF
R3
10K
C20
0.001uF
JP1
HEADER 30x2/SM
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
52
54
56
58
60
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49
51
53
55
57
59
R8
100
U7
Z8F0xx1
1110
9
8
3
6
5
19
18
17
20
14
2
1
13
12
7
4
15
16
PA3/CTS0
PA2/DE
PA1/T0OUT
PA0/T0IN
RESET
XOUT
XIN
PB0/ANA0
PB1/ANA1
VREF
PC0/T1IN
DBG
PA7/SDA
PA6/SCL
PA5/TXD0
PA4/RXD0
VDD
GND
AVDD
AGND

13
Appendix Preliminary UM015003-0603
Z8 Encore! TM 8K/4K MCU
Evaluation Kit User Manual
Schematic, Z8 Encore! TM 8K/4K Evaluation Board Page 2 of 2
3.3 O
K
CONSO
LE
GND
USER
DBG
INTERFACE
DIS RS232
DIS IRDA
96C0897-001
Encore! F08. Evaluation Module. Schem
at
B
Title
Si
ze
Document Number
TXD
0
VCC
GND
CTS0
RXD0
5V
VCC_33V
DBG
PA4_RXD0
PA
5_TXD0
IRDA_SD
GND
VCC_33V
PA3_CTS0
VCC_33V
GND
VCC_33V
PA
5_TXD0
VCC_33V
PA4_RXD0
GND
VCC_33V
GND
-RESET
GND
GND
GND
PA3_CTS0
VCC
VCC_33V
DBG
-DIS_IRDA
-DIS_232
PA5
_TXD0
PA4_RXD0
-RESET
C3
0.1uF
R5
68
C23
0.1uF
U4A
74LVC04/SO
1 2
147
C5
0.1uF
JP3
1
2
U4B
74LVC04/SO
3 4
147
P2
Header 3x2
12
34
56
R15
10K
U2
LT1086-3.3/TO220
1
3 2
GND
VIN
VOUT
C6
0.1uF
JP4
1
2
C11
330nF
R1
680
R6
2R7
C7
0.1uF
U6
ZHX1810
2
4
3
1
5
6
0
TXD
SD
RXD
LEDA
VCC
GND
T
J1
PWR JACK
2
3
1
+
C8
100/10
C9
0.1uF
R4
10K
+
C1
100/10
P1
DB9 Female
5
9
4
8
3
7
2
6
1
F1
RXE
110
U10
MAX3
222
1
2
4
5
6
13
12
15
10
3
7
17
8
16
9
20
1918
11
14
EN
C1+
C1-
C2+
C2-
T1IN
T2IN
R1OUT
R2OUT
V+
V-
T1OUT
T2OUT
R1IN
R2IN
SHDN
VCCGND
NC
NC
TP1
1
2
3
4
5
D1
LED
21
R7
10K
TP2
1
2
3
4
5
Table of contents
Other ZiLOG Motherboard manuals

ZiLOG
ZiLOG Z51F0811 MCU User manual

ZiLOG
ZiLOG Z8 Encore! XP F0822 Series Flash MCU User manual

ZiLOG
ZiLOG Z8 GP ZGP323 User manual

ZiLOG
ZiLOG Z8 Encore! User manual

ZiLOG
ZiLOG Z8 Encore! User manual

ZiLOG
ZiLOG Z8F08A28100KITG User manual

ZiLOG
ZiLOG GP ZGP323 ICE User manual

ZiLOG
ZiLOG Z183 EMAC User manual