ZiLOG Z8F04A28100KIT User Manual

Page 1
Z8F04A28100KIT
Z8 Encore! XPTM 4K Series Development Kit
User Manual
Preliminary
UM016601-0104
ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126-3432
Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com
Page 2
Z8 Encore! XP™ 4K Series
Development Kit User Manual
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.
©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. 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.
Disclaimer Preliminary UM016601-0104
Page 3

FCC Statement

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 electro­static discharge (ESD).
Disclaimer Preliminary UM016601-0104
Page 4

Table of Contents

FCC Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iii
Safeguards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iii
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Software (on CD-ROM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
System/Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Supported Host System Configuration . . . . . . . . . . . . . . . . . . . . . . . .3
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Z8 Encore! XP™ 4K Series
Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . .8
External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . . . . . . .8
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Z8 Encore! XP™ 4K Series
Development Kit User Manual
iv
Disclaimer Preliminary UM016601-0104
Page 5

List of Figures

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
Disclaimer Preliminary 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 fol­lowing:

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
Introduction Preliminary 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
Introduction Preliminary 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 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.
in the user's disk drive.

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 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
Introduction Preliminary 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
Installation Preliminary 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
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
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 transceiv­ers. Infrared communication provides secure, reliable, low-cost, point-to­point 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, func­tions, devices and defaults affected of jumpers JP3 and JP4.
Table 1. Jumpers JP3 and JP4
Device
Jumper Status
JP3* OUT RS-232
JP3 IN RS-232
JP4* OUT IrDA interface Enabled JP4 IN IrDA interface Disabled X JP5 OUT U5 RESET
JP5 IN U5 RESET
Note: * These jumpers must not be OUT at the same time
Affected Status Default
interface
interface
/
PD0
/
PD0
8
Enabled X
Disabled
PD0 (GPIO) X
RESET when SW1 pressed

External Interface Headers JP1 and JP2

External interface headers JP1 and JP2 are shown in the schematic on page 11.
Z8 Encore! XP™ 4K Series Development BoardPreliminar y UM016601-0104
Page 14

Schematic

This section includes schematics for the Z8 Encore! XP 4K Series Devel­opment Board.
Z8 Encore! XP™ 4K Series
Development Kit User Manual
9
Schematic Pr e l i m i n a r y UM016601-0104
Page 15
Z8 Encore! XP™ 4K Series
Development Kit User Manual
10
5
R7
21
21
21
100
R8
100
R10
10
VCC_33V
UT
T
VCC_33V
GND
D2
GREEN D3
YELL
D4
RED
PA6_nT1OU
PA7_T1O
D D
PC3_COUT
VCC_33V
GND
TABLE 1
R12 R13 R16 R17 U8
GPIO none 0 ohm none 0 ohm none
Analog 0 ohm none 0 ohm none optional Supply
C C
PB1_ANA1 PB0_ANA0
1
PB2_ANA2
2
PB3_ANA3
3
VCC_33V
4
PA0_T0IN
5
PA1_T0O
UT
6
GND
7
PA2 PA3_CTS0 PA4_RXD0
R14 0
B B
1
C19
8 9
10
R18
1M
Y1
3
1
3
2
2
8 MHz
U6
PB2/ANA2 PB3/CLKIN/ANA3 VDD PA0/T0IN/T0OUT/XIN/ PA1/T0OUT/XOUT GND PA2/DE PA3/CTS0 PA4/RXD0
Z8F04xA
R15 0
C20
NOTE 2
20 pin footprint
PB0/ANA0PB1/ANA1
PC3/COUT/LED
PC2/ANA6/LED
PC1ANA5/CINN/LED
PC0/ANA4/CINP/LED
RESET/PD0 PA7/T1OUT
PA6/T1IN/T1OUT
PA5/TXD0
DBG
TABLE 2
Clock Mode R14 R15 R18 C19 C20 Y1
Internal Only none none none none none none
A A
Crystal 0 Ohm 220 Ohm none Yes Yes Yes
Ceramic Res 0 Ohm 0 Ohm none none none Yes
External CMOS none none none none none none
(Use PA0_T0IN pin on JP2)
5
R9
100K
4
SW2
TEST
R11 100
PA2
VCC_33V
20
PC3_COUT
19
PC2_ANA6
18
PC1_ANA5
17
PC0_ANA4
16
DBG
15
PD0
14
PA7_T1O
UT
13
PA6_nT1OU PA
5_TXD0
T
GND
12 11
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_ANA0 PB2_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.
4
3
PB6
10 11 12 13
PB3_ANA3
C13
0.001uF
3
28 pin footprint
U5
1
PB2/ANA2
2
PB4/ANA7
3
PB5/Vref
4
PB3/ANA3/CLKIN
5
PB6(AVDD)
6
VDD
7
PA0/T0IN/T0OUTXIN
8
PA1/T0OUT/XOUT
9
GND PB7(AGND) PA2/DE PA3/CTS0 PA4/RXD0 PA5/TXD0
PC0_ANA4
C14
0.001uF
Z8F04xA_28
GND
PC3/COUT/LED
PC2/ANA6/LED PC1/ANA5/CINN/LED PC0/ANA4/CINP/LED
PA6/T1IN/T1OUT
PC1_ANA5
C15
0.001uF
PB0_ANA0 PB1_ANA1 PB2_ANA2 PB3_ANA3 PC0_ANA4 PC1_ANA5 PC2_ANA6 PB4_ANA7
SW1
RESET/TEST
PB1/ANA1 PB0/ANA0
DBG
RESET/PD0
PC7/LED PC6/LED
PA7/T1OUT
PC5/LED PC4/LED
PC2_ANA6
C16
0.001uF
JP5
HEADER 2
28 27 26 25 24 23 22 21 20 19 18 17 16 1514
J2
1 3 5 7
9 11 13 15
HEADER 8X2
1 2
PB1_ANA1 PB0_ANA0 PC3_COUT PC2_ANA6 PC1_ANA5 PC0_ANA4
PA6_nT1OU
PB4_ANA7
C17
0.001uF
2
connector
2
DBG PD0 PC7 PC6 PA7_T1O
UT PC5 PC4
T
C18
0.001uF GND
2 4 6 8 10 12 14 16
2
If Module is plugged onto the Dev Platform the local
RS232 interface is disabled by pin 50 of JP2
PB4_ANA7
2
PC1_ANA5 PB3_ANA3 PB1_ANA1 VCC_33V PC4 PC7 PC3_COUT PA6_nT1OU
GND
PA7_T1O
PA3_CTS0 PA4_RXD0
GND
R19
PB6
10K
PB7
-RESET
UT
VCC_33V VCC_33V
T
JP2
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
HEADER 30x2/SM
connector
DBG
Title
XP 4K MDS Pr
SizeDocument Number
B
Wednesday, February 25, 2004
Date:
for referenc only
1 3
-TRSTN
5
-F91_WE
7
GND
9
A6
11
A10
13
GND
15
A8
17
A13
19
A15
21 23
A19
25 27
A11
29
A4
31
A5
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
HEADER 30x2/SM
ocessor Module. Schematic.
96C0941-001
JP1
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
Sheet
1
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
PC2_ANA6 PC0_ANA4 PB2_ANA2 PB0_ANA0
GND PC5 PC6
PA1_T0O
PA
-DIS_IrDA
e
VCC_33V
A0 A3
VCC_33V
A7
A9 A14 A16A18
GND A1A2 A12 A20
A17
-DIS_FLASH VCC_33V
A23
-CS1
D0
D2
D4 GND
D6
-IOREQ
-RD
-INSTRD
-BUSREQ
PB5 PA0_T0IN
UT
PA2
PD0 GND
5_TXD0
GND
-DIS_232
-DIS_IRDA
GND
1
Rev
12
B
of
Schematic, Z8 Encore! XP™ 4K Series MCU Development Board, Page 1 of 2
Appendix Preliminary UM016601-0104
Page 16
Z8 Encore! XP™ 4K Series
Development Kit User Manual
11
5
J1
2 3 1
PWR JACK
D D
GND
C C
GND
B B
A A
F1
RXE
050
SENSE
147
3 4
147
5 6
147
11 10
147
13 12
5
U3B
74LVC04/SO
U3C
74LVC04/SO
U3E
74LVC04/SO
U3F
74LVC04/SO
-Z_RST
U7
5
VIN
2
SENSE
4
SHDN
LT1129-3.3/DD
OUT
GND
3
4
5V
C4
0.1uF
1
0.1uF
C8
TP1
+
C3
100/10
12345
4
GND
VCC
+
100/10
VCC_33V
VCC_33V
R1
C7
680
21
D1
3.3 O
LED
GND
K
VCC_33V
12345
TP2
3
VCC_33V
GND
3
VCC_33V
-DIS_232
R2 10K
JP3
1 2
DIS RS232
-DIS_IRDA
JP4
DIS IRDA
P2 12
34 56
Header 3x2
PA5
_TXD0
PA3_CTS0 PA4_RXD0
GND
1 2
DBG INTERFACE
PA
147
1 2
R5 10K
-Z_RST DBG
C2
0.1uF
C6
0.1uF 5_TXD0
GND
PA3_CTS0 PA4_RXD0
U3A
74LVC04/SO
VCC_33V
GND
R6 10K
2 4 5 6
13 12
15 10
1
20
147
9 8
DBG
2
U1 C1+ C1­C2+ C2-
T1IN T2IN
R1OUT R2OUT
EN SHDN MAX3
222
U3D
74LVC04/SO
2
1918
VCCGND
VCC_33V
T1OUT T2OUT
R1IN R2IN
GND
V+
V-
NC NC
3
7
17 8
16 9
14 11
R4 2R7
PA
5_TXD0
IRDA_SD
PA4_RXD0
Title
XP 4K MDS Pr
SizeDocument Number
B
Monday, March 01, 2004
Date:
C1
0.1uF
GND
5 1 2 4 3 6
TXD CTS0 RXD0
C9
330nF
VCC LEDA TXD SD RXD GND
0
U4
1 6 2 7 3 8 4 9 5
DB9 Female
C5
0.1uF
R3
68
ocessor Module. Schematic.
96C0941-001
Sheet
1
CONSO
P1
USER
T
ZHX1810
0
22
1
LE
Rev
B
of
Schematic, Z8 Encore! XP™ 4K Series MCU Development Board, Page 2 of 2
Appendix Preliminary UM016601-0104
Loading...