eZ80Acclaim! Flash eZ80F92/F93 Product Brief

PB010306-0803

Product Block Diagram* • 2 UARTs with independent baud rate generators and providing up to 9 bits of data transmission eZ80F92 MCU • I2C with independent generator • SPI with independent clock rate generator 128 KB+256 B 8KB SRAM 24-Bit GPIO Flash • Six 16-bit Counter/Timers with prescalers and direct input/output drive capability Infrared • Watch-Dog Timer Encoder/ 2 UART I2C SPI • Real-time clock with on-chip 32KHz oscillator , Decoder selectable 50/60 Hz input, and separate VDD pin for battery backup Real-Time 6 PRT WDT Clock • Glueless external memory interface with 4 Chip Selects, independent WAIT state generators, and ® 4 CS + WSG JTAG ZDI external WAIT input pin; supports eZ80 , Z80, Intel, and Motorola bus-compatible peripherals *eZ80F92 shown. eZ80F93 features 64KB Flash, 4KB SRAM. • JTAG Debug Interface (also supports Features Debug Interface) • Interrupt controller supports internal and exter- The eZ80F92 is a member of nal maskable interrupts as well as a non- ZiLOG’s eZ80Acclaim! product family, which maskable interrupt input offers Flash versions of ZiLOG’s eZ80® processor ® core. An additional controller, the eZ80F93 , is • New DMA-like eZ80 instructions intrinsically the same device, but offers smaller • Power management features including SLEEP/ memory sizes. The eZ80F92 and eZ80F93 devices HALT modes and peripheral power-down con- offer the following features: trols • High-performance, pipelined eZ80F92 with sin- • 100-pin LQFP package, pin-compatible with the gle-cycle instruction fetch eZ80L92 – eZ80F92—128 KB on-chip Flash program • memory and an extra 256 bytes configuration 3.0–3.6 V supply voltage with 5V tolerant inputs Flash memory; 8 KB on-chip high-speed • Operating Temperature Ranges: SRAM – Standard: 0ºC to +70ºC – eZ80F93—64 KB on-chip Flash program – Extended: –40ºC to +105ºC memory and an extra 256 bytes configuration Flash memory , 4 KB on-chip high-speed • 20MHz versions: SRAM – eZ80F92AZ020SC • 24 General-Purpose I/O pins – eZ80F92AZ020EC – eZ80F93AZ020SC • IrDA™-compatible Infrared Encoder/Decoder – eZ80F93AZ020EC

ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126 Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com eZ80F92/F93 Product Brief

2

General Description In addition, high-speed relocatable SRAM is avail- able for general application use. The eZ80F92 and eZ80F93 microcontrollers are power-efficient, optimized, pipeline-architecture • eZ80F92: 8KB SRAM microcontrollers operating at 20MHz. They are • eZ80F93: 4KB SRAM new devices in a line of eZ80®-based standard products with integrated Flash memory, and are General-Purpose Input/Output targeted toward industrial, communication, secu- rity, automation, and embedded Internet applica- There are 24 bits of General Purpose Input or Out- tions. put (GPIO) pins. All GPIO pins are individually programmable and support the following I/O eZ80® CPU Core modes: input, output, open-drain, open-source, level-triggered interrupts (High or Low), edge-trig- The eZ80Acclaim! is a Flash version of ZiLOG’ s gered interrupts (High or Low), dual-edge-trig- ® eZ80 processor core, which can operate in Z80- gered interrupts, and alternate function. compatible (64KB) mode or full 24-bit (16 MB) addressing mode. Considering both the increased Infrared Encoder/Decoder clock speed and processor efficiency, the eZ80 ®’s ™ processing power rivals the performance of 16-bit • Supports IrDA SIR format ® microcontrollers. The eZ80 improves on the • Operates seamlessly with the on-chip UART world-famous Z80 architecture. Like the Z80, it ™ features dual bank registers for fast context switch- • Interfaces with IrDA -compliant transceivers ing. • Supports transmit/receive to 115.2 kbps

