Download Z8 Encore! XP F64XX Series Development Kit User Manual
Transcript
Z8F64200100KITG Z8 Encore! XP® F64XX Series Development Kit User Manual UM015110-0508 Copyright ©2008 by Zilog®, Inc. All rights reserved. www.zilog.com Z8 Encore! XP® F64XX Series Development Kit User Manual ii Revision History Revision Level Description Page No 10 Added Z8F6423FT020 to Introduction section. 1 Removed Application Notes from Documentation section. 3 March 2008 09 Changed document title to Z8 Encore! XP® F64XX Series Development Kit User Manual. All November 2007 08 Replaced Z8 Encore!® with Z8 Encore! XP® and Z8 Encore!® 64K Series MCUs with Z8 Encore! XP® 64K Series Flash Microcontrollers throughout the document. All November 2007 07 Replaced ZiLOG with Zilog. Updated Zilog logo. Updated Documentation and MCU sections. All 3, 7 December 2006 06 Changed Figure 1 to Figure 2. 6 July 2006 05 Added reference to USB Smart Cable. 1 November 2005 04 Removed the word Preliminary from all page footers All and updated trademarks. Date May 2008 Revision History UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual iii Table of Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Safeguards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Software (on CD-ROM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 System/Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Supported Host System Configuration . . . . . . . . . . . . . . . . . . 4 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 F64XX Series Development Board . . . . . . . . . . . . . . . . . . . . . . . . . 6 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 IrDA Transceiver with Endec . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Power and Communication Interfaces . . . . . . . . . . . . . . . . . . . . . 9 External Interface Connectors JP1 and JP2 . . . . . . . . . . . . . . . 10 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Table of Contents UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 1 Introduction Zilog’s Z8 Encore! XP® F64XX Series MCUs are a part of the line of Zilog® microcontroller products. The Z8 Encore! XP F64XX Series Development Kit (Z8F64200100KITG) allows you to get familiar with the hardware and software tools available with this product. This kit consists of the 64 KB version of the Z8 Encore! XP Development Board that supports and presents the features of the Z8 Encore! XP F64XX Series. The software development tool kit allows you to write application software and contains all supporting documents. Z8F6423FT020 is the silicon used in the board. For more details, refer to Z8 Encore! XP® F64XX Series Product Specification (PS0199) available for download at www.zilog.com. This user manual acquaints you with the Z8 Encore! XP F64XX Series Development Kit, and provides instructions on setting up and using the tools to start building designs and applications. 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). Kit Contents The Z8 Encore! XP F64XX Series Development Kit contains the following hardware and software: Introduction UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 2 Hardware The hardware in Z8 Encore! XP F64XX Series Development Kit includes: • • • Z8 Encore! XP Z8F642 Development Board USB Smart Cable for PC to Z8 Encore! XP® Z8F642 development board (Previous versions of the development kit used a serial smart cable. Refer your original documentation for information on using the serial smart cable). 5 V DC power supply Packaging CD-ROM Containing Documentation Power Supply Development Board Figure 1. Z8 Encore! XP MCU Development Kit Contents (USB Smart Cable not shown) Introduction UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 3 Software (on CD-ROM) The software in Z8 Encore! XP F64XX Series Development Kit includes: • • • • ZDS II - Z8 Encore! IDE with ANSI C-Compiler Sample code Document browser Acrobat Reader Documentation • Z8 Encore! XP® F64XX Series Development Kit Quick Start Guide (QS0028) • Z8 Encore! XP Z8F642 technical documentation (on CD-ROM): – Z8 Encore! XP® F64XX Series Development Kit User Manual (UM0151) – Zilog Developer Studio II - Z8 Encore!® User Manual (UM0130) – eZ8TM CPU User Manual (UM0128) – Z8 Encore! XP® F64XX Series Product Specification (PS0199) – – Z8 Encore! XP® F64XX Series Product Brief (PB0124) Programmer’s Reference Sheet The sample code is installed with ZDS II and resides in the <installation directory>\samples folder. The documentation can be installed 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 Windows Explorer can be used to select any document to be viewed with PDF file viewer. Introduction UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 4 System/Software Requirements IBM PC (or compatible computer) with the following minimum configurations: Supported Host System Configuration Introduction • Win98 Second Edition/WinNT 4.0 Service Pack 6 (USB Smart Cable not supported)/Win2000 Service Pack 4/Windows XP Professional • • • • • • • PentiumII/233 MHz processor or higher up to Pentium IV, 2.8 GHz 96 MB RAM or more 25 MB hard disk space or more (no documentation) Super VGA video adapter CD-ROM One or more RS-232 communication ports USB high-speed port (when using USB Smart Cable) UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 5 Installation Refer to the directions provided in the Quick Start guide for software installation and setup of the Z8 Encore! XP® F64XX Series development kit. Installation UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 6 F64XX Series Development Board Introduction The Z8 Encore! XP® F64XX Series development board is a development and prototyping board for the Z8 Encore! XP Z8F642 microcontroller. The board allows you to evaluate features of Z8 Encore! XP F64XX Series and to develop an application before building the hardware. TEST U4 RESET Y1 LEDs JP1 P2 J2 P1 Console J1 JP2 Figure 2. Z8 Encore! XP F64XX Series Development Board F64XX Series Development Board UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 7 Features The features of Z8 Encore! XP F64XX Series development board includes: • • • • • • • • • • • Z8 Encore! XP MCU 3 LEDs RS-232 interface (P1) IrDA transceiver (U4) Two pushbuttons, RESET and TEST 5 V DC power connector (J1) On-Chip Debugger interface (P2) Crystal Oscillator (Y1) Header for Analog-to-Digital Converter (ADC) input (J2) Prototyping area External interface connectors JP1 and JP2 (not populated) MCU The Z8 Encore! XP Z8F642 MCU is member of a family of Zilog® microcontroller products based on Zilog’s 8-bit eZ8TM 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 Z8F642 makes it suitable for various applications including motor control, security systems, home appliances, personal electronic devices, and sensors. F64XX Series Development Board UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 8 The development board contains circuitry to support and present all the features of the Z8 Encore! XP® Z8F642. The main features of the Z8 Encore! XP Z8F642 MCU are: • • • • • • • • • eZ8TM core CPU • • • • • • • • Watchdog Timer (WDT) with internal RC oscillator Up to 64 KB of Flash memory with in-circuit programming capability Up to 4 KB of register RAM Either eight or twelve channels, 10-bit ADC Two Full-duplex UART I2C interface (Master Mode only) Serial Peripheral Interface (SPI) Infrared Data Association (IrDA)-compliant infrared encoder/decoder Three or four 16-bit timers with capture, compare, and PWM capability Thirty one, forty six or sixty I/O pins Programmable priority interrupts On-Chip Debugger (OCD) Voltage Brownout Protection (VBO) Power-on Reset (POR) 2.7 V to 3.6 V operating voltage with 5 V-tolerant inputs Operating temperature: 20 °C ± 10 °C For more information on the Z8 Encore! XP family of devices, refer to Z8 Encore! XP® F64XX Series Product Specification (PS0199) available for download at www.zilog.com. F64XX Series Development Board UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 9 IrDA Transceiver with Endec The Z8 Encore! XP® Z8F642 contains a fully-functional, high-performance UART with Infrared Encoder/Decoder (Endec). The Infrared Endec is integrated with an on-chip UART to allow easy communication between the Z8 Encore! XP Z8F642 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 provides jumper information concerning the shunt status, functions and devices affected by selected jumpers. Table 1. Jumpers JP3 and JP4 Device Affected Jumper Status Status Default JP3 OUT* IrDA interface Enable JP3 IN IrDA interface Disable X JP4** OUT* RS-232 Enable X JP4 IN RS-232 Disable * These jumpers must not be OUT at the same time. ** If the module is plugged onto an eZ80® Development platform or eZ80 demonstration board the local RS-232 can be disabled by connecting header JP2 pin 50 to the corresponding GND on the mating connector. F64XX Series Development Board UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 10 External Interface Connectors JP1 and JP2 The external interface connectors are not populated when the board is shipped. You can insert 0.1" space headers of choice. Note: Only Power and GND nets on connector JP1 are used on this module. F64XX Series Development Board UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 11 Schematics This section provides schematics for the Z8 Encore! XP® F64XX Series Development Board. Schematics UM015110-0508 ® Z8 Encore! XP F64XX Series Development Kit User Manual 12 5 4 3 2 1 VCC_33V J1 2 3 1 F1 VCC_5V U1 + C2 C4 0.1uF C3 0.1uF 100/10 U2 D 3 1 VIN VOUT GND VCC_33V 2 C7 0.1uF VCC_33V R1 LT1086-3.3/TO220 PA5_TXD0 + C8 C9 PA5_TXD0 GND 680 2 C1+ 4 C1- C1 0.1uF 19 VCC_5V RXE110 VCC 5V PWR JACK V+ GND 3 CONSOLE P1 C5 0.1uF 5 C2+ 6 C2- 13 T1IN T1OUT 17 12 T2IN T2OUT 8 15 R1OUT R1IN 16 10 R2OUT R2IN 9 V- C6 0.1uF 1 6 2 7 3 8 4 9 5 TXD0 CTS0 RXD0 7 D 100/10 PA4_RXD0 3.3 OK PA4_RXD0 1 1 20 GND EN SHDN MAX3222 NC NC DB9 Female USER 14 11 VCC_33V GND R2 10K 2 R17 10K 7 JP4 74LVC04/SO_1 R18 10K U3C 5 6 R19 10K U3D 9 8 11 U3E U3F 14 R16 10K 14 1 U3A 14 -DIS_232 1 2 C VCC_33V 14 C 14 10 13 12 GND 7 7 74LVC04/SO_1 7 74LVC04/SO_1 74LVC04/SO_1 74LVC04/SO_1 7 LED GND D1 PA3_CTS0 18 PA3_CTS0 2 0.1uF DIS RS232 R3 D2 2 R4 R5 D3 1 PA1_T0OUT R6 VCC_33V 2 68 GND B U4 2R7 100K TEST R8 10K R9 D4 1 330nF R7 100 YELL PA2 SW1 100 GREEN 3 -DIS_IRDA R10 4 VCC 1 LEDA PA5_TXD0 2 TXD IRDA_SD 4 SD PA4_RXD0 3 RXD 6 GND U3B 2 5 7 JP3 1 2 PC0_T1IN 74LVC04/SO_1 ZHX1810 0 GND 100 T B C10 VCC_33V 100 RED 14 1 PA0_T0IN DIS IRDA GND R11 10K 1 2 3 4 5 A 1 2 3 4 5 VCC_33V P2 VCC_33V TP1 TP2 GND GND 1 3 5 A DBG INTERFACE 2 4 6 DBG DBG Title Encore! F642. Evaluation Module. Schematic. Header 3x2 Size B Date: 5 4 3 2 Document Number Rev 96C0918-001 Friday, June 06, 2003 Sheet A 1 of 2 1 Figure 3. Z8 Encore! XP F64XX Series Development Board Schematics UM015110-0508 ® Z8 Encore! XP F64XX Series Development Kit User Manual 13 5 4 3 2 1 PA2 connector 2 PA1_T0OUT IO IO C13 0.1uF AVDD 3 JP2 C12 2 D AGND PA0_T0IN RESET PA0_T0IN PD2 PC2_SS PF6 -RESET SW2 Header 1 JP14 1 C15 0.001uF 1 Header 1 JP7 1 0.1uF PF7 PF6 C19 0.001uF Header 1 JP6 C16 C20 0.1uF PF5 VCC_33V PF5 PF4 PF3 PE4 PE3 GND PE2 PE1 PE0 GND PF2 PF1 PF0 VCC_33V PD1_T3OUT PD0_T3IN XOUT XIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 PA0/T0IN PD2 PC2/SS PF6 RESET VDD PF5 PF4 PF3 PE4 PE3 GND PE2 PE1 PE0 GND PF2 PF1 PF0 VDD PD1/T3OUT PD0/T3IN XOUT XIN R12 220 PF4 PF3 18.432MHz 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 1 1 Header 1 JP10 1 DBG PA5_TXD0 PA3_CTS0 PA4_RXD0 R13 100K C23 18pF PF2 18pF C24 C17 0.1uF PH1_ANA9 PB0_ANA0 PB1_ANA1 C28 0.001uF PB4_ANA4 C29 0.001uF 1 C18 0.001uF -RESET VCC_33V Header 1 JP17 PG3 VCC_33V 1 PB6_ANA6 PB7_ANA7 PB3_ANA3 PB2_ANA2 PH2_ANA10 PH3_ANA11 C31 0.001uF C32 0.001uF C33 0.001uF C34 0.001uF C35 0.001uF C36 0.001uF C21 0.1uF 1 C22 0.001uF A PG5 PG6 -DIS_232 -DIS_IRDA NC NC JP1 1 Header 1 JP21 1 connector 1 for reference only C37 0.001uF C25 22uF C38 0.01uF 26 24 22 20 18 16 14 12 10 8 6 4 2 4 GND -DIS_IrDA NC GND 1 Header 1 JP20 1 3 -TRSTN 5 -F91_WE 7 GND 9 A6 11 A10 13 GND 15 A8 17 A13 19 A15 21 A18 23 A19 25 A2 27 A11 29 A4 31 A5 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 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 VCC_33V 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 Title Encore! F642. Evaluation Module. Schematic. Size B Date: 5 NC NC NC NC If Module is plugged onto the Dev Platform the local RS232 interface is disabled by pin 50 of JP2 J2 25 23 21 19 17 15 13 11 9 7 5 3 1 NC D Header 1 JP19 AGND PH0_ANA8 PH1_ANA9 PB0_ANA0 PB1_ANA1 PB4_ANA4 PB5_ANA5 PB6_ANA6 PB7_ANA7 PB3_ANA3 PB2_ANA2 PH2_ANA10 PH3_ANA11 VREF NC NC GND PC5_MISO PC6_T2IN PC2_SS PA0_T0IN PA1_T0OUT PA2 PD6_CTS1 PD4_RXD1 PD0_T3IN GND PD2 PG0 PA5_TXD0 C PG7 PB5_ANA5 NC NC PE6 PE4 PE2 PE0 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 Z8F642 C30 0.001uF NC 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 Header 1 JP18 PG4 + C27 0.001uF PA6_SCL PA7_SDA Header 1 JP16 Header 1 PF1 C26 0.001uF GND 1 PG2 Header 1 PH0_ANA8 JP15 PG1 VREF B PA7_SDA PD6_CTS1 PC3_SCK PD7_RCOUT PG0 GND PG1 PG2 PE5 PE6 PE7 VCC_33V PG3 PG4 PG5 PG6 VCC_33V PG7 PC7_T2OUT PC6_T2IN DBG PC1_T1OUT PC0_T1IN GND GND AVDD PH0_ANA8 PH1_ANA9 PB0_ANA0 PB1_ANA1 PB4_ANA4 PB5_ANA5 PB6_ANA6 PB7_ANA7 PB3_ANA3 PB2_ANA2 PH2_ANA10 PH3_ANA11 VREF AGND Header 1 JP9 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 PC0_T1IN Y1 Header 1 JP8 PA7/SDA PD6/CTS1 PC3/SCK PD7/RCOUT PG0 GND PG1 PG2 PE5 PE6 PE7 VDD PG3 PG4 PG5 PG6 VDD PG7 PC7/T2OUT PC6/T2IN DBG PC1/T1OUT PC0/T1IN GND GND AVDD PH0/ALG8 PH1/ALG9 PB0/ALG0 PB1/ALG1 PB4/ALG4 PB5/ALG5 PB6/ALG6 PB7/ALG7 PB3/ALG3 PB2/ALG2 PH2/ALG10 PH3/ALG11 VREF AGND 1 C DBG PA5_TXD0 PA3_CTS0 PA4_RXD0 PA1/T0OUT PA2 PA3/CTS0 GND VDD PF7 PC5/MISO PD3 PD4/RXD1 PD5/TXD1 PC4/MOSI VDD GND PA4/RXD0 PA5/TXD0 PA6/SCL GND JP13 0.1uF EMI Filter U6 GND PE7 PE5 PE3 PE1 VCC_33V PC4_MOSI PC7_T2OUT PC3_SCK PC0_T1IN GND PC1_T1OUT PD1_T3OUT PD3 PD5_TXD1 PD7_RCOUT PF0 PA3_CTS0 PA4_RXD0 C14 0.001uF 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 VCC_33V GND VCC_33V 1 C11 0.001uF PA1_T0OUT PA2 PA3_CTS0 GND VCC_33V PF7 PC5_MISO PD3 PD4_RXD1 PD5_TXD1 PC4_MOSI VCC_33V GND PA4_RXD0 PA5_TXD0 PA6_SCL L1 3 2 Document Number Rev 96C0918-001 Friday, June 06, 2003 A Sheet 2 of 2 1 Figure 4. Z8 Encore! XP F64XX Series Development Board (Continued) Schematics UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 14 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. Customer Support UM015110-0508 Z8 Encore! XP® F64XX Series Development Kit User Manual 15 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 ©2008 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. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. Z8, Z8 Encore!, eZ8, Z8 Encore! XP, Z8 Encore! MC, Crimzon, eZ80, and ZNEO are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners. Disclaimer UM015110-0508