ZiLOG Z8F08200100KIT User Manual

Page 1
Z8F08200100KIT

Z8 Encore! XP® F0822 Series Flash MCU Development Kit

User Manual
UM015006-1207
Copyright ©2007 by Zilog®, Inc. All rights reserved.
www.zilog.com
Page 2
Z8 Encore! XP® F0822 Series Flash MCU Development Kit

Revision History

Each instance in Revision History reflects a change to this document from its previous revision. For more details, refer to the corresponding pages and appropriate links in the table below.
Revision
Date
Level Description Page No
User Manual
ii
December 2007
November 2006
November 2005
06 Updated document with new Zilog
logo and disclaimer. Implemented Style Guide. Replaced Z8 Encore! 8K/4K Series with Z8 Encore! XP F0822 Series Flash Microcontrollers.
05 Changed Figure 14 to Figure 2. 5
04 Removed the word Preliminary from
all page footers and updated trademarks.
®
®
All
All
UM015006-1207 Revision History
Page 3
Z8 Encore! XP® F0822 Series Flash MCU Development Kit

Table of Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Software (on CD-ROM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
System/Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Supported Host System Configuration . . . . . . . . . . . . . . . . . . 3
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Z8 Encore! XP
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Crystal Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . 8
External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . 9
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
®
F0822 Series Flash MCU Evaluation Board . . . . 5
User Manual
iii
UM015006-1207 Table of Contents
Page 4
Z8 Encore! XP® F0822 Series Flash MCU Development Kit

Introduction

User Manual
1
Zilog’s Z8 Encore! XP® F0822 Series Flash MCU is a part of Zilog® microcontroller products. The Z8 Encore! XP (Z8F08200100KIT) allows you to get familiar with the hardware and software tools available with this product. This kit consists of the 8 KB version of the Z8 Encore! XP evaluation board that supports and presents the features of the Z8 Encore! XP F0822 Series Flash MCU. This kit allows you to write application software and contains all supporting documents.
This user manual acquaints you with the Z8 Encore! XP F0822 Series Flash MCU development kit and provides instructions on setting up and using the tools to start building designs and applications.

Safeguards

The following precaution must be observed when working with the devices described in this document.
Caution:
electrostatic discharge (ESD).

Kit Contents

Z8 Encore! XP F0822 Series Flash MCU development kit (see Figure 1 on page 2) contains the following:
®
MCU development kit
Always use a grounding strap to prevent damage resulting from

Hardware

The hardware included are:
Z8 Encore! XP F0822 Series Flash MCU evaluation board
Smart Cable for PC to Z8 Encore! XP F0822 Series Flash MCU evaluation board (DB9 to six-pin male)
UM015006-1207 Introduction
Page 5
Z8 Encore! XP® F0822 Series Flash MCU Development Kit
5 V DC power supply
CD-ROM Containing
Documentation
Smart Cable
User Manual
2
Packaging
Power
Supply
Evaluation Board
Figure 1. Z8 Encore! XP® MCU Development Kit Contents

Software (on CD-ROM)

The software (on CD-ROM) includes:
Zilog Developer Studio (ZDS II)- Z8 Encore! IDE with ANSI C­Compiler
Sample code
Document browser
Acrobat Reader
UM015006-1207 Introduction
Page 6
Z8 Encore! XP® F0822 Series Flash MCU Development Kit

Documentation

The documentation includes:
Quick Start Guide
Z8 Encore! XP F0822 Series Flash MCU technical documentation (on CD-ROM):
Development kit User Manual
ZDS II - IDE User Manual
eZ8 CPU User Manual
Product Specification
Product brief
Application notes
Programmer’s Reference Sheet
User Manual
3
The sample code is installed with ZDS II and resides in the disk drive at:
<installation directory>\samples
The documentation can be installed 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, Windows Explorer can be used to select any document to be viewed with PDF file viewer.

System/Software Requirements

An IBM PC (or compatible computer) with the following minimum configurations:

Supported Host System Configuration

The host system configuration for Z8 Encore! XP F0822 Series Flash MCU development kit includes:
Win98 Second Edition/ WinNT 4.0 Service Pack 6/ Win2000 Service Pack 3/ WinXP Service Pack 1
UM015006-1207 Introduction
Page 7

Installation

Z8 Encore! XP® F0822 Series Flash MCU Development Kit
User Manual
Pentium II/233 MHz 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
Follow the directions in the Quick Start Guide for software installation and setup of the Z8 Encore! XP development kit.
4
UM015006-1207 Introduction
Page 8
Z8 Encore! XP® F0822 Series Flash MCU Development Kit
®
Z8 Encore! XP
F0822 Series Flash
MCU Evaluation Board
Z8 Encore! XP® F0822 Series Flash MCU evaluation board (see
Figure 2) is an evaluation and prototyping board for the Z8 Encore! XP
F0822 Series Flash MCU. The board provides you with a tool to evaluate features of Z8 Encore! XP F0822 Series Flash MCU, and to start developing an application before building the hardware.
User Manual
5
RESET
P2
RS-232
Serial Port
TEST
U6
J1
Figure 2. Z8 Encore! XP F0822 Series Flash MCU Evaluation Board
Y1
J2
LEDs
UM015006-1207 Z8 Encore! XP® F0822 Series Flash MCU
Page 9

Features

Z8 Encore! XP® F0822 Series Flash MCU Development Kit
User Manual
The features of Z8 Encore! XP F0822 Series Flash MCU evaluation board include:
Z8 Encore! XP MCU (28-pin SOIC)
3 LEDs
RS-232 interface
IrDA transceiver
Two pushbuttons–RESET and TEST
5 V DC power connector
On-Chip Debugger (OCD) interface
Crystal Oscillator at 18.432 MHz
6
Header for ADC input
Prototyping area
External interface connectors JP1 and JP2
2.7 V to 3.6 V operating voltage with 5 V-tolerant inputs
MCU
Z8 Encore! XP F0822 Series Flash MCU is member of Zilog family of 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 Z8 Encore! XP F0822 Series Flash MCU makes it suitable for various applications including motor control, security systems, home appliances, personal electronic devices, and sensors.
The evaluation board contains circuitry to support and present all the features of the Z8 Encore! XP F0822 Series Flash MCUs.
UM015006-1207 Z8 Encore! XP® F0822 Series Flash MCU
®
instructions. The rich peripheral set of
Page 10
Z8 Encore! XP® F0822 Series Flash MCU Development Kit
User Manual
The main features of Z8 Encore! XP F0822 Series Flash MCUs include:
eZ8 core CPU
8 KB Flash memory with in-circuit programming capability
1 KB 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 (Endec)
Two 16-bit timers with capture, compare, and PWM capability
7
Watchdog Timer (WDT) with internal RC oscillator
Eleven or nineteen I/O pins
Programmable priority interrupts
On-Chip Debugger
Voltage Brownout Protection (VBO)
Power-On Reset (POR)
2.7 V to 3.6 V operating voltage with 5 V-tolerant inputs
Operating temperatures: 20 °C ±10 °C
For further information on the Z8 Encore! XP family of devices, refer to Z8 Encore! 8K and 4K Series Product Specification (PS0243) available for download at www.zilog.com
UM015006-1207 Z8 Encore! XP® F0822 Series Flash MCU
.
Page 11
Z8 Encore! XP® F0822 Series Flash MCU Development Kit

UART with IrDA Endec

The Z8 Encore! XP F0822 Series Flash MCU contains a fully-functional, high-performance UART with Infrared Encoder/Decoder, component U6. The Infrared ENDEC is integrated with an on-chip UART allowing easy communication between the Z8 Encore! XP F0822 Series Flash MCU and IrDA transceivers. Infrared communication provides secure, reliable, low­cost, point-to-point communication between PCs, PDAs, cell phones, printers, and other infrared enabled devices.

Crystal Oscillator

The evaluation board is shipped with an 18.432 MHz Crystal Oscillator (Y1). To change the crystal oscillator you must change the clock frequency of ZDS II. The frequency settings is found at
Debugger ZDB: Configure ZDB Driver: Clock Frequency. For
tings
supported frequencies, refer to Z8 Encore! XP
User Manual
Project Set-
®
Product Specification .
8

Power and Communication Interfaces

Table 1 provides jumper information concerning the shunt status,
functions, devices and defaults affected by jumpers JP3 and JP4.
UM015006-1207 Z8 Encore! XP® F0822 Series Flash MCU
Page 12
Z8 Encore! XP® F0822 Series Flash MCU Development Kit
User Manual
Table 1. Jumpers JP3 and JP4
Device
Jumper Status
JP3**OUT*RS-232
JP3 IN RS-232
JP4 OUT* IrDA
JP4 IN IrDA
* These jumpers must not be OUT at the same time.
** If the module is plugged onto an eZ80
demonstration board the local RS-232 can be disabled by connecting header JP2 pin 50 to the corresponding GND on the mating connector
Affected Status Default
Enabled X
interface
Disabled
interface
Enabled
interface
Disabled X
interface
®
Evaluation platform or eZ80
.
9

External Interface Headers JP1 and JP2

The external interface headers, JP1 and JP2 contain no connectors when the board is shipped. You can insert 0.1" space connectors of choice.
UM015006-1207 Z8 Encore! XP® F0822 Series Flash MCU
Page 13

Schematics

Figure 3 and Figure 4 displays the schematics for Z8 Encore! XP® F0822 Series Flash MCU Evaluation Board.
5 4 3 2 1
GND
PA6_SCL PA7_SDA
-RESET GND XIN XOU VCC_33V
PA0_T0IN PA1_T0O
PA2
C15 18pF
VCC_33V
GND
PA0_T0IN
PA1_T0O
PA2
T
UT
Y1
18.432MHz
R14
100K
D2
RED D3
UT
GREEN
D4
YELL
20 pin Socket 28 pin Socket
U7
1
PA6/SCL
2
PA7/SDA
3
RESET
4
GND
5
XIN
6
XOUT
7
VDD
8
PA0/T0IN
9
PA1/T0OUT PA2/DE
Z8F0xx1
XIN
XOU
T
R13 220
18pF
C16
VCC_33V
D D
C C
B B
A A
Z8 Encore! XP® F0822 Series Flash MCU Development Kit
User Manual
10
VCC_33V
+
C13
C12
0.01uF
22uF
GND
R8
21
21
21
100
R9
100
R11
100
20
PC0/T1IN PB0/ANA0 PB1/ANA1
PA5/TXD0 PA4/RXD0 PA3/CTS0
RESET
PB0_ANA0
19 18 17
VREF
16
AGND
VCC_33V
15
AVDD
14
DBG
PA
13
PA4_RXD0
12
PA3_CTS0
1110
VCC_33V
-RESET
SW1
PB0_ANA0 PB2_ANA2
PC0_T1IN
VREF AGND
DBG
5_TXD0
R3 10K
C10
0.01uF
VCC_33V
-RESET
PB1_ANA1
C17
0.001uF
R10
100K
R12 100
C18
0.001uF
SW2
TEST
PC0_T1IN PA6_SCL PA7_SDA
-RESET
PC5_MISO PC4_MOSI PC3_SCK PC2_SS PA0_T0IN PA1_T0O
1 2 3 4
GND
5
XIN
6
XOU
T
7
VCC_33V
8
9 10 11 12 13
UT
14 15
PB3_ANA3
C19
0.001uF
GND
U8
PC0/T1IN PA6/SCL PA7/SDA RESET VSS XIN XOUT VDD PC5/MISO PC4/MOSI PC3/SCK PC2/SS PA0/T0IN PA1/T0OUT
Z8F0XX2
PB4_ANA4
C20
0.001uF
C4
0.1uF
C21
0.001uF
PB0/ANA0 PB1/ANA1 PB2/ANA2 PB3/ANA3 PB4/ANA4
VREF AVSS AVDD
DBG
PC1/T1OUT
PA5/TXD0 PA4/RXD0 PA3/CTS0
PA2/DE
AGND
28 27 26 25 24 23 22 21 20 19 18 17 16
VREF
PB0_ANA0 PB1_ANA1 PB2_ANA2PB1_ANA1 PB3_ANA3 PB4_ANA4
VREF AGND VCC_33V
DBG PC1_T1OUT PA
5_TXD0 PA4_RXD0 PA3_CTS0
PA2
+
C14 22uF
DBG
C22
0.01uF
VCC_33V PC4_MOSI
PC3_SCK PC0_T1IN
GND
PC1_T1OUT
PA3_CTS0 PA4_RXD0
GND
PA6_SCL PA7_SDA
-RESET VCC_33V
VCC_33V
PB0_ANA0 PB1_ANA1 PB2_ANA2 PB3_ANA3 PB4_ANA4
connector
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
DBG
DBG
PA
5_TXD0
PA5
PA3_CTS0
PA3_CTS0
PA4_RXD0
PA4_RXD0
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
_TXD0
J2 12
34 56 78 9
10
Header 5x2
2
GND PC5_MISO
PA1_T0O
PA
-DIS_IrDA
PC2_SS PA0_T0IN
PA2
GND
5_TXD0
GND
GND
UT
If Module is plugged onto the Dev Platform the local
RS232 interface is disabled by pin 50 of JP2
-DIS_232
-DIS_IRDA
connector 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
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
HEADER 30x2/SM
1
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
VCC_33V
Figure 3. Schematic for Z8 Encore! XP F0822 Series Flash MCU Evaluation Board
UM015006-1207 Schematics
Page 14
Z8 Encore! XP® F0822 Series Flash MCU Development Kit
96C0897-001
B
User Manual
11
J1
PWR JACK
D D
GND
C C
B B
A A
5 4 3 2 1
2 3 1
F1
RXE
110
U2
3 2
VIN
VOUT
1
GND
LT1086-3.3/TO220
TP1
0.1uF
12345
GND
5V
C9
GND
C23
0.1uF
+
100/10
C8
TP2
+
C1
100/10
VCC_33V
R1 680
21
D1
12345
VCC
LED
VCC_33V
VCC
VCC_33V
3.3 O
-DIS_232
JP3
1 2
DIS RS232
K
VCC_33V
R15 10K
PA5
_TXD0
PA3_CTS0 PA4_RXD0
1 2
GND
PA
147
5_TXD0
U4A
C3
0.1uF
C5
0.1uF
PA3_CTS0
PA4_RXD0
74LVC04/SO
GND
VCC_33V
2 4 5 6
13 12
15 10
1
20
GND
U10 C1+ C1­C2+ C2-
T1IN T2IN
R1OUT R2OUT
EN SHDN MAX3
VCC_33V
1918
VCCGND
222
-DIS_IRDA
JP4
1 2
DIS IRDA
DBG INTERFACE
P2 12
34 56
Header 3x2
T1OUT T2OUT
R1IN R2IN
GND
3
V+
GND
C7
R4 10K
VCC_33V
R7 10K
-RESET DBG
0.1uF
3 4
GND
-RESET DBG
147
U4B
74LVC04/SO
7
V-
17 8
16 9
14
NC
11
NC
C6
0.1uF
R5
68
R6 2R7
PA
5_TXD0
IRDA_SD
PA4_RXD0
Title
Encore! F08. Evaluation Module. Schemati
SizeDocument Number
B
TXD
5 1 2 4 3 6
CTS0 RXD0
0
C11
330nF
VCC LEDA TXD SD RXD GND
U6
CONSO
1 6 2 7 3 8 4 9 5
DB9 Female
T
ZHX1810
0
USER
LE
P1
c.
Rev
Figure 4. Schematic for Z8 Encore! XP F0822 Series Flash MCU Evaluation Board
UM015006-1207 Schematics
Page 15
Z8 Encore! XP® F0822 Series Flash MCU Development Kit

Customer Support

For answers to technical questions about the product, documentation, or any other issues with Zilog’s offerings, please visit Zilog’s Knowledge Base at http://www.zilog.com/kb.
For any comments, detail technical questions, or reporting problems, please visit Zilog’s Technical Support at http://support.zilog.com.
User Manual
12
UM015006-1207 Customer Support
Page 16
Z8 Encore! XP® F0822 Series Flash MCU Development Kit
User Manual
Warning:
DO NOT USE IN LIFE SUPPORT
LIFE SUPPORT POLICY
ZILOG’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
Document Disclaimer
©2007 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.The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. Z8, eZ80, Z8 Encore!, and Z8 Encore! XP are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners.
UM015006-1207
Loading...