Peripherals Description Universal Asynchronous Receiver/ Transmitter On-Chip Memory Each of the two Universal Asynchronous Receiver/ The eZ80F92 and eZ80F93 microcontrollers o ffer Transmitter (UART) devices contains control reg- integrated Flash program memory. A separate page isters and a Baud Rate Generator (BRG). of 256 bytes Flash memory is available for general device configuration data. • The Baud Rate Generator produces a lower-fre- quency bit clock from the system clock. All • eZ80F92: 128KB Flash standard baud rates up to 115kbps and some • eZ80F93: 64KB Flash rates higher than 115kbps are supported. • Single power supply operation • The UART module implements all of the logic required to support asynchronous communica- • Page erase feature: 1024 bytes/page tions, hardware flow control, and 9-bit character • Fast page erase and byte program operation format. The module also contains separate 16- byte-deep transmit and receive FIFOs. • 60ns maximum access time • Endurance: 20,000 write cycles (typical) Inter-Integrated Circuit • Data retention: greater than 100 years @ room The Inter-Integrated Circuit (I2C) device contains temperature control registers and its own clock rate generator . The I2C operates in four modes: Master Transmit

PB010306-0803 eZ80Acclaim! Flash Microcontrollers eZ80F92/F93 Product Brief

3

or Master Receive, Slave Transmit or Sla ve Block Transfer Instructions Receive. Four new block transfer instructions with expanded Serial Peripheral Interface repeat capability are added to the eZ80F92. These provide performance similar to hardware DMAs. The Serial Peripheral Interface (SPI) device con- tains control registers and its own clock rate gener- Chip Select/Wait State Generator ator. The SPI is a synchronous interface allowing and WAIT Pin several SPI-type devices to be interconnected. The SPI may be configured as either a master or a slave. There are four chip selects for external devices. Each chip select may be programmed for either Programmable Reload Timers memory or I/O space. Each memory chip select can be individually programmed on a 64 KB The eZ80F92 features six Programmable Reload- boundary. The I/O chip selects can choose a 256- able Counter Timers (PRT). Each timer is a 16-bit byte section of I/O space. The WAIT input pin down counter and offers a 4-bit clock prescaler facilitates interface with slow peripherals. The chip with four selectable taps for CLK ÷ 4, CLK ÷ 16, selects support eZ80®, Z80-, Intel-, and Motorola- CLK ÷ 64, and CLK ÷ 256. The timers’ two modes style buses. of operation are single-pass and continuous count mode. Four timers can be driven through a GPIO JTAG Debug Interface input pin for external event count. Two other timers have the ability to drive general-purpose output The IEEE1149.1-compatible JTAG debug interf ace pins. supports all of the ZDI functions plus the following features: software break points, 64-word trace Watch-Dog Timer buffer, complex break points using address and data masks, and cascadable triggers. The Watch-Dog Timer (WDT) features four pro- 18 22 25 27 grammable time-out periods: 2 , 2 , 2 , or 2 ZiLOG Debug Interface system clock cycles. It can operate from either the main system clock or the on-chip 32KHz oscillator The ZiLOG Debug Interface (ZDI) incorporates (from RTC). Time-out action of the WDT is user most of the functions of an In-Circuit Emulator on- programmable via hardware reset or nonmaskable chip. ZDI allows the user to single step code, interrupt to the eZ80F92. The source of action change registers, edit programs, and view status of taken after a WDT time-out is indicated by a WDT internal registers. status bit. Power Management Real-Time Clock Several power management features are supported The real-time clock (RTC) allows counting of sec- on the eZ80F92. Peripheral power-down registers onds, minutes, hours, days-of-the-week, day-of- allow independent clock gating of on-chip periph- the-month, month, year, and century. Alarms and erals under software control while operating under interrupts can be set for seconds, minutes, hours, normal conditions. The eZ80F92 can write to these and day-of-the-week. The real-time clock input can control registers to disable the clock from driving be taken from the on-chip 32KHz oscillator or any one of the peripherals when they are inactive. from a 50/60 Hz input. The real-time clock oper- In addition, execution of the HALT instruction sus- ates from an isolated VDD pin to allow constant pends eZ80F92 operation and eliminates clock operation from a battery. power associated with the eZ80F92 core. Normal

PB010306-0803 eZ80Acclaim! Flash Microcontrollers eZ80F92/F93 Product Brief

4

