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
T elephone: 408.558.8500
Fax: 408.558.8300
www.ZiLOG.com
ii
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.
This device complies with part 15 of the FCC Rules. Operation is subject
to the following two conditions: (1) This device may not cause harmful
interference, and (2) this device must accept any interference received,
including interference that may cause undesired oper ation.
Safeguards
The following precautions must be observed when working with the
devices described in this document.
Z8 Encore! XP™ 4K Series
Development Kit User Manual
iii
Caution:
Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD).
Figure 1.Z8 Encore! XP™ 4K Series Development Kit Contents . . .2
Figure 2. Z8 Encore! XP 4K Series Development Board . . . . . . . . . .5
Z8 Encore! XP™ 4K Series
Development Kit User Manual
v
DisclaimerPreliminary UM016601-0104
Page 6
Introduction
The Z8 Encore! XP™ 4K Series MCU is the part of the line of ZiLOG
microcontroller products.
The Z8 Encore! MCU Development Kit (Z8F04A28100KIT) 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! XP 4K Series. This kit allows users to begin writing application
software and contains all supporting documents.
This manual acquaints users with the Z8 Encore! XP 4K Series MCU
Development Kit, and gives instructions on setting up and using the tools
to start building designs and applications.
Z8 Encore! XP™ 4K Series
Development Kit User Manual
1
Kit Contents
The Z8 Encore! XP 4K Series MCU Development Kit contains the following:
Hardware
•
Z8 Encore! XP 4K Series Development board
•
Smart Cable for PC to Z8 Encore! XP 4K Series Development board
(DB9 to six-pin male)
•
5VDC power supply
IntroductionPreliminary UM016601-0104
Page 7
CD-ROM Containing
Documentation
Smart Cable
Z8 Encore! XP™ 4K Series
Development Kit User Manual
2
Packaging
Power
Supply
Development
Board
Figure 1. Z8 Encore! XP™ 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
•
Quick Start Guide
•
Registration card
IntroductionPreliminary UM016601-0104
Page 8
Z8 Encore! XP™ 4K Series
Development Kit User Manual
•
Z8 Encore! XP 4K Series technical documentation (on CD-ROM)
–Development Kit User Manual
–ZDS II - IDE User Manual
–eZ8 CPU User Manual
–Application notes
3
The sample code is installed with ZDS II and resides in the
tion directory>\samples
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.
in the user's disk drive.
System/Software Requirements
IBM PC (or compatible computer) with the following minimum configurations:
Supported Host System Configuration
•
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
<installa-
•
Super VGA video adapter
•
CD-ROM
•
One or more RS-232 communication ports
IntroductionPreliminary UM016601-0104
Page 9
Installation
Follow the directions in the Quick Start Guide for software installation
and setup of the Z8 Encore! XP 4K Series Development kit.
Z8 Encore! XP™ 4K Series
Development Kit User Manual
4
InstallationPreliminary UM016601-0104
Page 10
Z8 Encore! XP™ 4K Series
Development Kit User Manual
Z8 Encore! XP™ 4K Series
Development Board
Introduction
The Z8 Encore! XP™ 4K Series Development board is a development
and prototyping board for the Z8 Encore! XP 4K Series MCU. The board
provides customers with a tool to evaluate features of Z8 Encore! XP 4K
Series MCU, and to start developing an application before building the
hardware.
5
Figure 14. Z8 Encore! XP 4K Series Development Board
Z8 Encore! XP™ 4K Series Development BoardPreliminar y UM016601-0104
Page 11
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
•
8MHz Ceramic Oscillator (Y1)
•
Header for ADC input
Z8 Encore! XP™ 4K Series
Development Kit User Manual
6
•
Prototyping area
•
External interface connectors JP1 and JP2
•
2.7–3.6 V operating voltage with 5V-tolerant inputs
MCU
The Z8 Encore! XP 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
XP 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! XP 4K Series. The main features of the Z8
Encore! XP 4K Series are:
Z8 Encore! XP™ 4K Series Development BoardPreliminar y UM016601-0104
®
instructions. The rich peripheral set of the Z8 Encore!
Page 12
Z8 Encore! XP™ 4K Series
Development Kit User Manual
•
eZ8 core CPU
•
4KB Flash memory with in-circuit programming capability
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
7
•
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!
product specification, P/N PS0197, available for download from
www.zilog.com
.
®
family of devices, consult the
UART with IrDA Endec
The Z8 Encore! XP 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-
Z8 Encore! XP™ 4K Series Development BoardPreliminar y UM016601-0104
Page 13
Z8 Encore! XP™ 4K Series
Development Kit User Manual
munication between the Z8 Encore!® XP 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.
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
GND
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
0
GND
2
IO
EMI Filter
C10
0.001uF
3
R17
NOTE 1:
PA3_CTS0
PA4_RXD0
PA5
_TXD0
0
R13
0
PB2_ANA2
PB4_ANA7
PB5
PB3_ANA3
VCC_33V
PA0_T0IN
PA1_T0O
GND
PA2
PA3_CTS0
PA4_RXD0
PA
5_TXD0
PB7
UT
R12
U8
1
IO
SENSE
R16
0
NOTE 1:
PB0_ANA0PB2_ANA2
PB1_ANA1
C12
C11
0.001uF
0.001uF
Note 2: The XP supports internal, external crystal, external
ceramic resonator, external R/C and external CMOS drive clock
modes. R14, R15, R18, C19, C20 and Y1 are used to support
the clock mode selected. The development board is shipped
configured for external 8Mhz ceramic resonator or internal
clock operation.
Table 2 shows the recommended clock mode configurations.