Download Z8 Encore! XP 8K Series Development Kit - Digi-Key

Transcript
Z8F08A28100KIT
Z8 Encore! XP® F08xA Series
Development Kit
User Manual
UM018603-1005
ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126
Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com
Z8 Encore! XP® F08xA 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
Telephone: 408.558.8500
Fax: 408.558.8300
www.ZiLOG.com
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.
©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 Kit
User Manual
iii
Revision History
Each instance in Table 1 reflects a change to this document from its previous revision. To see more detail, click the appropriate link in the table.
Table 1. Revision History of this Document
Date
Feb.
2005
Revision
Level
Section
Description
2
Introduction
Corrected typo in development kit name.
1
F08xA Series
Development
Boar
Corrected typo in the MCU features list;
updated schematic for board rev C.
8, 13
October 3
2005
UM018603-1005
Page #
Revision History
Z8 Encore! XP® F08xA Series Development Kit
User Manual
iv
Safeguards
The following precautions must be observed when working with the
devices described in this document.
Caution: Always use a grounding strap to prevent damage resulting from
electrostatic discharge (ESD).
Safeguards
PRELIMINARY
UM018603-1005
Z8 Encore! XP® F08xA Series Development Kit
User Manual
v
Table of Contents
Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
List of Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Software (on CD-ROM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
System/Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Supported Host System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . .3
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
F08xA Series
Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
UM018603-1005
Table of Contents
Z8 Encore! XP® F08xA Series Development Kit
User Manual
vi
Table of Contents
UM018603-1005
Z8 Encore! XP® F08xA Series Development Kit
User Manual
v
List of Figures
UM018603-1005
Figure 1.
Z8 Encore! XP® F08xA Series Development Kit Contents .2
Figure 2.
Z8 Encore! XP® F08xA Series Development Board . . . . .7
List of Figures
Z8 Encore! XP® F08xA Series Development Kit
User Manual
vi
List of Figures
UM018603-1005
Z8 Encore! XP® F08xA Series Development Kit
User Manual
1
Introduction
The 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 presents 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 Contents
The Z8 Encore! XP F08xA Series MCU Development Kit contains the
following:
Hardware
UM018603-1005
•
•
Z8 Encore! XP F08xA Series Development board
•
5VDC power supply
Serial Smart Cable for PC to Z8 Encore! XP F08xA Series Development board (DB9 to six-pin male)
Introduction
Z8 Encore! XP® F08xA Series Development Kit
User Manual
2
Packaging
CD-ROM Containing
Documentation
Power
Supply
Serial Smart Cable
Development
Board
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
•
•
•
Introduction
Quick Start Guide
Registration card
Z8 Encore! XP F08xA Series technical documentation (on CD-ROM)
UM018603-1005
Z8 Encore! XP® F08xA Series Development Kit
User 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 <installation 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 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.
System/Software Requirements
IBM PC (or compatible computer) with the following minimum configurations:
Supported Host System Configuration
UM018603-1005
•
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
Introduction
Z8 Encore! XP® F08xA Series Development Kit
User Manual
4
Introduction
UM018603-1005
Z8 Encore! XP® F08xA Series Development Kit
User Manual
5
Installation
Follow 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 Kit
User Manual
6
Installation
UM018603-1005
Z8 Encore! XP® F08xA Series Development Kit
User Manual
7
F08xA Series
Development Board
Introduction
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 Kit
User 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
MCU
The 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 Kit
User 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 Endec
The Z8 Encore! XP F08xA 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 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 Kit
User Manual
10
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, functions, devices and defaults affected of jumpers JP3 and JP4.
Table 1. Jumpers JP3 and JP4
Jumper
Status
JP3*
OUT
JP3
Device
Affected
Status
Default
RS-232
interface
Enabled
X
IN
RS-232
interface
Disabled
JP4*
OUT
IrDA interface Enabled
JP4
IN
IrDA interface Disabled
X
JP5
OUT
U5 RESET/
PD0
PD0 (GPIO)
X
JP5
IN
U5 RESET/
PD0
RESET when
SW1 pressed
Note: * These jumpers must not be OUT at the same time
External Interface Headers JP1 and JP2
External interface headers JP1 and JP2 are shown in the schematic on
page 13.
F08xA Series Development Board
UM018603-1005
Z 8 E n cor e! XP ® F08xA Series Development Kit
User Manual
11
Schematic
This section includes schematics for the Z8 Encore! XP® F08xA Series
Development Board.
UM018603-0805
PRELIMINARY
Schematic
Z8 Encore! XP® F08xA Series Development Kit
User Manual
12
Schematic
PRELIMINARY
UM018603-0805
Z8 Encore! XP® F08xA Series Development Kit
User Manual
1
PA7_T1OUT
1
2
100
GREEN
R8
D3
R9
SW2
VCC_33V
2
GND
100
YELL
TEST
100K
1
R13 R16
R17
R22
GPIO
OUT
IN
OUT
IN
IN
OUT
OUT
Analog
Supply
IN
OUT
IN
OUT
OUT
optional
IN
PA2
GND
GND
R12
10
VCC_33V
VCC_33V
connector 2
PB4_ANA7
PC1_ANA5
PB3_ANA3
PB1_ANA1
VCC_33V
PC4
PC7
PC3_COUT
PA6_nT1OUT
GND
PA7_T1OUT
TABLE 1
100
2
RED
U8
C21...C23
PA3_CTS0
PA4_RXD0
GND
NOTE 1:
R12
SW1
R19 10K
GND
0
U8
1
GND
VCC_33V
IO
2
PA0_T0IN_JP
PA1_T0OUT_JP
R20
0
R21
0
1
2
3
4
5
6
7
8
9
10
JP5
PB6
3
R22
PB1/ANA1
PB2/ANA2
PB3/CLKIN/ANA3
VDD
PA0/T0IN/T0OUT/XIN/
PA1/T0OUT/XOUT
GND
PA2/DE
PA3/CTS0
PA4/RXD0
PB0_ANA0
PC3_COUT
PC2_ANA6
PC1_ANA5
PC0_ANA4
DBG
PD0
PA7_T1OUT
PA6_nT1OUT
PA5_TXD0
20
19
18
17
16
15
14
13
12
11
PB5_JP
C22
VCC_33V
PA0_T0IN
PA1_T0OUT
GND
0.033uF C21 C10
30uF
0.033uF 0.001uF
PA2
PA3_CTS0
PA4_RXD0
PA5_TXD0
PA3_CTS0
PA4_RXD0
PA5_TXD0
Z8F04xA
R14
0
PB2_ANA2
PB4_ANA7
PB5
PB3_ANA3
SENSE
C23
+
0
0
U5
PB0/ANA0
PC3/COUT/LED
PC2/ANA6/LED
PC1ANA5/CINN/LED
PC0/ANA4/CINP/LED
DBG
RESET/PD0
PA7/T1OUT
PA6/T1IN/T1OUT
PA5/TXD0
-RESET
VCC_33V
1
2
VCC_33V
HEADER 2
EMI Filter
20 pin footprint
U6
PB1_ANA1
PB2_ANA2
PB3_ANA3
VCC_33V
PA0_T0IN
PA1_T0OUT
GND
PA2
PA3_CTS0
PA4_RXD0
IO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
R16 0
PB2/ANA2
PB4/ANA7
PB5/Vref
PB3/ANA3/CLKIN
PB6(AVDD)
VDD
PA0/T0IN/T0OUTXIN
PA1/T0OUT/XOUT
GND
PB7(AGND)
PA2/DE
PA3/CTS0
PA4/RXD0
PA5/TXD0
PB1/ANA1
PB0/ANA0
PC3/COUT/LED
PC2/ANA6/LED
PC1/ANA5/CINN/LED
PC0/ANA4/CINP/LED
DBG
RESET/PD0
PC7/LED
PC6/LED
PA7/T1OUT
PC5/LED
PC4/LED
PA6/T1IN/T1OUT
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
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
PB7
NOTE 1:
1
3
3
PB0_ANA0
2
2
1
PB1_ANA1
PB2_ANA2
PB3_ANA3
PC0_ANA4
PC1_ANA5
PC2_ANA6
PB4_ANA7
C20
C11
0.001uF
20 MHz
C12
0.001uF
C13
0.001uF
C14
0.001uF
C15
0.001uF
C16
0.001uF
C17
0.001uF
C18
0.001uF
NOTE 2
GND
J2
TABLE 2
Clock Mode
Internal Only
R14
R15
none
none
R18
none
C19
none
Crystal
0 Ohm
220 Ohm
none
Yes
Ceramic Res
0 Ohm
0 Ohm
none
none
External CMOS
none
none
none
none
C20
Y1
none
none
Yes
Yes
none
Yes
none
none
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 20MHz ceramic resonator or
internal clock operation. When using Internal oscilator,
pins 7 and 8 could be used as GPIO ports PA0 and PA1. To do
so install R20 and R21.
Table 2 shows the recommended clock mode configurations.
PB0_ANA0
PB1_ANA1
PB2_ANA2
PB3_ANA3
PC0_ANA4
PC1_ANA5
PC2_ANA6
PB4_ANA7
1
3
5
7
9
11
13
15
PD0
GND
PA5_TXD0
GND
-DIS_232
-DIS_IRDA
-DIS_IrDA
GND
2
4
6
8
10
12
14
16
VCC_33V
A0
A3
VCC_33V
A7
A9
A14
A16
GND
A1
A12
A20
A17
-DIS_FLASH
VCC_33V
A23
-CS1
D0
D2
D4
GND
D6
-IOREQ
-RD
-INSTRD
-BUSREQ
HEADER 30x2/SM
HEADER 8X2
Title
XP 4K MDS Processor Module. Schematic.
(Use PA0_T0IN
pin on JP2)
Size
B
Date:
Schematic, Z8 Encore! XP® F08xA Series MCU Development Board, Page 1 of 2
UM018603-1005
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
-TRSTN
-F91_WE
GND
A6
A10
GND
A8
A13
A15
A18
A19
A2
A11
A4
A5
R18
C19
PC2_ANA6
PC0_ANA4
PB2_ANA2
PB0_ANA0
GND
PC5
PC6
PB5_JP
PA0_T0IN_JP
PA1_T0OUT_JP
PA2
connector 1
for
reference
onlyJP1
DBG
1M
Y1
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
PB1_ANA1
PB0_ANA0
PC3_COUT
PC2_ANA6
PC1_ANA5
PC0_ANA4
DBG
PD0
PC7
PC6
PA7_T1OUT
PC5
PC4
PA6_nT1OUT
28
27
26
25
24
23
22
21
20
19
18
17
16
15
R17 0
GND
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
28 pin footprint
Z8F04xA_28
R15
0
PB6
PB7
RESET/TEST2
R13
13
If Module is plugged onto the Dev Platform the local
RS232 interface is disabled by pin 50 of JP2
JP2
R11
R10
D4
PC3_COUT
Note 1:
PB6 and PB7 are dual function pins (GPIO or Analog supply)
R12, R13, R16, and R17 are zero-ohm resistors used in
conjunction with GPIO Control Registers to select function
desired. C21, C22, and C23 are bypass capacitors that are used
for better noise rejection. U8 is an optional filter that can
be used to improve the quality of the Analog Supply. The
development board is shipped configured for Analog Supply.
Table 1 shows the configurations recommended
R7
D2
PA6_nT1OUT
Document Number
Rev
96C0941-001
Wednesday, July 21, 2004
Sheet
C
1
of
2
Z8 Encore! XP® F08xA Series Development Kit
User Manual
14
VCC_33V
J1
VCC
+ C3
RXE050
C4
0.1uF
R23
10K
100/10
C6
0.1uF
-Z_RST
5
VIN
OUT
2
4
SENSE
SHDN
LT1129-3.3/DD
3
SENSE
GND
U7
VCC_33V
1
VCC_33V
PA5_TXD0
PA5_TXD0
2
C1+
4
C1-
5
C2+
6
C2-
C1
0.1uF
19
VCC
PWR JACK
5V
U1
C2
0.1uF
F1
V+
3
C5
0.1uF
7
13
T1IN
T1OUT
17
GND
12
T2IN
T2OUT
8
PA3_CTS0
15
R1OUT
PA4_RXD0
10
R1
CONSOLE
GND
P1
V-
1
6
2
7
3
8
4
9
5
TXD0
CTS0
RXD0
+ C7
C8
680
PA3_CTS0
100/10
PA4_RXD0
2
0.1uF
R24
15K
R2OUT
R1IN
16
R2IN
9
DB9 Female
USER
D1
LED
1
3.3 OK
EN
SHDN
NC
NC
14
11
1
20
GND
2
3
1
18
MAX3222
GND
VCC_33V
GND
R2
10K
14
U3A
14
74LVC04/SO
U3B
1
-DIS_232
2
7
74LVC04/SO
3
JP3
4
1
2
7
GND
U3C
74LVC04/SO
GND
5
R3
C9
VCC_33V
6
68
330nF
7
R4
U4
R5
10K
U3E
14
11
U3D
PA5_TXD0
74LVC04/SO
74LVC04/SO
9
-DIS_IRDA
10
IRDA_SD
8
PA4_RXD0
7
VCC
1
LEDA
2
TXD
4
SD
3
RXD
6
GND
7
JP4
5
1
2
0
14
2R7
T
14
DIS RS232
GND
ZHX1810
14
DIS IRDA
GND
U3F
VCC_33V
R6
10K
1
2
3
4
5
12
7
13
1
2
3
4
5
74LVC04/SO
TP1
GND
TP2
P2
VCC_33V
GND
1
3
5
DBG
INTERFACE
2
4
6
-Z_RST
DBG
DBG
Title
XP 4K MDS Processor Module. Schematic.
Header 3x2
Size
B
Date:
Schematic, Z8 Encore! XP® F08xA Series MCU Development Board, Page 2 of 2
UM018603-1005
Document Number
Rev
96C0941-001
Wednesday, July 21, 2004
Sheet
C
2
of
2