operation can be restored via external and periph- Support Tools eral interrupts or HW reset. The following development tools are available to Execution of a SLP (Sleep) instruction provides program and debug applications using the the lowest power consumption. In SLEEP mode, eZ80F92 devices: only the on-chip RTC 32KHz crystal oscillator remains active to drive the RTC and the WDT. All • eZ80F92 and Ethernet compact evaluation mod- other peripherals, the system clock, and the pri- ules mary oscillator are disabled. An RTC alarm, a • eZ80® Development Platform WDT time-out or HW Reset can restart the device. • ZiLOG Development Suite IDE (ZDS) includ- Electrical Features Summary ing assembler, linker, debugger, and simulator • ZiLOG ANSI C-Compiler • Power supply: 3.3V ± 300mV • eZ80F92 Development Kit including: • Standard temperature: 0ºC to +70ºC – One eZ80F92 module • Extended temperature: –40ºC to +105ºC – eZ80® Development Platform • Supply current @ 20MHz: <30mA (typical) – ZP AKII emulator with ZDI • Supply current in HALT mode with peripherals – ZDS II, ANSI C-Compiler powered down: < 10mA (typical) • Supply current in SLEEP mode: < 50µA (typi- cal)

PB010306-0803 eZ80Acclaim! Flash Microcontrollers eZ80F92/F93 Product Brief

5

Pin Diagram Figure 1 diagrams the pin configuration of the eZ80F92 and eZ80F93 parts features the same pin- eZ80F92 100-pin LQFP device. Each of the out. TS1 I1 CD1 SR1 TR1 TS1 xD1 xD1 R R D D D C SS / / / / / // /R /T SS DD DD OUT IN SS PHI SCL SDA V V PB7/MOSI PB6/MISO PB5/T5_OUT PB4/T4_OUT PB3/SCK PB2/ PB1/T1_IN PB0/T0_IN V X X V PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0

A0 1 100 90 80 76 75 PD7/RI0 A1 PD6/DCD0 A2 PD5/DSR0 A3 PD4/DTR0 A4 PD3/CTS0 A5 70 PD2/RTS0 VDD PD1/RxD0/IR_RXD VSS PD0/TxD0/IR_TXD A6 VDD A7 10 TDO A8 TDI A9 TRIGOUT A10 100-Pin LQFP TCK A11 TMS A12 VSS A13 60 RTC_VDD A14 RTC_XOUT VDD RTC_XIN VSS VSS A15 20 VDD A16 HALT_SLP A17 BUSACK A18 BUSREQ A19 NMI A20 25 51 RESET 26 30 40 50 SS SS DD DD D0 D1 D2 D3 D4 D5 D6 D7 RD WR V V A21 A22 A23 V V CS0 CS1 CS2 CS3 WAIT IORQ MREQ INSTRD

Figure 1. eZ80F92 100-Pin LQFP Pin Configuration

PB010306-0803 eZ80Acclaim! Flash Microcontrollers eZ80F92/F93 Product Brief

6

Block Diagram Figure 2 illustrates a block diagram of the eZ80F92 device.

Real-Time RTC_VDD Clock and RTC_XIN 32KHz RTC_XOUT Oscillator

I2C SCL Serial BUSACK Interface BUSREQ SDA INSTRD Bus Controller IORQ MREQ RD WR DATA[7:0] 128 KB * SCK Program NMI SPI FLASH Serial ® RESET SS + eZ80 Parallel MPU Interface 256Bytes HALT_SLP MISO Config MOSI FLASH JTAG/ZDI JTAG / ZDI Signals Debug Interface

CTS0/1 ADDR[23:0] 8 KB * DCD0/1 WAIT General Interrupt Chip Select DSR0/1 Purpose Vector UART [7:0] & CS0 Universal SRAM DTR0/1 Wait State CS1 Asynchronous Interrupt Receiver/ Generator CS2 RI0/1 Transmitter Controller (2) CS3 RTS0/1 DATA[7:0] RXD0/1

TXD0/1 ADDR[23:0]

WDT GPIO Crystal Programmable Watchdog IrDA 8-bit General Oscillator Reload Encoder/ Purpose and Timer Decoder I/O Port System Clock Timer/Counter (3) Generator (6) IN X PHI OUT X T0_IN T1_IN T2_IN T3_IN PB[7:0] PC[7:0] PD[7:0] IR_TXD IR_RXD T4_OUT T5_OUT * Memory configuration for eZ80F92 shown. eZ80F93 features 64KB Flash and 4KB SRAM.

