ZiLOG WorTelephon
Z8 Encore! XP® F08xA Series Development Kit
Z8F08A28100KIT
User Manual
UM018603-1005ldwide Headquarters • 532 Race Street • San Jose, CA 95126e: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com
Z8 Encore! XP® F08xA Series Development KitUser 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 Headquarters532 Race StreetSan Jose, CA 95126Telephone: 408.558.8500Fax: 408.558.8300www.ZiLOG.com
Document DisclaimerZiLOG 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.©2005 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.
UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser Manual
iii
Revision HistoryEach instance in Table 1 reflects a change to this document from its previ-ous revision. To see more detail, click the appropriate link in the table.
Table 1. Revision History of this Document
DateRevision Level Section Description Page #
Feb. 2005
2 Introduction Corrected typo in development kit name. 1
October 2005
3 F08xA Series Development Boar
Corrected typo in the MCU features list; updated schematic for board rev C.
8, 13
UM018603-1005 Revision History
Z8 Encore! XP® F08xA Series Development KitUser Manual
iv
SafeguardsThe following precautions must be observed when working with the devices described in this document.
Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD).
Caution:
Safeguards PRELIMINARY UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser Manual
v
Table of ContentsRevision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
List of Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1Software (on CD-ROM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
System/Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Supported Host System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . .3
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
F08xA Series Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .10External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
UM018603-1005 Table of Contents
Z8 Encore! XP® F08xA Series Development KitUser Manual
vi
Table of Contents UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser Manual
v
List of FiguresFigure 1. Z8 Encore! XP® F08xA Series Development Kit Contents .2
Figure 2. Z8 Encore! XP® F08xA Series Development Board . . . . .7
UM018603-1005 List of Figures
Z8 Encore! XP® F08xA Series Development KitUser Manual
vi
List of Figures UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser Manual
1
IntroductionThe Z8 Encore! XP® F08xA Series MCU is part of the line of ZiLOG microcontroller products.
The Z8 Encore! XP® F08xA Series MCU Development Kit (Z8F08A28100KIT) 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! Development board that supports and pre-sents the features of the Z8 Encore! XP F08xA Series. This kit allows users to begin writing application software and contains all supporting documents.
This manual acquaints users with the Z8 Encore! XP F08xA Series MCU Development Kit, and gives instructions on setting up and using the tools to start building designs and applications.
Kit ContentsThe Z8 Encore! XP F08xA Series MCU Development Kit contains the following:
Hardware• Z8 Encore! XP F08xA Series Development board
• Serial Smart Cable for PC to Z8 Encore! XP F08xA Series Develop-ment board (DB9 to six-pin male)
• 5VDC power supply
UM018603-1005 Introduction
Z8 Encore! XP® F08xA Series Development KitUser Manual
2
Figure 1. Z8 Encore! XP® F08xA 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
• Z8 Encore! XP F08xA Series technical documentation (on CD-ROM)
DevelopmentBoard
Packaging
CD-ROM ContainingDocumentation
PowerSupply
Serial Smart Cable
Introduction UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser 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 <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 RequirementsIBM 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
• Super VGA video adapter
• CD-ROM
• One or more RS-232 communication ports
UM018603-1005 Introduction
Z8 Encore! XP® F08xA Series Development KitUser Manual
4
Introduction UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser Manual
5
InstallationFollow the directions in the Quick Start Guide for software installation and setup of the Z8 Encore! XP® F08xA Series Development kit.
UM018603-1005 Installation
Z8 Encore! XP® F08xA Series Development KitUser Manual
6
Installation UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser Manual
7
F08xA Series Development BoardIntroduction
The Z8 Encore! XP® F08xA Series Development board is a development and prototyping board for the Z8 Encore! XP F08xA Series MCU. The board provides customers with a tool to evaluate features of Z8 Encore! XP F08xA Series MCU, and to start developing an application before building the hardware.
Figure 1. Z8 Encore! XP® F08xA Series Development Board
UM018603-1005 F08xA Series Development Board
Z8 Encore! XP® F08xA Series Development KitUser 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
• 20 MHz Ceramic Oscillator (Y1)
• Header for ADC input
• Prototyping area
• External interface connectors JP1 and JP2
• 2.7–3.6 V operating voltage with 5V-tolerant inputs
MCUThe Z8 Encore! XP F08xA 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! XP F08xA 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 F08xA Series. The main features of the Z8 Encore! XP F08xA Series are:
F08xA Series Development Board UM018603-1005
Z8 Encore! XP® F08xA Series Development KitUser Manual
9
• eZ8 core CPU
• 8KB Flash memory with in-circuit programming capability
• 1KB register RAM
• 8-channel, 10-bit analog-to-digital converter (ADC)
• Full-duplex UART
• 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 PS0247, available for download from www.zilog.com.
UART with IrDA EndecThe Z8 Encore! XP F08xA Series (component U5) contains a fully-func-tional, high-performance UART with Infrared Encoder/Decoder (ENDEC). The Infrared Endec is integrated with an on-chip UART allow-ing easy communication between the Z8 Encore!® XP F08xA Series and IrDA transceivers. Infrared communication provides secure, reliable, low-
UM018603-1005 F08xA Series Development Board
Z8 Encore! XP® F08xA Series Development KitUser Manual
10
cost, point-to-point communication between PCs, PDAs, cell phones, printers and other infrared enabled devices.
Power and Communication InterfacesTable 1 provides jumper information concerning the shunt status, func-tions, devices and defaults affected of jumpers JP3 and JP4.
External Interface Headers JP1 and JP2External interface headers JP1 and JP2 are shown in the schematic on page 13.
Table 1. Jumpers JP3 and JP4
Jumper StatusDevice Affected Status Default
JP3* OUT RS-232 interface
Enabled X
JP3 IN RS-232 interface
Disabled
JP4* OUT IrDA interface EnabledJP4 IN IrDA interface Disabled XJP5 OUT U5 RESET/
PD0PD0 (GPIO) X
JP5 IN U5 RESET/PD0
RESET when SW1 pressed
Note: * These jumpers must not be OUT at the same time
F08xA Series Development Board UM018603-1005
Z 8 E ncor e! XP ® F08xA Series Development KitUser Manual
11
SchematicThis section includes schematics for the Z8 Encore! XP® F08xA Series Development Board.
UM018603-0805 PRELIMINARY Schematic
Z8 Encore! XP® F08xA Series Development KitUser Manual
12
Schematic PRELIMINARY UM018603-0805
Z8 Encore! XP® F08xA Series Development KitUser Manual
13
A20
-CS0
A12
-IOREQ
-F91_WE
A13
GND
GND
A17
A21
VCC_33V
A14
D1
VCC_33V
D7
-DIS_FLASH
GNDA6 A0
D3
D6
-BUSACK
A3
D2
VCC_33V
A15
A4
-TRSTN
D0
-MREQ
A7
A10
A9
A16A18
A11
-INSTRD
A19
A5
GNDD5
-CS1A22
A1A2
-CS2
-RD
A8GND
D4
A23
-WR-BUSREQ
GND
B7
A3_CTS0
C7
VCC_33V
C4
A7_T1OUT PA2PA1_T0OUT_JPGND
GND
PC5
A4_RXD0 PA5_TXD0
GND
GNDB6
PA0_T0IN_JP
PC6
GNDCC_33V
-DIS_IrDA
B4_ANA7 PC2_ANA6PC0_ANA4PB2_ANA2PB0_ANA0
C1_ANA5B3_ANA3B1_ANA1
PB5_JPC3_COUT
PD0
A6_nT1OUT
RESETVCC_33V
-DIS_IRDA-DIS_232
ument Number Rev
Sheet of
96C0941-001 C
4K MDS Processor Module. Schematic.
1 2ednesday, July 21, 2004
ument Number Rev
Sheet of
96C0941-001 C
4K MDS Processor Module. Schematic.
1 2ednesday, July 21, 2004
ument Number Rev
Sheet of
96C0941-001 C
4K MDS Processor Module. Schematic.
1 2ednesday, July 21, 2004
connector 2
connector 1forreferenceonly
Module is plugged onto the Dev Platform the local 32 interface is disabled by pin 50 of JP2
24681012141618202224262830323436384042444648505254565860
13579
11131517192123252729313335373941434547495153555759
JP2
HEADER 30x2/SM
JP2
HEADER 30x2/SM
24681012141618202224262830323436384042444648505254565860
13579
11131517192123252729313335373941434547495153555759
JP1
HEADER 30x2/SM
JP1
HEADER 30x2/SM
UM018603-1005
Schematic, Z8 Encore! XP® F08xA Series MCU Development Board, Page 1 of 2
PB0_ANA0 PB2_ANA2
VCC_33V
PB3_ANA3
GND
PB1_ANA1
PB3_ANA3
PB0_ANA0
PB4_ANA7
PB2_ANA2
P
P
PP
P
P
P
PA6_nT1OUT
PA7_T1OUTV
GND
PB1_ANA1
PA2
VCC_33V
GND
PA5_TXD0
PB1_ANA1 PB0_ANA0
DBG
PA3_CTS0PA4_RXD0
PB2_ANA2PB3_ANA3
PA0_T0IN
PC3_COUT
PA7_T1OUT
PC3_COUTPC2_ANA6PC1_ANA5PC0_ANA4
PD0
PA6_nT1OUT
PC2_ANA6 PB4_ANA7
PC0_ANA4PC1_ANA5PC2_ANA6
PB6
PB7GND
PC5
PB2_ANA2
PA2
PC0_ANA4
PC2_ANA6
PA5_TXD0
PD0
PC3_COUT
PC1_ANA5
PA4_RXD0 PC4
VCC_33V
PC7
PA2
PA6_nT1OUT
PA1_T0OUT
PC6
PA3_CTS0
GND
PC1_ANA5
PA7_T1OUT
PB0_ANA0
GND
PA1_T0OUT
PB1_ANA1
PA0_T0IN
PB4_ANA7
PC0_ANA4
PB3_ANA3
DBG
PPPP
P
GND
VCC_33V
VCC_33V
P
-
PA0_T0IN_JP
PA1_T0OUT_JP
PB5
PB5_JP
GND
VCC_33V
DBG
PA3_CTS0PA4_RXD0PA5_TXD0
SENSE
Title
Size Doc
Date:
XP
B
W
Title
Size Doc
Date:
XP
B
W
Title
Size Doc
Date:
XP
B
W
If RS2
TEST
20 pin footprint28 pin footprint
RESET/TEST2
Note 1:PB6 and PB7 are dual function pins (GPIO or Analog supply)R12, R13, R16, and R17 are zero-ohm resistors used inconjunction with GPIO Control Registers to select functiondesired. C21, C22, and C23 are bypass capacitors that are usedfor better noise rejection. U8 is an optional filter that canbe used to improve the quality of the Analog Supply. The development board is shipped configured for Analog Supply.Table 1 shows the configurations recommended
NOTE 1:
NOTE 1:
NOTE 2
Note 2: The XP supports internal, external crystal, external ceramic resonator, external R/C and external CMOS driveclock modes. R14, R15, R18, C19, C20 and Y1 are used tosupport the clock mode selected. The development board isshipped configured for external 20MHz ceramic resonator orinternal clock operation. When using Internal oscilator,pins 7 and 8 could be used as GPIO ports PA0 and PA1. To doso install R20 and R21. Table 2 shows the recommended clock mode configurations.
Clock Mode R14 R15 R18 C19 C20 Y1
Internal Only none none none none none none
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
TABLE 2
(Use PA0_T0INpin on JP2)
Supply
R12 R13 R16 R17 R22 U8 C21...C23
Analog IN OUT IN OUT OUT optional IN
GPIO OUT IN OUT IN IN OUT OUT
TABLE 1
R140R140
21D2
GREEN
D2
GREEN
C150.001uFC150.001uF
SW2SW2
R13
0
R13
0
SW1SW1
R11
100
R11
100
R8
100
R8
100
R22 0R22 0
C22
0.033uF
C22
0.033uF C21
0.033uF
C21
0.033uF
+C23
30uF
+C23
30uF
C20C20
R150R150
C10
0.001uF
C10
0.001uF
C160.001uFC160.001uF
R9
100K
R9
100K
R16 0R16 0
PB2/ANA22
PA4/RXD010PA3/CTS09PA2/DE8
PB3/CLKIN/ANA33
PA1/T0OUT/XOUT6PA0/T0IN/T0OUT/XIN/5
PB0/ANA0 20PB1/ANA11
PC1ANA5/CINN/LED 17
PC0/ANA4/CINP/LED 16
DBG 15
PA7/T1OUT 13
PA6/T1IN/T1OUT 12
PA5/TXD0 11
RESET/PD0 14GND7
VDD4
PC3/COUT/LED 19
PC2/ANA6/LED 18
U6
Z8F04xA
U6
Z8F04xA
21D3
YELL
D3
YELL
R10
10
R10
10
C120.001uFC120.001uF
11
22
3 3
Y1
20 MHz
Y1
20 MHz
IO1
GN
D2
IO 3
U8
EMI Filter
U8
EMI Filter
C110.001uFC110.001uF
246810121416
13579
111315
J2
HEADER 8X2
J2
HEADER 8X2
R17 0R17 0
12
JP5
HEADER 2
JP5
HEADER 2
R18
1M
R18
1M
C130.001uFC130.001uF
R20
0
R20
0
21D4
RED
D4
RED
C19C19
R19 10KR19 10K
C140.001uFC140.001uF
R12
0
R12
0
R21
0
R21
0
GND9
PC4/LED 16
PA6/T1IN/T1OUT 15PA5/TXD014PA4/RXD013PA3/CTS012
PB3/ANA3/CLKIN4
PA0/T0IN/T0OUTXIN7VDD6
PB1/ANA1 28
PB0/ANA0 27
PC1/ANA5/CINN/LED 24PC2/ANA6/LED 25PC3/COUT/LED 26
PC0/ANA4/CINP/LED 23
PB2/ANA21
PC6/LED 19PC7/LED 20
PA2/DE11
PB5/Vref3PB4/ANA72
PA7/T1OUT 18
PC5/LED 17
PB7(AGND)10
PA1/T0OUT/XOUT8
PB6(AVDD)5
RESET/PD0 21DBG 22
U5
Z8F04xA_28
U5
Z8F04xA_28
R7
100
R7
100
C170.001uFC170.001uF
C180.001uFC180.001uF
Z8 Encore! XP® F08xA Series Development KitUser Manual
14
TXD0CTS0RXD0
PA4_RXD0
PA5_TXD0
IRDA_SD
GND
ment Number Rev
Sheet of
96C0941-001 C
4K MDS Processor Module. Schematic.
2 2ednesday, July 21, 2004
ment Number Rev
Sheet of
96C0941-001 C
4K MDS Processor Module. Schematic.
2 2ednesday, July 21, 2004
ment Number Rev
Sheet of
96C0941-001 C
4K MDS Processor Module. Schematic.
2 2ednesday, July 21, 2004
CONSOLE
USER
R3
68
R3
68
C10.1uFC10.1uF
C9
330nF
C9
330nFR4
2R7
R4
2R7
C50.1uFC50.1uF
TXD2
SD4
RXD3
LEDA1
VCC5
GND6 T0
U4
ZHX1810
U4
ZHX1810
594837261
P1
DB9 Female
P1
DB9 Female
UM018603-1005
Schematic, Z8 Encore! XP® F08xA Series MCU Development Board, Page 2 of 2
GND
VCC_33VDBG
GND
PA3_CTS0
VCC_33V
GND
VCC_33V
PA5_TXD0
VCC_33V
PA4_RXD0
GND
VCC_33V
GND
-Z_RST
GND
5V
VCC_33V
VCC
GND
-Z_RST
PA3_CTS0
DBG
-DIS_IRDA
-DIS_232
PA5_TXD0
PA4_RXD0
VCC_33V
GND
SENSE
Title
Size Docu
Date:
XP
B
W
Title
Size Docu
Date:
XP
B
W
Title
Size Docu
Date:
XP
B
W
GND
DBGINTERFACE
DIS RS232
DIS IRDA
3.3 OK
C20.1uFC20.1uF
C40.1uFC40.1uF
11 10
147
U3E
74LVC04/SO
U3E
74LVC04/SO
1 2
147
U3A
74LVC04/SO
U3A
74LVC04/SO
OUT 1
SENSE2
GN
D3
SHDN4
VIN5
U7
LT1129-3.3/DD
U7
LT1129-3.3/DD
C60.1uF
C60.1uF
12
JP3JP3
9 8
147
U3D
74LVC04/SO
U3D
74LVC04/SO
1 23 45 6
P2
Header 3x2
P2
Header 3x2
R210KR210K
3 4
147
U3B
74LVC04/SO
U3B
74LVC04/SO
R2310KR2310K
13 12
147
U3F
74LVC04/SO
U3F
74LVC04/SO
12
JP4JP4
R1
680
R1
680
F1
RXE050
F1
RXE050
R2415KR2415K
231
J1
PWR JACK
J1
PWR JACK
+C7
100/10
+C7
100/10C8
0.1uF
C8
0.1uF
R510KR510K
+ C3
100/10
+ C3
100/10
5 6
147
U3C
74LVC04/SO
U3C
74LVC04/SO
EN1
C1+2
C1-4
C2+5
C2-6
T1IN13
T2IN12
R1OUT15
R2OUT10
V+ 3
V- 7
T1OUT 17
T2OUT 8
R1IN 16
R2IN 9
SHDN20
VC
C19
GN
D18
NC 11NC 14
U1
MAX3222
U1
MAX3222
1 2 3 4 5
TP1TP1
R610KR610K
21
D1
LED
D1
LED
1 2 3 4 5
TP2TP2