Z8F642x Series Advanced 20MHz Flash Microcontrollers Product Brief PB012401-0903 capability. SPI and I2C ports allow easy incorporation into any system. Product Block Diagram 20MHz eZ8 CPU 16-64KB Flash 2 or 4KB SRAM SPI, I2C, Two UARTs with IrDA Up to 12 Channels 10-bit ADC 3 or 4 16-bit Timers Capture/Compare/PWM Watch-Dog Timer On-Chip Debugger POR/VBO & Reset Control Crystal/RC Oscillator Z8 Encore!(R) MCU Features * 20MHz ZiLOG(R) eZ8 microprocessor core * Up to 64KB Flash program memory * Up to 4KB register RAM * Up to twelve channels 10-bit A/D conversion * Up to four enhanced 16-bit timer blocks with PWMs and Capture and Compare. The 40- and 44-pin packages feature only 3 timers. The fourth timer is available only in the 64-, 68and 80-pin packages. * I2C * Serial Peripheral Interface * Two full-duplex 9-bit UARTs with bus transceiver Driver Enable control * Two IrDA-compliant infrared encoder/ decoders * Up to 60 available I/O pins * 3-channel DMA controller * On-chip debug with break and trap capability * Single-pin Flash programming * Watch-Dog Timer * Selectable oscillator modes Up to 60 I/O Pins Overview The Z8F642x/Z8F482x/Z8F322x/Z8F242x/ Z8F162x devices are Flash microcontrollers based on ZiLOG(R)'s advanced eZ8 8-bit microprocessor core. The Z8 Encore!(R) MCU family of devices sets a new standard for performance and on-chip peripherals. The Z8F642x/Z8F482x/Z8F322x/Z8F242x/ Z8F162x devices feature up to twelve channels of 10-bit A/D conversion for measuring analog signals. These devices include four enhanced 16-bit timer blocks featuring PWMs and Capture and Compare. Up to 24 vectored interrupts with programmable priorities provide increased application flexibility. The single-pin debugger and programming interface simplifies code development and allows for easy in-circuit programming. - External RC Networks (<4MHz) - Power saving low frequency crystals (32KHz to 1.0MHz) Two full-duplex UARTs provide serial communications and IrDA encoding and decoding ZiLOG Corporation * 532 Race Street * San Jose, CA 95126-3432 * www.zilog.com Z8 Encore!(R) Advanced 20MHz Flash Microcontrollers 2 - Medium frequency crystals or resonators (0.5MHz to 10.0MHz) - High frequency crystals (8.0MHz to 20.0MHz) * Up to 24 vectored interrupts * Power-on reset and voltage brown-out * 3.0 to 3.6 operating voltage with 5V-tolerant inputs * * Operating temperatures: Standard (0 to 70C) and Extended (-40 to +105C) 40-, 44-, 64- 68- and 80-pin packages Software * ZDS II - Z8 Encore!(R) IDE with ANSI C-Compiler * Sample code Documentation * Quick Start Guide * Registration Card * Z8 Encore!(R) technical documentation (on CD-ROM): - Evaluation Kit User Manual eZ8 Microprocessor Features - ZDS II - IDE User Manual * - eZ8 CPU User Manual - Product Specification - Product briefs - Application notes * 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(R) code - Programmer's Reference Sheet * Up to 10 MIPS operation - Flyer * C-Compiler friendly - Selector guide * 2-9 clock cycles per instruction Z8 Encore!(R) Evaluation Kit The Z8 Encore!(R) Evaluation Kit includes the following: Hardware * Z8 Encore!(R) Evaluation board * Smart cable * 5VDC power supply PB012401-0903 Z8 Encore!(R) Advanced 20MHz Flash Microcontrollers 3 Architecture Figure 1 illustrates the Z8F642x/Z8F482x/Z8F322x/Z8F242x/Z8F162x devices block diagram. RC Oscillator Watch-Dog Timer Reset Control 16-Bit Counter/ Timer/Cap/PWM 16-Bit Counter/ Timer/Cap/PWM Crystal/RC Oscillator 16-Bit Counter/ Timer/Cap/PWM eZ8 20 MHz CPU On-Chip Debugger 16-Bit Counter/ Timer/Cap/PWM* Up to 12 Channels 10-Bit A/D Converter SPI Register File 2K or 4K x 8 I2C UART 0 Port A Port B Flash Program Memory 16-64K x 8 DMA Controller UART 1 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 in these packages. ** Ports E, F, G and H availability depends on the package. Figure 1. Z8F642x/Z8F482x/Z8F322x/Z8F242x/Z8F162x Devices Block Diagram PB012401-0903 Z8 Encore!(R) Advanced 20MHz Flash Microcontrollers 4 Ordering Information ZiLOG(R) sales office. The ZiLOG(R) website at www.zilog.com lists all regional offices, as well as additional Z8 Encore!(R) product information. 10-Bit A/D Channels I2C SPI UARTs with IrDA Description 31 23 3 8 1 1 2 PDIP 40-pin package Z8F6421AN020SC 64KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F6421VN020SC 64KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F6422AR020SC 64KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F6422VS020SC 64KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F6423FT020SC 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 Z8F6421PM020SC Part Number RAM Order the Z8F642x/Z8F482x/Z8F322x/Z8F242x/ Z8F162x devices from ZiLOG(R), referencing the following part numbers. For more information regarding ordering, please consult your local Z8F642x Standard Temperature: 0 to 70C Extended Temperature: -40 to +105C Z8F6421PM020SC 64KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F6421AN020EC 64KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F6421VN020EC 64KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F6422AR020EC 64KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F6422VS020EC 64KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F6423FT020EC 64KB 4KB 60 24 4 12 1 1 2 QFP 80-pin package Z8F482x Standard Temperature: 0 to 70C Z8F4821PM020SC 48KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F4821AN020SC 48KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F4821VN020SC 48KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package PB012401-0903 Z8 Encore!(R) Advanced 20MHz Flash Microcontrollers RAM I/O Lines 10-Bit A/D Channels I2C SPI UARTs with IrDA Description 48KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F4822VS020SC 48KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F4823FT020SC 48KB 4KB 60 24 4 12 1 1 2 QFP 80-pin package 16-Bit Timers with PWM Flash Z8F4822AR020SC Interrupts Part Number 5 Extended Temperature: -40 to +105C Z8F4821PM020EC 48KB 4KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F4821AN020EC 48KB 4KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F4821VN020EC 48KB 4KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F4822AR020EC 48KB 4KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F4822VS020EC 48KB 4KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F4823FT020EC 48KB 4KB 46 24 4 12 1 1 2 QFP 80-pin package Z8F322x Standard Temperature: 0 to 70C Z8F3221PM020SC 32KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F3221AN020SC 32KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F3221VN020SC 32KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F3222AR020SC 32KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F3222VS020SC 32KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package Extended Temperature: -40 to 105C Z8F3221PM020EC 32KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F3221AN020EC 32KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F3221VN020EC 32KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F3222AR020EC 32KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F3222VS020EC 32KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F242x Standard Temperature: 0 to 70C Z8F2421PM020SC 24KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F2421AN020SC 24KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package PB012401-0903 Z8 Encore!(R) Advanced 20MHz Flash Microcontrollers RAM I/O Lines 10-Bit A/D Channels I2C SPI UARTs with IrDA Description 24KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F2422AR020SC 24KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F2422VS020SC 24KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package 16-Bit Timers with PWM Flash Z8F2421VN020SC Interrupts Part Number 6 Extended Temperature: -40 to 105C Z8F2421PM020EC 24KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F2421AN020EC 24KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F2421VN020EC 24KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F2422AR020EC 24KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F2422VS020EC 24KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F162x Standard Temperature: 0 to 70C Z8F1621PM020SC 16KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F1621AN020SC 16KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F1621VN020SC 16KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F1622AR020SC 16KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F1622VS020SC 16KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package Extended Temperature: -40 to +105C Z8F1621PM020EC 16KB 2KB 31 23 3 8 1 1 2 PDIP 40-pin package Z8F1621AN020EC 16KB 2KB 31 23 3 8 1 1 2 LQFP 44-pin package Z8F1621VN020EC 16KB 2KB 31 23 3 8 1 1 2 PLCC 44-pin package Z8F1622AR020EC 16KB 2KB 46 24 4 12 1 1 2 LQFP 64-pin package Z8F1622VS020EC 16KB 2KB 46 24 4 12 1 1 2 PLCC 68-pin package Z8F64200100KIT Evaluation Kit PB012401-0903 Z8 Encore!(R) Advanced 20MHz Flash Microcontrollers 7 Part Number Suffix Designations Z8 F 64 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: 16-64KB*, 2 or 4KB RAM Memory Type: F = Flash R = ROM Device Family * Not all packages are available for all memory sizes. See Ordering Information for the packages available for your requirements. PB012401-0903 Z8 Encore!(R) Advanced 20MHz Flash Microcontrollers 8 Disclaimer (c)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. PB012401-0903