Figure 2. eZ80F92 Block Diagram

PB010306-0803 eZ80Acclaim! Flash Microcontrollers eZ80F92/F93 Product Brief

7

Related Products Other integrated devices of interest include: eZ80190 50 MHz eZ80® CPU, 8KB SRAM, 16x16 Multiply with 40-bit Accumulators, 32 bits GPIO, 6 Counter Timers with Prescalers, WDT, 4-channel CS +WSG, 2-Channel DMA, 2 UZI Channels, ZDI, On-Chip Oscillator. eZ80L92 20MHz and 50MHz eZ80® CPU, low-power modes, 24 bits GPIO, IrDA, 2 UART, I2C, SPI, 6 Counter Timers with I/O features, WDT, RTC, 4-channel CS, JTAG, ZDI. eZ80F91 50MHz eZ80® CPU, low-power modes, 256 KB + 512B Flash, 8KB SRAM, 32 bits GPIO, 10/ 100 EMAC, IrDA, 2 UART, I2C, SPI, 6 Counter Timers with I/O features, WDT, RTC, 4- channel CS +WSG, JTAG, ZDI, PLL. Z80S180 Improved Z80™ CPU, 1MB MMU, 2 DMA, 2 16-bit PRTs, 2 UARTs, CSIO, up to 33MHz clock speed. Z80181 Z8S180 CPU, SCC, CTC, 16-bit GPIO, up to 33MHz clock speed. Z80182 Z8S180 CPU, 2 ESCC, 24-bit GPIO, 16550 Mimic interface, up to 33MHz clock speed. Z84C00 Z80™ CPU (up to 20 MHz). Z84C15 Z80™ CPU, 2 SIO, 4x8 CTC, 2 PIO, WDT, up to 16MHz clock speed.

Ordering Information

PSI Part Description eZ80F92AZ020SC 20MHz, Standard Temperature eZ80F92, 128KB Flash, 8KB SRAM. eZ80F92AZ020EC 20MHz, Extended Temperature eZ80F92, 128KB Flash, 8KB SRAM. eZ80F93AZ020SC 20MHz, Standard Temperature eZ80F93, 64KB Flash, 4KB SRAM. eZ80F93AZ020EC 20MHz, Extended Temperature eZ80F93, 64KB Flash, 4KB SRAM. eZ80F920200ZCO eZ80F92 Development Kit Complete eZ80Acclaim! Development Kit.

PB010306-0803 eZ80Acclaim! Flash Microcontrollers eZ80F92/F93 Product Brief

8

This publication is subject to replacement by a later edition. To determine whether a later edition exists, or to request copies of publications, contact:

ZiLOG Worldwide Headquarters 532 Race Street San Jose, CA 95126 Telephone: 408.558.8500 Fax: 408.558.8300 www.ZiLOG.com

Document Disclaimer ZiLOG is a registered trademark of ZiLOG Inc. in the ASSUME LIABILITY FOR INTELLECTUAL PROP- United States and in other countries. All other products ERTY INFRINGEMENT RELATED IN ANY MAN- and/or service names mentioned herein may be trade- NER TO USE OF INFORMATION, DEVICES, OR marks of the companies with which they are associated. TECHNOLOGY DESCRIBED HEREIN OR OTHER- ©2003 by ZiLOG, Inc. All rights reserved. Information WISE. Devices sold by ZiLOG, Inc. are covered by war- in this publication concerning the devices, applications, ranty and limitation of liability provisions appearing in or technology described is intended to suggest possible the ZiLOG, Inc. Terms and Conditions of Sale. ZiLOG, uses and may be superseded. ZiLOG, INC. DOES NO T Inc. makes no warranty of merchantability or fitness for ASSUME LIABILITY FOR OR PROVIDE A REPRE- any purpose Except with the express written approval of SENTATION OF ACCURACY OF THE INFORMA- ZiLOG, use of information, devices, or technology as TION, DEVICES, OR TECHNOLOGY DESCRIBED critical components of life support systems is not autho- IN THIS DOCUMENT. ZiLOG ALSO DOES NO T rized. No licenses are conveyed, implicitly or otherwise, by this document under any intellectual property rights.

PB010306-0803 eZ80Acclaim! Flash Microcontrollers