Z8 Encore® 4K Series Microcontrollers
Z8F04328100KIT
Development Kit
User Manual
UM018501-1004
PRELIMINARY
ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126
Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com
Z8F04328100KIT Development Kit
User Manual
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
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.
©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.
PRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
iii
Table of Contents
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
List of Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
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! 4K Series Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Customer Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
UM018501-1004
PRELIMINARY
Table of Contents
Z8F04328100KIT Development Kit
User Manual
iv
Table of Contents
PRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
v
List of Figures
UM018501-1004
Figure 1.
Z8 Encore! 4K Series Development Kit Contents . . . . . . . .2
Figure 2.
Z8 Encore! 4K Series Development Board . . . . . . . . . . . . .7
PRELIMINARY
List of Figures
Z8F04328100KIT Development Kit
User Manual
vi
List of Figures
PRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
1
Introduction
The Z8 Encore!® 4K Series MCU is the part of the line of ZiLOG microcontroller products.
The Z8 Encore! 4K Series Development Kit (Z8F04328100KIT) enables
users to become familiar with the hardware and software tools available
with this product. This kit consists of the 4KB version of the Z8 Encore!
Development board that supports and presents the features of the Z8
Encore! 4K Series MCU. This kit allows users to begin writing application software and contains all supporting documents.
This manual acquaints users with the Z8 Encore! 4K Series Development
Kit, and gives instructions on setting up and using the tools to start building designs and applications.
Kit Contents
The Z8 Encore! 4K Series Development Kit contains the following:
Hardware
UM018501-1004
•
•
Z8 Encore! 4K Series Development board
•
5VDC power supply
Smart Cable for PC to Z8 Encore! 4K Series Development board
(DB9 to six-pin male)
PRELIMINARY
Introduction
Z8F04328100KIT Development Kit
User Manual
2
Packaging
CD-ROM Containing
Documentation
Power
Supply
Smart Cable
Development
Board
Figure 1. Z8 Encore! 4K Series Development Kit Contents
Software (on CD-ROM)
•
•
•
•
ZDS II- Z8 Encore!® IDE with ANSI C-Compiler
Sample code
Document browser
Acrobat Reader install program
Documentation
•
•
•
Introduction
Quick Start Guide
Registration card
Z8 Encore! 4K Series technical documentation (on CD-ROM)
PRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
3
–
–
–
–
Development Kit User Manual
ZDS II - IDE User Manual
eZ8 CPU User Manual
Application notes
The sample code is installed with ZDS II and resides in the \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 CDROM 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 configurations:
Supported Host System Configuration
UM018501-1004
•
Win98 Second Edition, WinNT 4.0 Service Pack 6, Win2000 Service
Pack 3, WinXP Professional Service Pack 1
•
•
•
•
•
•
PentiumII/233MHz processor or higher up to Pentium IV, 2.8 GHz
96 MB RAM or more
25 MB hard disk space or more
Super VGA video adapter
CD-ROM
One or more RS-232 communication ports
PRELIMINARY
Introduction
Z8F04328100KIT Development Kit
User Manual
4
Introduction
PRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
5
Installation
Follow the directions in the Quick Start Guide for software installation
and setup of the Z8 Encore! 4K Series Development kit.
UM018501-1004
PRELIMINARY
Installation
Z8F04328100KIT Development Kit
User Manual
6
Installation
PRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
7
Z8 Encore! 4K Series Development
Board
Introduction
The Z8 Encore! 4K Series Development board is a development and prototyping board for the Z8 Encore! 4K Series MCU. The board provides
customers with a tool to evaluate features of Z8 Encore! 4K Series MCU,
and to start developing an application before building the hardware.
Figure 14. Z8 Encore! 4K Series Development Board
UM018501-1004
PRELIMINARY
Z8 Encore! 4K Series Development
Z8F04328100KIT Development Kit
User Manual
8
Features
•
•
•
•
•
•
•
•
•
•
•
Z8 Encore!® MCU (28-pin SOIC)
3 LEDs
RS-232 interface
IrDA transceiver
Two pushbuttons, RESET and TEST
5 VDC power connector
On-Chip Debugger interface
Header for ADC input
Prototyping area
External interface connectors JP1 and JP2
2.7–3.6 V operating voltage with 5V-tolerant inputs
MCU
The Z8 Encore! 4K Series MCU is member of a family of ZiLOG microcontroller products based upon the 8-bit eZ8 core CPU. The Flash in-circuit 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!
4K Series makes it suitable for a variety of applications including motor
control, security systems, home appliances, personal electronic devices,
and sensors.
The Development board contains circuitry to support and present all the
features of the Z8 Encore! 4K Series. The main features of the Z8 Encore!
4K Series are:
Z8 Encore! 4K Series Development BoardPRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
9
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
eZ8 core CPU
4KB 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 (20-pin package) or nineteen (28-pin package) I/O pins
Programmable priority interrupts
On-Chip Debugger
Voltage Brown-out Protection (VBO)
Power-On Reset (POR)
2.7–3.6 V operating voltage with 5V-tolerant inputs
Operating temperatures: 20° ±10° C
For further information on the Z8 Encore!® family of devices, consult the
product specification, P/N PS0197, available for download from
www.zilog.com.
UART with IrDA Endec
The Z8 Encore! 4K Series (component U5)contains a fully-functional,
high-performance UART with Infrared Encoder/Decoder (ENDEC). The
Infrared Endec is integrated with an on-chip UART allowing easy com-
UM018501-1004
PRELIMINARY
Z8 Encore! 4K Series Development
Z8F04328100KIT Development Kit
User Manual
10
munication between the Z8 Encore!® 4K Series and IrDA transceivers.
Infrared communication provides secure, reliable, low-cost, point-topoint communication between PCs, PDAs, cell phones, printers and other
infrared enabled devices.
Power and Communication Interfaces
Table 1 provides jumper information concerning the shunt status, functions, devices and defaults affected of jumpers JP3 and JP4.
Table 1. Jumpers JP3 and JP4
Jumper
Status
JP3*
OUT
JP3
Device
Affected
Status
Default
RS-232
interface
Enabled
X
IN
RS-232
interface
Disabled
JP4*
OUT
IrDA interface Enabled
JP4
IN
IrDA interface Disabled
JP5
OUT
U5 RESET/
PD0
PD0 (GPIO)
JP5
IN
U5 RESET/
PD0
RESET when
SW1 pressed
X
X
Note: * These jumpers must not be OUT at the same time
External Interface Headers JP1 and JP2
External interface headers JP1 and JP2 are shown in the schematic on
page 11.
Z8 Encore! 4K Series Development BoardPRELIMINARY
UM018501-1004
Z8F04328100KIT Development Kit
User Manual
Schematics
11
The following diagrams provide schematics for the Z8 Encore! 4K Series Development Board.
5
4
PA6_nT1OUT
1
2
100
GREEN
R8
D3
PA7_T1OUT
3
1
R9
SW2
VCC_33V
2
GND
100
YELL
TEST
100K
D
PC3_COUT
R11
R10
D4
1
100
2
1
If Module is plugged onto the Dev Platform the local
RS232 interface is disabled by pin 50 of JP2
JP2
connector 2
PA2
GND
GND
PB4_ANA7
PC1_ANA5
PB3_ANA3
PB1_ANA1
VCC_33V
PC4
PC7
PC3_COUT
PA6_nT1OUT
GND
PA7_T1OUT
10
RED
VCC_33V
VCC_33V
2
Note 1:
PB6 and PB7 are dual function pins (GPIO or Analog
Supply)
R12, R13, R16, and R17 are zero-ohm jumpers used in
conjuntion with GPIO Control Registers to select
function desired. The development board is shipped
with jumpers configured for Analog Supply.
U8 is an optional filter that can be used to improve
the quality of the Analog Supply
Table 1 shows the configurations recommended
R7
D2
PA3_CTS0
PA4_RXD0
NOTE 1:
R12
GND
TABLE 1
R12
R13
R16
R17
0
U8
U8
none
0 ohm
none
0 ohm
Analog
Supply
0 ohm
none
0 ohm
none
VCC_33V
none
1
GND
GPIO
IO
optional
IO
SW1
GND
R13
PB6
3
R19 10K
JP5
2
-RESET
VCC_33V
1
2
0
EMI Filter
VCC_33V
HEADER 2
C
U6
PB1_ANA1
PB2_ANA2
PB3_ANA3
VCC_33V
PA0_T0IN
PA1_T0OUT
GND
PA2
PA3_CTS0
PA4_RXD0
1
2
3
4
5
6
7
8
9
10
U5
20 pin footprint
PB1/ANA1
PB2/ANA2
PB3/CLKIN/ANA3
VDD
PA0/T0IN/T0OUT/XIN/
PA1/T0OUT/XOUT
GND
PA2/DE
PA3/CTS0
PA4/RXD0
PB0/ANA0
PC3/COUT/LED
PC2/ANA6/LED
PC1ANA5/CINN/LED
PC0/ANA4/CINP/LED
DBG
RESET/PD0
PA7/T1OUT
PA6/T1IN/T1OUT
PA5/TXD0
PB0_ANA0
PC3_COUT
PC2_ANA6
PC1_ANA5
PC0_ANA4
DBG
PD0
PA7_T1OUT
PA6_nT1OUT
PA5_TXD0
20
19
18
17
16
15
14
13
12
11
PB2_ANA2
PB4_ANA7
PB5
PB3_ANA3
SENSE
0.001uF
PA3_CTS0
PA4_RXD0
PA5_TXD0
Z8F04xA
Z8F0423
R14
0
VCC_33V
PA0_T0IN
PA1_T0OUT
GND
C10
PA2
PA3_CTS0
PA4_RXD0
PA5_TXD0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
R16 0
PB2/ANA2
PB4/ANA7
PB5/Vref
PB3/ANA3/CLKIN
PB6(AVDD)
VDD
PA0/T0IN/T0OUTXIN
PA1/T0OUT/XOUT
GND
PB7(AGND)
PA2/DE
PA3/CTS0
PA4/RXD0
PA5/TXD0
28
27
26
25
24
23
22
21
20
19
18
17
16
15
PB1/ANA1
PB0/ANA0
PC3/COUT/LED
PC2/ANA6/LED
PC1/ANA5/CINN/LED
PC0/ANA4/CINP/LED
DBG
RESET/PD0
PC7/LED
PC6/LED
PA7/T1OUT
PC5/LED
PC4/LED
PA6/T1IN/T1OUT
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
A21
37
A22
39
-CS0
41
-CS2
43
D1
45
D3
47
D5
49
D7
51
-MREQ 53
GND
55
-WR
57
-BUSACK 59
1
3
3
PB7
PB0_ANA0
2
1
2
PB1_ANA1
PB2_ANA2
PB3_ANA3
PC0_ANA4
PC1_ANA5
PC2_ANA6
PB4_ANA7
C11
0.001uF
C12
0.001uF
C13
0.001uF
C14
0.001uF
C15
0.001uF
C16
0.001uF
C17
0.001uF
C20
8 MHz
C18
0.001uF
NOTE 2
GND
J2
TABLE 2
Clock Mode
R14
Note 2: The
Internal Only
A
none
Crystal
0 Ohm
Ceramic Res
0 Ohm
External CMOS
none
Note 2: The XP supports internal, external crystal, external
ceramic resonator, external R/C and external CMOS drive clock
4K does not support an external oscillator even though crystal Y1 is installed.
modes. R14, R15, R18, C19, C20 and Y1 are used to support
none
none
none
none
none
the clock mode selected. The development board is shipped
220 Ohm none
Yes
Yes
Yes
configured for external 8Mhz ceramic resonator or internal
clock operation.
0 Ohm
none
none
none
Yes
Table 2 shows the recommended clock mode configurations.
none
none
none
none
none
R15
R18
C19
C20
GND
-DIS_232
-DIS_IRDA
-DIS_IrDA
GND
Y1
PB0_ANA0
PB1_ANA1
PB2_ANA2
PB3_ANA3
PC0_ANA4
PC1_ANA5
PC2_ANA6
PB4_ANA7
1
3
5
7
9
11
13
15
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
-TRSTN
-F91_WE
GND
A6
A10
GND
A8
A13
A15
A18
A19
A2
A11
A4
A5
NOTE 1:
C19
PA5_TXD0
connector 1
for
reference
onlyJP1
DBG
1M
Y1
PD0
GND
HEADER 30x2/SM
R18
B
D
C
PB1_ANA1
PB0_ANA0
PC3_COUT
PC2_ANA6
PC1_ANA5
PC0_ANA4
DBG
PD0
PC7
PC6
PA7_T1OUT
PC5
PC4
PA6_nT1OUT
R17 0
GND
PC2_ANA6
PC0_ANA4
PB2_ANA2
PB0_ANA0
GND
PC5
PC6
PB5
PA0_T0IN
PA1_T0OUT
PA2
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
28 pin footprint
Z8F04xA_28
Z8F0423
R15
0
PB6
PB7
RESET/TEST2
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
2
4
6
8
10
12
14
16
VCC_33V
A0
A3
VCC_33V
A7
A9
A14
A16
GND
A1
A12
A20
A17
-DIS_FLASH
VCC_33V
A23
-CS1
D0
D2
D4
GND
D6
-IOREQ
-RD
-INSTRD
-BUSREQ
B
HEADER 30x2/SM
A
HEADER 8X2
Title
XP 4K MDS Processor Module. Schematic.
(Use PA0_T0IN
pin on JP2)
Size
B
Date:
5
4
3
2
Document Number
Rev
96C0941-001
Wednesday, February 25, 2004
B
Sheet
1
of
2
1
Schematic, Z8 Encore! 4K Series Development Board, Page 1 of 2
UM018501-1004
PRELIMINARY
Schematics
Z8F04328100KIT Development Kit
User Manual
5
4
3
2
12
1
VCC_33V
J1
PWR JACK
5V
RXE050
U1
C2
0.1uF
VCC
+ C3
C4
0.1uF
100/10
5
VIN
OUT
2
4
SENSE
SHDN
GND
-Z_RST
VCC_33V
PA5_TXD0
C1C2+
6
C2-
PA5_TXD0
C1
0.1uF
V+
3
CONSOLE
GND
P1
C5
0.1uF
V-
7
13
T1IN
T1OUT
17
GND
12
T2IN
T2OUT
8
PA3_CTS0
15
R1OUT
R1IN
16
PA4_RXD0
10
R2OUT
R2IN
9
R1
1
6
2
7
3
8
4
9
5
TXD0
CTS0
RXD0
D
+ C7
C8
680
PA3_CTS0
100/10
3
LT1129-3.3/DD
1
4
5
U7
SENSE
C1+
C6
0.1uF
D
VCC_33V
2
19
F1
VCC
2
3
1
PA4_RXD0
2
0.1uF
DB9 Female
USER
3.3 OK
1
20
EN
SHDN
MAX3222
GND
NC
NC
14
11
18
LED
1
GND
D1
VCC_33V
GND
R2
10K
C
U3A
14
C
14
74LVC04/SO
U3B
1
-DIS_232
2
7
74LVC04/SO
3
JP3
4
1
2
7
GND
U3C
74LVC04/SO
GND
5
R3
C9
VCC_33V
6
68
330nF
R4
B
7
14
14
R5
10K
U3E
U3D
PA5_TXD0
74LVC04/SO
74LVC04/SO
11
B
U4
2R7
9
-DIS_IRDA
10
IRDA_SD
8
PA4_RXD0
5
VCC
1
LEDA
2
TXD
4
SD
3
RXD
6
GND
7
JP4
7
1
2
T
14
DIS RS232
ZHX1810
0
GND
14
DIS IRDA
GND
U3F
VCC_33V
R6
10K
1
2
3
4
5
12
1
2
3
4
5
74LVC04/SO
13
7
A
TP1
GND
TP2
P2
VCC_33V
GND
1
3
5
DBG
INTERFACE
2
4
6
A
-Z_RST
DBG
DBG
Title
XP 4K MDS Processor Module. Schematic.
Header 3x2
Size
B
Date:
5
4
3
2
Document Number
Rev
96C0941-001
Monday, March 01, 2004
B
Sheet
2
of
2
1
Schematic, Z8 Encore! 4K Series Development Board, Page 2 of 2
UM018501-1004
PRELIMINARY
Schematics
Z8F04328100KIT Development Kit
User Manual
13
Customer Feedback
If you note any inaccuracies while reading this User Manual, please copy and complete this form,
then mail or fax it to ZiLOG (see Return Information, below). We also welcome your suggestions!
Product Information
Z8F04328100KIT Development Kit
Serial # or Board Fab #/Rev. #
Software Version
Document Number
Host Computer Description/Type
Customer Information
Name
Company
Address
City/State/Zip
Country
Phone
Fax
E-Mail
Return Information
ZiLOG
System Test/Customer Support
532 Race Street
San Jose, CA 95126
Fax: (408) 558-8536
ZiLOG Customer Support
Problem Description or Suggestion
Provide a complete description of the problem or your suggestion. If you are reporting a specific
problem, include all steps leading up to the occurrence of the problem. Attach additional pages as
necessary.
UM018501-1004
PRELIMINARY
Customer Feedback
Z8F04328100KIT Development Kit
User Manual
14
Customer Feedback
PRELIMINARY
UM018501-1004