Z8 Encore! XP F082A Series Development Kit User Manual

Transkript

Z8 Encore! XP F082A Series Development Kit User Manual
Z8F08A28100KITG
Z8 Encore! XP® F082A Series
Development Kit
User Manual
UM018606-0109
Copyright ©2009 by Zilog®, Inc. All rights reserved.
www.zilog.com
Z8 Encore! XP® F082A Series Development Kit
User Manual
ii
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.
Date
Revision
Level
Description
Page Number
January 06
2009
Updated Hardware section.
1
May
2008
05
Updated Introduction section. Changed
’Z8F08A28100KIT’ to ’Z8F08A28100KITG’.
1
March
2008
04
All
Updated the new Zilog logo, implemented Style
Guide, and changed ZiLOG to Zilog. Changed title
to Z8 Encore! XP F082A Series Development Kit.
Modified Schematics Table 2 to incorporate
changes to R15 from 220 Ω to 0 Ω. Added Note 3 to
the Schematics.
October 03
2005
F08xA Series development board, Corrected typo in 6, 9
MCU features list: updated schematics for board rev
C.
February 02
2005
Introduction, Corrected Typo in development kit
name.
UM018606-0109
1
Revision History
Z8 Encore! XP® F082A Series Development Kit
User Manual
iii
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Software (on CD-ROM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1
1
2
3
3
4
Z8 Encore! XP F082A Series Development Board . . . . . . . . . . . . . .
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UART with IrDA Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . . .
External Interface Headers JP1 and JP2 . . . . . . . . . . . . . . . . . . . . .
5
5
6
6
7
8
8
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
UM018606-0109
Table of Contents
Z8 Encore! XP® F082A Series Development Kit
User Manual
1
Introduction
Zilog’s Z8 Encore! XP® F082A Series microcontroller unit (MCU) is a
part of the line of Zilog’s MCU products. The Z8 Encore! XP F082A
Series MCU development kit (Z8F08A28100KITG) enables you to
become familiar with the hardware and software tools available with this
product. This kit consists of the 8 KB version of the Z8 Encore! XP development board that supports and presents the features of the Z8 Encore!
XP F082A Series. This kit allows you to begin writing application software and contains all supporting documents.
This manual acquaints you with the Z8 Encore! XP F082A Series MCU
development kit, and provides instructions on setting up and using the
tools to start building designs and applications. Z8F082ASJ020 is the silicon used in the board. For more information, refer to Z8 Encore! XP®
F082A Series Product Specification (PS0228).
Kit Contents
The Z8 Encore! XP F082A Series MCU development kit contains the
following:
Hardware
The hardware in Z8 Encore! XP F082A Series MCU development kit
include:
•
•
•
UM018606-0109
Z8 Encore! XP F082A Series development board
USB Smart Cable for PC to Z8 Encore! XP® F082A series development board (previous versions of the development kit used a serial
smart cable; for information on using the serial smart cable, refer to
your original documentation)
5 V DC power supply
Introduction
Z8 Encore! XP® F082A Series Development Kit
User Manual
2
Packaging
CD-ROM Containing
Documentation
Power
Supply
Serial Smart Cable
Development
Board
Figure 1. Z8 Encore! XP® F082A Series Development Kit Contents
Software (on CD-ROM)
The software in Z8 Encore! XP F082A Series MCU development kit
include:
•
•
•
•
UM018606-0109
ZDS II—Z8 Encore!® IDE with ANSI C-Compiler
Sample code
Document browser
Acrobat Reader
Introduction
Z8 Encore! XP® F082A Series Development Kit
User Manual
3
Documentation
The following documents are included in the Z8 Encore! XP F082A
Series development kit:
•
•
Quick Start Guide
Z8 Encore! XP F082A Series 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 is located in the <installation directory>\samples in the disk drive.
The documentation can be installed with the DemoShield interface or
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 Requirements
An IBM PC (or compatible computer) with the following minimum
configurations are required:
UM018606-0109
•
Microsoft Windows XP Professional SP1/Windows 2000 SP3/Windows NT 4.0 SP6/Windows 98 SE
•
•
•
•
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
Introduction
Z8 Encore! XP® F082A Series Development Kit
User Manual
4
•
•
CD-ROM
One or more RS-232 communication ports
Installation
For details on installation and setup of the Z8 Encore! XP F082A Series
development kit, refer to Z8 Encore! XP®/Z8 Encore!® Development Kits
Quick Start Guide (QS0043).
UM018606-0109
Introduction
Z8 Encore! XP® F082A Series Development Kit
User Manual
5
Z8 Encore! XP F082A Series
Development Board
Introduction
Zilog’s Z8 Encore! XP® F082A Series development board is a
development and prototyping board for the Z8 Encore! XP F082A Series
MCU. The board provides you with a tool to evaluate features of Z8
Encore! XP F082A Series MCU, and to start developing an application
before building the hardware.
Figure 2. Z8 Encore! XP® F082A Series Development Board
UM018606-0109
Z8 Encore! XP F082A Series Development Board
Z8 Encore! XP® F082A Series Development Kit
User Manual
6
Features
The features of Z8 Encore! XP® F082A Series development 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 interface
20 MHz Ceramic Oscillator (Y1)
Header for ADC input
Prototyping area
External interface connectors JP1 and JP2
2.7 V–3.6 V operating voltage with 5 V-tolerant inputs
MCU
The Z8 Encore! XP F082A Series MCU is a member of the family of
Zilog MCU products based on 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
F082A Series makes it suitable for a variety of applications including
motor control, security systems, home appliances, personal electronic
devices, and sensors.
UM018606-0109
Z8 Encore! XP F082A Series Development Board
Z8 Encore! XP® F082A Series Development Kit
User Manual
7
The development board contains circuitry to support and present all the
features of the Z8 Encore! XP F082A Series. The key features of the Z8
Encore! XP F082A Series include:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
eZ8 core CPU
8 KB Flash memory with in-circuit programming capability
1 KB 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
Watchdog 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 Brownout (VBO) Protection
Power-On Reset (POR)
2.7 V–3.6 V operating voltage with 5 V-tolerant inputs
Operating temperatures: 20 °C ±10 °C
For further information on the Z8 Encore!® family of devices, refer to Z8
Encore! XP® F082A Series Product Specification (PS0228), available for
download at www.zilog.com.
UART with IrDA Endec
Z8 Encore! XP F082A 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
UM018606-0109
Z8 Encore! XP F082A Series Development Board
Z8 Encore! XP® F082A Series Development Kit
User Manual
8
communication between the Z8 Encore! XP F082A 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 Interfaces
Table 1 lists 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
*These jumpers must not be OUT at the same time.
External Interface Headers JP1 and JP2
External interface headers JP1 and JP2 are displayed in Schematics on
page 9.
UM018606-0109
Z8 Encore! XP F082A Series Development Board
Z8 Encore! XP® F082A Series Development Kit
User Manual
9
Schematics
Figure 3 and Figure 4 on page 10 display the schematics for Z8 Encore! XP F082A Series development board.
5
4
PA6_nT1OUT
1
2
100
GREEN
R8
D3
PA7_T1OUT
1
R9
SW2
VCC_33V
2
GND
100
YELL
TEST
100K
D
1
R13 R16
R17
R22
OUT
IN
OUT
IN
IN
OUT
OUT
Analog
Supply
IN
OUT
IN
OUT
OUT
optional
IN
PA2
GND
GND
R12
GPIO
10
RED
1
If Module is plugged onto the Dev Platform the local
RS232 interface is disabled by pin 50 of JP2
JP2
U8
C21...C23
PA3_CTS0
PA4_RXD0
GND
NOTE 1:
R12
SW1
1
IO
2
PA0_T0IN_JP
PA1_T0OUT_JP
0
0
1
2
3
4
5
6
7
8
9
10
IO
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
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
0
PB5_JP
PB2_ANA2
PB4_ANA7
PB5
PB3_ANA3
SENSE
C23
+
1
2
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
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
RESET/TEST2
R13
GND
VCC_33V
R21
PB6
PB7
0
U8
R20
R19 10K
GND
NOTE 3:
Resistors R20 and R21 are not populated. See Note 2.
C
PB4_ANA7
PC1_ANA5
PB3_ANA3
PB1_ANA1
VCC_33V
PC4
PC7
PC3_COUT
PA6_nT1OUT
GND
PA7_T1OUT
TABLE 1
100
2
VCC_33V
VCC_33V
2
R11
R10
D4
PC3_COUT
3
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
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
DBG
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
3
PB7
PB0_ANA0
2
2
1
C19
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
A
R14
R15
none
none
Crystal
0 Ohm
0 Ohm
Ceramic Res
0 Ohm
0 Ohm
External CMOS
none
none
R18
none
C19
none
none
Yes
none
none
none
C20
none
none
none
Yes
Yes
none
Yes
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.
Y1
none
PA5_TXD0
GND
-DIS_232
-DIS_IRDA
-DIS_IrDA
GND
PB0_ANA0
PB1_ANA1
PB2_ANA2
PB3_ANA3
PC0_ANA4
PC1_ANA5
PC2_ANA6
PB4_ANA7
1
3
5
7
9
11
13
15
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
NOTE 1:
3
PD0
GND
connector 1
for
reference
onlyJP1
1M
Y1
1
D
C
R18
B
PC0_ANA4
PB2_ANA2
PB0_ANA0
GND
PC5
PC6
PB5_JP
PA0_T0IN_JP
PA1_T0OUT_JP
PA2
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
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
R17 0
GND
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
28 pin footprint
Z8F04xA_28
R15
0
connector
2
PC2_ANA6
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
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
B
HEADER 30x2/SM
A
HEADER 8X2
Title
(Use PA0_T0IN
pin on JP2)
XP 4K MDS Processor Module. Schematic.
Size
B
Document Number
Date:
5
4
3
2
Rev
96C0941-001
Tuesday, March 18, 2008
D
Sheet
2
of
3
1
Figure 3. Schematic, Z8 Encore! XP® F082A Series MCU Development Board
UM018606-0109
Schematics
Z8 Encore! XP® F082A Series Development Kit
User Manual
10
5
4
3
2
1
VCC_33V
J1
PWR JACK
VCC
RXE050
+ C3
C4
0.1uF
R23
10K
4
100/10
-Z_RST
5
VIN
OUT
2
4
SENSE
SHDN
GND
SENSE
LT1129-3.3/DD
VCC_33V
1
VCC_33V
PA5_TXD0
C1+
19
C1
0.1uF
V+
3
5
C2+
6
C2-
PA5_TXD0
P1
C5
0.1uF
V-
7
13
T1IN
T1OUT
17
GND
12
T2IN
T2OUT
8
PA3_CTS0
15
R1OUT
R1IN
16
PA4_RXD0
10
R2OUT
R2IN
9
R1
CONSOLE
GND
C1-
C6
0.1uF
U7
3
D
2
VCC
5V
U1
C2
0.1uF
F1
TXD0
CTS0
RXD0
1
6
2
7
3
8
4
9
5
D
+ C7
C8
680
PA3_CTS0
100/10
PA4_RXD0
2
0.1uF
R24
15K
DB9 Female
USER
D1
LED
1
3.3 OK
EN
SHDN
NC
NC
14
11
MAX3222
GND
18
1
20
GND
2
3
1
VCC_33V
GND
R2
10K
C
U3A
14
C
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
R4
7
B
14
U3D
PA5_TXD0
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
R5
10K
U3E
74LVC04/SO
11
B
U4
2R7
T
14
DIS RS232
GND
ZHX1810
14
DIS IRDA
GND
U3F
VCC_33V
1
2
3
4
5
R6
10K
7
A
12
1
2
3
4
5
74LVC04/SO
13
TP1
GND
TP2
P2
VCC_33V
GND
1
3
5
DBG
INTERFACE
2
4
6
A
-Z_RST
DBG
DBG
Title
XP 4K MDS Processor Module. Schematic.
Header 3x2
Size
B
Date:
5
4
3
2
Document Number
Rev
96C0941-001
Wednesday, March 12, 2008
D
Sheet
3
of
3
1
Figure 4. Schematic, Z8 Encore! XP® F082A Series MCU Development Board
UM018606-0109
Schematics
Z8 Encore! XP® F082A Series Development Kit
User Manual
11
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.
UM018606-0109
Customer Support
Z8 Encore! XP® F082A Series Development Kit
User Manual
12
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
©2009 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
D O E S N O T A S S U M E L I A B I L I T Y F O R I N T E L L E C T U A L P R O P E RT Y
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, Z8 Encore!, and Z8 Encore! XP are registered trademarks of Zilog, Inc. All other
product or service names are the property of their respective owners.
UM018606-0109