Z8F04328100KIT Development Kit User Manual Sheets/ZiLOG PDFs... · · 2005-02-04Z8F04328100KIT...
Transcript of Z8F04328100KIT Development Kit User Manual Sheets/ZiLOG PDFs... · · 2005-02-04Z8F04328100KIT...
ZiLOG WorTelephon
Z8 Encore® 4K Series Microcontrollers
Z8F04328100KIT Development Kit
User Manual UM018501-1004PRELIMINARY
ldwide Headquarters • 532 Race Street • San Jose, CA 95126e: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com
Z8F04328100KIT Development KitUser Manual
PRELIMINARY UM018501-1004
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 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.©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.
Z8F04328100KIT Development KitUser Manual
iii
Table of ContentsTable of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
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
Z8 Encore! 4K Series Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . .7Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .10External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Customer Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
UM018501-1004 PRELIMINARY Table of Contents
Z8F04328100KIT Development KitUser Manual
iv
Table of Contents PRELIMINARY UM018501-1004
Z8F04328100KIT Development KitUser Manual
v
List of FiguresFigure 1. Z8 Encore! 4K Series Development Kit Contents . . . . . . . .2
Figure 2. Z8 Encore! 4K Series Development Board . . . . . . . . . . . . .7
UM018501-1004 PRELIMINARY List of Figures
Z8F04328100KIT Development KitUser Manual
vi
List of Figures PRELIMINARY UM018501-1004
Z8F04328100KIT Development KitUser Manual
1
IntroductionThe Z8 Encore!® 4K Series MCU is the part of the line of ZiLOG micro-controller 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 applica-tion 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 build-ing designs and applications.
Kit ContentsThe Z8 Encore! 4K Series Development Kit contains the following:
Hardware• Z8 Encore! 4K Series Development board
• Smart Cable for PC to Z8 Encore! 4K Series Development board (DB9 to six-pin male)
• 5VDC power supply
UM018501-1004 PRELIMINARY Introduction
Z8F04328100KIT Development KitUser Manual
2
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• Quick Start Guide
• Registration card
• Z8 Encore! 4K Series technical documentation (on CD-ROM)
DevelopmentBoard
Packaging
CD-ROM ContainingDocumentation
PowerSupply
Smart Cable
Introduction PRELIMINARY UM018501-1004
Z8F04328100KIT 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
UM018501-1004 PRELIMINARY Introduction
Z8F04328100KIT Development KitUser Manual
4
Introduction PRELIMINARY UM018501-1004
Z8F04328100KIT Development KitUser Manual
5
InstallationFollow 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 KitUser Manual
6
Installation PRELIMINARY UM018501-1004
Z8F04328100KIT Development KitUser Manual
7
Z8 Encore! 4K Series Development BoardIntroduction
The Z8 Encore! 4K Series Development board is a development and pro-totyping 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 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
• 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! 4K Series MCU is member of a family of ZiLOG micro-controller products based upon the 8-bit eZ8 core CPU. The Flash in-cir-cuit 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 KitUser 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 EndecThe 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 KitUser Manual
10
munication between the Z8 Encore!® 4K Series 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.
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 11.
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
Z8 Encore! 4K Series Development BoardPRELIMINARY UM018501-1004
Schematics
Z8F04328100KIT Development Kit User Manual
11
1
1
D
C
B
A
connector 1forreferenceonly
dule is plugged onto the Dev Platform the local
interface is disabled by pin 50 of JP2
96C0941-001 B
4K MDS Processor Module. Schematic.
1 2ednesday, February 25, 2004
ment Number Rev
Sheet of
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
7
3_CTS0
7
VCC_33V
4
7_T1OUT PA2PA1_T0OUTGND
GND
PC5
4_RXD0 PA5_TXD0
GND
GND6
PA0_T0IN
PC6
GNDC_33V
-DIS_IrDA
4_ANA7 PC2_ANA6PC0_ANA4PB2_ANA2PB0_ANA0
1_ANA53_ANA31_ANA1
PB53_COUT
PD0
6_nT1OUT
SETVCC_33V
-DIS_IRDA-DIS_232
JP2
HEADER 30x2/SM
24681012141618202224262830323436384042444648505254565860
13579
11131517192123252729313335373941434547495153555759
JP1
HEADER 30x2/SM
24681012141618202224262830323436384042444648505254565860
13579
11131517192123252729313335373941434547495153555759
UM018501-1004 PRELIMINARY
SchematicsThe following diagrams provide schematics for the Z8 Encore! 4K Series Development Board.
Schematic, Z8 Encore! 4K Series Development Board, Page 1 of 2
5
5
4
4
3
3
2
2
D
C
B
A
connector 2
If Mo
RS232
TEST
20 pin footprint28 pin footprint
RESET/TEST2
Note 1:PB6 and PB7 are dual function pins (GPIO or AnalogSupply)R12, R13, R16, and R17 are zero-ohm jumpers used inconjuntion with GPIO Control Registers to selectfunction desired. The development board is shippedwith jumpers configured for Analog Supply.U8 is an optional filter that can be used to improvethe quality of the Analog SupplyTable 1 shows the configurations recommended
NOTE 1:
NOTE 1:
NOTE 2
Note 2: The XP supports internal, external crystal, externalceramic resonator, external R/C and external CMOS drive clock modes. R14, R15, R18, C19, C20 and Y1 are used to supportthe clock mode selected. The development board is shippedconfigured for external 8Mhz ceramic resonator or internalclock operation.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
Analog 0 ohm none 0 ohm none optional
GPIO none 0 ohm none 0 ohm none
Supply
R12 R13 R16 R17 U8
TABLE 1
TABLE 2
(Use PA0_T0INpin on JP2)
XP
B
W
Title
Size Docu
Date:
PB0_ANA0 PB2_ANA2
VCC_33V
PB3_ANA3
GND
PB1_ANA1
PB3_ANA3
PB0_ANA0
PB4_ANA7
PB2_ANA2
PB
PA
PCPC
PA
PA
PB
PA6_nT1OUT
PA7_T1OUTVC
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
PB5
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
PBPCPBPB
PC
GND
VCC_33V
VCC_33V
PA
-RE
GND
VCC_33V
DBG
PA3_CTS0PA4_RXD0PA5_TXD0
SENSE
D2
GREEN
21
R140
C150.001uF
SW2
SW1
R13
0
R11
100
R8
100
C20
R150
C10
0.001uF
C160.001uF
R9
100K
R16 0
U6
Z8F04xA
2
1098
3
65
201
171615
131211
147
4
1918
PB2/ANA2
PA4/RXD0PA3/CTS0PA2/DE
PB3/CLKIN/ANA3
PA1/T0OUT/XOUTPA0/T0IN/T0OUT/XIN/
PB0/ANA0PB1/ANA1
PC1ANA5/CINN/LEDPC0/ANA4/CINP/LED
DBG
PA7/T1OUTPA6/T1IN/T1OUT
PA5/TXD0
RESET/PD0GND
VDD
PC3/COUT/LEDPC2/ANA6/LED
D3
YELL
21
R10
10
C120.001uF
Y1
8 MHz
1
2
31
2
3
U8
EMI Filter
1
2
3IO
GN
D IO
C110.001uF
J2
HEADER 8X2
246810121416
13579
111315
R17 0
JP5
HEADER 2
12
R18
1M
C130.001uF
D4
RED
21
C19
R19 10K
C140.001uF
R12
0
U5
Z8F04xA_28
9
161514
1312
4
76
2827
242526
23
1
1920
11
32
1817
10
8
5
2122
GND
PC4/LEDPA6/T1IN/T1OUTPA5/TXD0
PA4/RXD0PA3/CTS0
PB3/ANA3/CLKIN
PA0/T0IN/T0OUTXINVDD
PB1/ANA1PB0/ANA0
PC1/ANA5/CINN/LEDPC2/ANA6/LEDPC3/COUT/LED
PC0/ANA4/CINP/LED
PB2/ANA2
PC6/LEDPC7/LED
PA2/DE
PB5/VrefPB4/ANA7
PA7/T1OUTPC5/LED
PB7(AGND)
PA1/T0OUT/XOUT
PB6(AVDD)
RESET/PD0DBG
R7
100
C170.001uF
C180.001uF
Z8F0423
Z8F0423
Note 2: The 4K does not support an external oscillator even though crystal Y1 is installed.
Schematics
Z8F04328100KIT Development Kit User Manual
121
1
D
C
B
A
CONSOLE
USER
96C0941-001 B
K MDS Processor Module. Schematic.
2 2nday, March 01, 2004
ent Number Rev
Sheet of
TXD0CTS0RXD0
PA4_RXD0
PA5_TXD0
IRDA_SD
GND
R3
68
C10.1uF
C9
330nFR4
2R7
C50.1uF
U4
ZHX1810
2
4
3
1
5
6
0
TXD
SD
RXD
LEDA
VCC
GND T
P1
DB9 Female
594837261
UM018501-1004 PRELIMINARY
Schematic, Z8 Encore! 4K Series Development Board, Page 2 of 2
5
5
4
4
3
3
2
2
D
C
B
A
GND
DBGINTERFACE
DIS RS232
DIS IRDA
3.3 OK
XP 4
B
Mo
Title
Size Docum
Date:
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
C20.1uF
U3E
74LVC04/SO
11 10
147
C40.1uF
U3A
74LVC04/SO
1 2
147
U7
LT1129-3.3/DD
1
2
3
4
5 OUT
SENSE
GN
D
SHDN
VIN
C60.1uF
JP3
12
U3D
74LVC04/SO
9 8
147
P2
Header 3x2
1 23 45 6
R210K
U3B
74LVC04/SO
3 4
147
U3F
74LVC04/SO
13 12
147
JP4
12
R1
680
F1
RXE050
J1
PWR JACK
231
+C7
100/10C8
0.1uF
R510K
+ C3
100/10
U3C
74LVC04/SO
5 6
147
U1
MAX3222
1
2
4
5
6
13
12
15
10
3
7
17
8
16
9
20
1918
1114
EN
C1+
C1-
C2+
C2-
T1IN
T2IN
R1OUT
R2OUT
V+
V-
T1OUT
T2OUT
R1IN
R2IN
SHDN
VC
CG
ND
NCNC
TP1
1 2 3 4 5
D1
LED
21
R610K
TP2
1 2 3 4 5
Z8F04328100KIT Development KitUser Manual
13
Customer FeedbackIf 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
Customer Information
Return InformationZiLOG System Test/Customer Support 532 Race Street San Jose, CA 95126 Fax: (408) 558-8536 ZiLOG Customer SupportProblem Description or SuggestionProvide 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.
Z8F04328100KIT Development KitSerial # or Board Fab #/Rev. #Software VersionDocument NumberHost Computer Description/Type
Name CountryCompany PhoneAddress FaxCity/State/Zip E-Mail
UM018501-1004 PRELIMINARY Customer Feedback
Z8F04328100KIT Development KitUser Manual
14
Customer Feedback PRELIMINARY UM018501-1004