Z8F640x Series Advanced 20MHz 64KB Flash Microcontroller Product Brief PB009511-0903 Product Block Diagram Z8 Encore!® MCU Features • New 20MHz ZiLOG eZ8 microprocessor core • 64KB Flash program memory • 4KB register RAM • Up to twelve channels, 10-bit A/D conversion • 3 or 4 enhanced 16-bit timer blocks with PWMs and Capture and Compare. The 44-pin packages feature only 3 timers. The fourth timer is available only in the 64- and 68-pin packages. • Full-duplex SPI, I2C, and two UART ports with IrDA encoder/decoders • 31, 46 and 60 available I/O pins The Z8F640x series of devices are Flash microcontrollers based on ZiLOG’s advanced eZ8 8-bit microprocessor core. The Z8 Encore!® MCU family of devices sets a new standard for performance and on-chip peripherals. • 3-channel DMA controller • On-chip debug with break and trap capability • Single-pin Flash programming • Watch-Dog Timer The Z8F640x series features twelve channels of 10-bit A/D conversion for measuring analog signals. • Up to 24 vectored interrupts • Power-on reset and voltage brown-out These devices include four enhanced 16-bit timer blocks featuring PWMs and Capture and Compare. • 3.0 to 3.6 operating voltage with 5V-tolerant inputs Up to 24 vectored interrupts with programmable priorities provide increased application flexibility. • Operating temperatures: Standard (0° to 70°C) and Extended (-40° to +105°C) The new single-pin debugger and programming interface simplifies code development and allows for easy in-circuit programming. • 40-, 44-, 64- and 68- and 80-pin packages 20MHz eZ8 CPU 64KB Flash 4KB SRAM SPI, I2C, Two UARTs with IrDA 12 Channel 10-bit ADC 3 to 4 16-bit Timers Capture/Compare/PWM Watch-Dog Timer On-Chip Debugger Crystal Oscillator & Reset Control Up to 60 I/O Pins Overview Two full-duplex UARTs provide serial communications and IrDA encoding and decoding capability. SPI and I2C ports allow easy incorporation into any system. ZiLOG Corporation • 532 Race Street • San Jose, CA 95126-3432 • www.zilog.com Z8 Encore!® Advanced 20MHz 64KB Flash Microcontroller 2 eZ8 Microprocessor Features Documentation • • Quick Start Guide • Registration Card • Z8 Encore!® technical documentation (on CDROM): New instructions for improved performance including BIT, BSWAP, BTJ, CPC, LDC, LDCI, LEA, MULT, and SRL • New instructions support 12-bit linear addressing of the Register File • Compatible with existing Z8® code • Up to 10 MIPS operation • C-Compiler friendly • 2-9 clock cycles per instruction Z8 Encore!® Development Kit Encore!® The Z8 following: Development Kit includes the – Development Kit User Manual – ZDS II - IDE User Manual – eZ8 CPU User Manual – Product Specification – Product briefs – Application notes – Programmer’s Reference Sheet – Flyer – Selector guide Hardware • Z8 Encore!® evaluation board • RS-232 DB9 serial cable • 9VDC universal power supply • Z8 Encore!® target interface module Software • ZDS II - Z8 Encore!® IDE with ANSI C-Compiler • Sample code PB009511-0903 Z8 Encore!® Advanced 20MHz 64KB Flash Microcontroller 3 Architecture Figure 1 illustrates the Z8F640x block diagram. RC Oscillator Watch-Dog Timer Reset Control 16-Bit Counter/ Timer/Cap/PWM 16-Bit Counter/ Timer/Cap/PWM Crystal Oscillator 16-Bit Counter/ Timer/Cap/PWM eZ8 20 MHz CPU On-Chip Debugger 16-Bit Counter/ Timer/Cap/PWM* 12-Channel 10-Bit A/D Converter SPI Register File 4K x 8 I2C UART 1 UART 0 Port A Port B Flash Program Memory 64K x 8 DMA Controller Interrupt Controller Port C Port D Port E Port F Port G Port H * The 40- and 44-pin packages feature only 3 timers. The fourth timer is unavailable. Figure 1. Z8F640x Block Diagram PB009511-0903 Z8 Encore!® Advanced 20MHz 64KB Flash Microcontroller 4 Ordering Information Order the Z8F640x series from ZiLOG, referencing the following part numbers. For more information regarding ordering, please consult your local 10-Bit A/D Channels I 2C SPI UARTs with IrDA Description 31 23 3 8 1 1 2 PDIP 40-pin package Z8F6401AN020SC 64KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F6401VN020SC 64KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F6402AR020SC 64KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F6402VS020SC 64KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F6403FT020SC 64KB 4KB 60 24 4 12 1 1 2 QFP 80-pin package 16-Bit Timers with PWM 4KB Interrupts I/O Lines 64KB Flash Z8F6401PM020SC Part Number RAM ZiLOG sales office. The ZiLOG website at www.zilog.com lists all regional offices, as well as additional Z8 Encore!® product information. Standard Temperature: 0° to 70°C Extended Temperature: -40° to +105°C Z846401PM020EC 64KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F6401AN020EC 64KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F6401VN020EC 64KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F6402AR020EC 64KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F6402VS020EC 64KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F6403FT020EC 64KB 4KB 60 24 4 12 1 1 2 QFP 80-pin package Z8ENCORE000ZCO Development Kit PB009511-0903 Z8 Encore!® Advanced 20MHz 64KB Flash Microcontroller 5 Part Number Suffix Designations Z8 F 08 21 P M 020 S C Environmental Flow: C = Plastic Standard Temperature Range (°C): S = Standard, 0 to 70 E = Extended, -40 to +105 Speed: 020 = 20 MHz Pin Count: M = 40 N = 44 R = 64 S = 68 T = 80 Package: A = LQFP F = QFP P = PDIP V = PLCC Device Type Memory Size: 64KB, 4KB RAM Memory Type: F = Flash Device Family PB009511-0903 Z8 Encore!® Advanced 20MHz 64KB Flash Microcontroller 6 Disclaimer ©2003 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. PB009511-0903