Z8 Encore! XP® Microcontroller Family
Z8F04A08100KIT
Z8 Encore! XP® 4K Series
8-Pin Development Kit
User Manual
UM018702-0505
ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
iii
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
USER DEBUG Mode Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . .12
Switches S1, S2, and SW1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Use of Ceramic Resonator Y1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
UM018702-0505
Table of Contents
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
iv
Table of Contents
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
v
List of Figures
Figure 1. Z8 Encore! XP® 4K Series 8-Pin Development Kit Contents
(Printed Quick Start Guide Not Shown) . . . . . . . . . . . . . . . .2
Figure 2.
Z8 Encore! XP® 4K Series 8-Pin Development Board . . . .7
UM018702-0505
List of Figures
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
vi
List of Figures
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
1
Introduction
The Z8 Encore! XP® 4K Series 8-pin MCU is part of the line of ZiLOG
microcontroller products.
The Z8 Encore! XP® 4K Series 8-Pin Development Kit
(Z8F04A08100KIT) 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 pre-
sents the features of the Z8 Encore! XP 4K Series 8-pin package. This kit
allows users to begin writing application software and contains all sup-
porting documents.
This manual acquaints users with the Z8 Encore! XP 4K Series 8-Pin
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 4K Series 8-Pin MCU Development Kit contains the
following:
Hardware
•
Z8 Encore! XP 4K Series 8-Pin Development board
•
USB Smart Cable for PC to Z8 Encore! XP 4K Series 8-Pin Develop-
ment board
•
5VDC power supply
UM018702-0505
Introduction
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
2
Packaging
CD-ROM Containing
Documentation
Power
Supply
USB Smart Cable
Development
Board
Figure 1. Z8 Encore! XP® 4K Series 8-Pin Development Kit Contents (Printed Quick
Start Guide Not Shown)
Software (on CD-ROM)
•
•
•
•
ZDS II- Z8 Encore!® IDE with ANSI C-Compiler
Sample code
Document browser
Acrobat Reader install program
Introduction
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
3
Documentation
•
•
•
Quick Start Guide (QS0043)
Registration card
Z8 Encore! XP 4K Series 8-pin technical documentation (on CD-
ROM)
–
–
–
–
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>\samplesin 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 Requirements
IBM PC (or compatible computer) with the following minimum configu-
rations:
Supported Host System Configuration
•
Win98 Second Edition, Win2000 Service Pack 3, WinXP Profes-
sional Service Pack 1
•
•
PentiumII/233MHz processor or higher up to Pentium IV, 2.8 GHz
96 MB RAM or more
UM018702-0505
Introduction
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
4
•
•
•
•
25 MB hard disk space or more
Super VGA video adapter
CD-ROM
One USB high-speed or full-speed port on the host chassis or a pow-
ered hub
Designing with the USB Smart Cable
The Z8 Encore! XP 4K Series 8-Pin Development Kit requires use of the
USB Smart Cable (supplied). The Z8 Encore! Serial Smart Cable and
associated TIM will not work with the Z8F04A08100KIT kit. When
designing your target board and application:
•
•
Your target design’s debug interface must include a RESET pin.
Your target application must allow the RESET pin to be pulled LOW.
Refer to the chip product specification, PS0228, for further details.
Introduction
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
6
Installation
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
7
Development Board
Introduction
The Z8 Encore! XP® 4K Series 8-Pin Development board is a develop-
ment and prototyping board for the Z8 Encore! XP 4K Series 8-Pin MCU.
The board provides customers with a tool to evaluate features of Z8
Encore! XP 4K Series 8-Pin MCU, and to start developing an application
before building the hardware.
Resonator
not installed
on production
units.
DBG
Pin 1
Figure 2. Z8 Encore! XP® 4K Series 8-Pin Development Board
UM018702-0505
Development Board
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
8
Features
•
•
•
•
•
•
•
•
•
•
Z8 Encore!® MCU (8-pin SOIC)
3 LEDs
RS-232 interface
IrDA transceiver
Two pushbuttons, RESET and TEST
5 VDC power connector
On-Chip Debugger interface
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 8-pin 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 com-
patible with existing Z8® instructions. The rich peripheral set of the Z8
Encore! 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 8-pin MCU are:
•
•
eZ8 core CPU
4KB Flash memory with in-circuit programming capability
Development Board
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
9
•
•
•
•
•
•
•
•
•
•
•
•
•
1KB register RAM
5-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
Six 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 PS0228, available for download from
UART with IrDA Endec
The Z8 Encore! XP 4K Series 8-pin MCU (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™ 4K Series 8-
pin 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.
UM018702-0505
Development Board
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
10
Jumpers and Settings
Table 1 provides information on jumper functions.
Table 1. Z8F04A08100KIT Jumper Functions
Jumper
State
OUT
IN
Description
Default
J1*
Enables RS-232 interface
Disables RS-232 interface
Enables IrDA interface
Disables IrDA interface
X
J2*
J3
OUT
IN
X
X
1-2
Connects U5 pin PA0 to Green
LED D2
2-3
OUT
IN
Connects U5 pin PA0 to JP2 pin 18
Disconnects PA0 from debug pin
J4
J5
J6
X
X
X
Connects PA0 to DBG pin 4 on ZDI
port P3.
1-2
Connects U5 pin PA1 to yellow
LED D3
2-3
1-2
Connects U5 pin PA1 to JP2 pin 20
Connects U5 pin PA2 to red LED
D4.
2-3
Connects U5 pin PA2 to JP2 pin 22
Development Board
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
11
Table 1. Z8F04A08100KIT Jumper Functions
Jumper
State
OUT
IN
Description
Default
J7
DEMO mode setting
X
Chip U5 resets when SW1 pressed
J8
1-2
Connects U5 pin PA3 to J11 pin 1
(CTS0 EN)
X
X
X
X
2-3
1-2
Connects U5 pin PA3 to JP2 pin 35
J9
Connects U5 pin PA4 to RXD
RS232 signal
2-3
1-2
Connects U5 pin PA4 to JP2 pin 35
J10
J11
Connects U5 pin PA5 to TXD
RS232 signal
2-3
Connects U5 pin PA5 to JP2 pin 36
OUT
Disconnects PA3 from CTS0
RS232 signal
IN
Connects PA3 to CTS0 RS232
signal
Note: * These jumpers must not be OUT at the same time
The board has two modes of operation: DEMO and USER. Use DEMO
mode to run the sample program included with the kit. Run the board in
USER mode:
•
•
When using the ZDI port to debug your code.
When configuring the board to run your own prototype code.
DEMO Mode Jumper Settings
When running the board in DEMO mode, the following jumpers MUST
be set:
UM018702-0505
Development Board
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
12
J3 1-2
J4 OUT
J5 1-2
J6 1-2
J7 OUT
J8 1-2
J9 1-2
J10 1-2
J11 OUT
USER DEBUG Mode Jumper Settings
When running the board in USER DEBUG mode, the following jumpers
MUST be set:
J3 OUT
J4 IN
J6 OUT
J7 IN
Switches S1, S2, and SW1
Switches S1, S2, and SW1 on the Z8 Encore! XP™ 4K Series 8-Pin
Development board perform the following functions:
•
•
•
S1 – Test switch
S2 – Power ON/OFF switch
SW1 – RESET
External Interface Headers JP1 and JP2
External interface headers JP1 and JP2 are shown in the schematic on
page 15.
Development Board
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
13
Use of Ceramic Resonator Y1
When using ceramic resonator Y1, pins PA0, PA1, and DBG are unavail-
able to the user. For more information, refer to the Z8 Encore! XP™ 4K
Series Product Specification, PS0228.
UM018702-0505
Development Board
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
14
Development Board
UM018702-0505
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT Development Kit
User Manual
16
UM018702-0505
Schematic
Download from Www.Somanuals.com. All Manuals Search And Download.
Z8F04A08100KIT
User Manual
VCC_33V
17
P1
2
3
1
S2
ON
OF
C1
U1
0.1uF
C2
0.1uF
5V
VCC
2
4
5
6
3
7
PWR JACK
C1+
V+
CONSOLE
GND
+
C3
P2
C1-
C2+
C2-
F
C4
0.1uF
1
6
2
7
3
8
4
9
5
SW KEY-SPDT
10/6
C5
0.1uF
TXD0
CTS0
RXD0
J11
HEADER 2
C6
0.1uF
V-
U2
VCC_33V
R1
PA5_TXD0
GND
3
1
2
13
12
17
8
VCC_33V
PA5_TXD0
VIN VOUT
GND
T1IN
T2IN
T1OUT
T2OUT
+
C7
SPX2815AU-3.3
C8
0.1uF
680
PA3_CTS
0
DB9 Female
15
10
16
9
PA3_CTS
0
R1OUT
R2OUT
R1IN
R2IN
10/6
USER
PA4_RXD
0
CTS0 EN
PA4_RXD
0
D1
1
EN
3.3 OK
LED
14
11
NC
NC
20
SHDN
SP3222EBCA
GND
GND
VCC_33V
R2
10K
U3A
74LVC04/SO
VCC_33V
1
2
U3B
74LVC04/SO
-DIS_232
J1
R3
0
3
4
1
2
GND
DIS RS232
GND
VCC_33V
U3C
74LVC04/SO
R4
R5
68
C9
GND
VCC_33V
5
11
13
6
330nF
U4
0
R6
GND
2R7
5
1
2
4
3
6
VCC
VCC_33V
U3E
R7
10K
U3D
LEDA
TXD
SD
PA5_TXD0
74LVC04/SO
8
74LVC04/SO
10
R8
0
IRDA_SD
PA4_RXD
9
-DIS_IRDA
J2
0
RXD
GND
1
2
GND
ZHX181
0
GND
DIS IRDA
VCC_33V
U3F
GND
VCC_33V
74LVC04/SO
12
R9
0
R10
10K
DBG
TP1
TP2
P3 INTERFAC
E
GND
GND
VCC_33V
GND
-RESET
DBG
-RESE
DBG
T
1
3
5
2
4
6
Header 3x2
Schematic, Z8 Encore! XP™ 4K Series 8-Pin MCU Development Board, Page 1 of 2
Download from Www.Somanuals.com. All Manuals Search And Download.
UM018702-0505
Z8F04A08100KIT
User Manual
PA0_JP
PA0_MDS
18
R11
Note 1:
D2
VCC_33V
LED_G
JP2
If Module is plugged onto the Dev Platform the local
RS232 interface is disabled by pin 50 of JP2
2
1
VCC_33V
connector 2
LED
1
3
5
7
9
2
4
6
8
100
GREEN
DEMO
USER
R12
10K
J3
VCC_33V
GND
GND
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
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 3
PA0
J4
PA0_MDS
PA1_MDS
PA2_MDS
S1
1
2
PA3_CTS
0
DBG
1
2
GND
DBG
PA1_JP
TES
T
HEADER 2
PA1_MDS
R13
D3
LED_Y
2
1
VCC_33V
GND
LED
100
PA3_MDS
PA4_MDS
YEL
DEMO
USER
R14
10K
PA5_MDS
J5
GND
PA1
Header 3
PA2_JP
SW1
GND
PA2_MDS
GND
-DIS_IrDA
GND
R15
D4
RESET
-DIS_232
-DIS_IRDA
LED_R
2
1
-RESE
T
-RESET
RED
VCC_33V
LED
DEMO
USER
100
PA0_JP
PA1_JP
C13
VCC_33V
J6
PA2
R16 R17
Header 3
HEADER 30x2/SM
8 pin footprint
J7
U5
1
2
0
0
Connector JP1
VCC_33V
PA0
PA1
GND
PA5_JP
PA4_JP
PA3_JP
1
8
7
6
5
RESET
VDD VSS
PA3_JP
HEADER 2
PA3_MDS
2
3
4
PA0
PA1
PA2
PA5
PA4
PA3
for reference
PA3_CTS
0
PA3_CTS
0
PA2_JP
only
Z8F04xA_8pin
DEMO
USER
JP1
1
3
5
7
9
2
4
6
8
J8
PA3
-TRSTN
-F91_WE
GND
A6
Header 3
PA4_JP
R19
0
R20
0
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
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
PA4_RXD
0
PA4_MDS
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
PA4_RXD
0
A10
GND
A8
A13
A15
A18
A19
A2
A11
A4
R21
DEMO
USER
220K
Y1
1
J9
PA4
1
3
3
Header 3
PA5_JP
C10
C11
PA5_TXD0
PA5_MDS
PA5_TXD0
A5
20 MHz
DEMO
USER
A21
A22
-CS0
-CS2
D1
D3
D5
NOTE
2
J10
PA5
Header 3
D7
Note 2:
TABLE
1
-MREQ
The XP supports internal oscillator, external crystal, or ceramic
resonator, external R/C and external CMOS drive clock modes. R16,
R17, R19, R20, R21, C10, C11 and Y1 are used to support the clock mode
selected. The development board is shipped configured for internal
oscillator. When using internal oscilator, pins 2 and 3 could be used
as GPIO ports PA0 and PA1. Table 1 shows the recommended clock mode
configurations.
GND
-RD
-INSTRD
-BUSREQ
-WR
-BUSACK
Clock Mode
Internal
R16
R17
R19
R20
R21
C10
C11
Y1
Note 2
none
Note 2
none
none
none
0 Ohm
0 Ohm
none
none
none
none
HEADER 30x2/SM
Ceramic Res
Crystal
0 Ohm
0 Ohm
220K 10-20pF 10-20pF
220K 10-20 pF 10-20 pF
user
select
user
none
none
select
Schematic, Z8 Encore! XP™ 4K Series 8-Pin MCU Development Board, Page 2 of 2
Download from Www.Somanuals.com. All Manuals Search And Download.
UM018702-0505
|