eZ80Acclaim! (R) Flash Microcontrollers eZ80F91 MCU Product Brief PB013505-0607 Product Block Diagram eZ80F91 MCU 256 KB Flash + 512 B Flash 32-Bit GPIO 8 KB SRAM 10/100 Mbps Ethernet MAC 8 KB Frame Buffer Infrared Encoder/ 2 UART Decoder 4 PRT 4 CS + WSG I2C Real Time Clock WDT JTAG SPI ZDI PLL Key Features The eZ80F91 MCU is a member of ZiLOG's eZ80Acclaim!(R) product family which offers on-chip Flash versions of ZiLOG's eZ80(R) processor core. The eZ80F91 MCU offers the following features: * 50 MHz high-performance eZ80(R) CPU * 256 KB Flash Program Memory and extra 512 B device configuration Flash Memory * 32 bits of General-Purpose Input/Output (GPIO) * 16 KB total on-chip high-speed SRAM: - 8 KB for general-purpose use - 8 KB for 10/100 BaseT Ethernet Media Access Controller (EMAC) high-speed frame buffer * IrDA-compatible infrared encoder/decoder * Two universal asynchronous receiver/ transmitter (UARTs) with independent baud rate generators * Inter-integrated circuit (I2C) and serial peripheral interface (SPI) with independent clock rate generator * Four counter/timers with prescalers supporting event counting, input capture, output compare, and Pulse Width Modulator (PWM) modes * Watchdog Timer (WDT) with internal RC clocking option * Real time clock (RTC) with on-chip 32 KHz oscillator, selectable 50/60 Hz input, and separate RTC_VDD pin for battery backup * Glueless external memory interface with 4 Chip-Selects/Wait-State Generators and external WAIT input pin. It also supports Intel(R) and Motorola(R) buses * JTAG and ZiLOG Debug Interface (ZDI) supporting emulation features * Low-power PLL and on-chip oscillator * Programmable-priority vectored interrupts, non-maskable interrupts, and interrupt controller * New DMA-like eZ80(R) CPU instructions * Power management features supporting HALT/SLEEP modes and selective peripheral power-down controls * 144-pin BGA package or 144-pin LQFP package * 3.0 V to 3.6 V supply voltage with 5 V tolerant inputs Copyright (c)2007 by ZiLOG, Inc. All rights reserved. www.zilog.com eZ80F91 MCU Product Brief 2 * Operating temperature ranges: - Standard, 0 C to +70 C - Extended, -40 C to +105 C General Description The eZ80F91 MCU is industry's first MCU featuring a high-performance 8-bit microcontroller with an integrated 10/100 BaseT EMAC. It is a power-efficient, optimized pipeline architecture microcontroller with a maximum operating speed of 50 MHz. Offering on-chip Flash Memory, SRAM, Ethernet MAC, and rich peripherals, the eZ80F91 is well-suited for industrial, communication, automation, security, and embedded Internet applications. eZ80(R) CPU Core The eZ80(R) CPU operates either in Z80-compatible (64 KB) mode or full 24-bit (16 MB) addressing mode. Considering both the increased clock speed and processor efficiency, the processing power of eZ80(R) competes with the performance of 16-bit microprocessors. The eZ80 (R) improves on the world-famous Z80 (R) architecture. Like Z80 (R) , eZ80(R) CPU features dual bank registers for fast context switching. eZ80F91 MCU Peripherals Description The peripherals of eZ80F91 MCU includes the following: On-Chip Memory The eZ80F91 device offers 256 KB of Flash Program Memory. A separate page of 512- bytes Flash Memory is available for general device configuration data. Other on-chip memory features include: * Single power supply operation * * Endurance, 10,000 write cycles (typical) * The data can be retained for more than 100 years at room temperature In addition, 16 KB of high-speed, relocatable SRAM is available and 8 KB is for generalpurpose use. Another 8 KB is used by the EMAC for Ethernet operation, but is also user-accessible when Ethernet functionality is not required. General-Purpose Input/Output There are 32 bits of GPIO. All GPIO pins are individually programmable and support the following I/O modes: input, output, open drain, open source, level-triggered interrupts (High or Low), edge-triggered interrupts (High or Low), dual edge-triggered interrupts, and alternate function. Eight of the output pins can drive 10 mA each (Port A), while 16 other pins feature Schmitt-trigger input buffers (Port B and Port C). 10/100 BaseT Ethernet MAC The eZ80F91 MCU features an integrated IEEE 802.3 Ethernet controller with 8 KB of dynamically-configurable Tx/Rx frame buffer. It supports speed of 10 Mbps and 100 Mbps, full duplex operation, and an industry-standard Media Independent Interface (MII) for simple connection to an external Physical Layer interface (PHY) device. The eZ80F91 delivers high performance and overall cost effectiveness as an embedded network microcontroller. High performance is achieved by optimizing the internal bus design of the eZ80(R) CPU with shared memories, dedicated Ethernet Tx/Rx DMAs, and Tx/Rx FIFOs. This bus design provides the highest data throughput over the Ethernet interface, yet requires minimum eZ80(R) CPU intervention and minimizes system loading. Infrared Encoder/Decoder * Supports IrDA SIR format Page erase feature, 2048 bytes/page * Operates seamlessly with on-chip UART * Fast page erase and byte program operation * Interfaces with IrDA-compliant transceivers * 78 ns minimum read cycle * Supports transmit/receive to 115 Kbps PB013505-0607 eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 3 Each of the two UART channels contains a transmitter, a receiver, control logic/registers, and a Baud Rate Generator (BRG). action of the WDT is user-programmable for either a hardware reset or a non-maskable interrupt to the eZ80 (R) CPU. The source of action taken after a WDT time-out is indicated by a WDT status bit. * Real Time Clock Universal Asynchronous Receiver/Transmitter * The BRG produces a lower-frequency bit clock from the system clock. All standard baud rates up to 115 Kbps (and higher) are supported. The UART module implements the logic required to support asynchronous communications, hardware flow control, and 9-bit character format. The module also contains separate 16-byte-deep transmit and receive FIFOs. Inter-Integrated Circuit The I2C channel contains control registers and a clock rate generator. The I2C interface operates in four modes: Master Transmit or Receive and Slave Transmit or Receive. A standard and fast I2C speed of 100 kbps and 400 kbps are supported. Serial Peripheral Interface The SPI channel contains control registers and a clock rate generator. The SPI is a synchronous serial interface allowing multiple SPI devices to be interconnected. The SPI interface is configured to function either as a master or a slave. Programmable Reload Timers The eZ80F91 MCU provides four independent Programmable Reloadable Counter Timers (PRT) to handle complex timing functions. Each timer is a 16-bit downcounter and offers a 4-bit clock prescaler with four selectable taps for CLK / 4, CLK / 16, CLK / 64 and CLK / 256. The timers operates in basic mode supporting SINGLE-PASS or CONTINUOUS count. Additional features include 4 input captures, 4 output compares, 2 external event counters, and 4 PWMs that can operate independently or in unison. Any one of the input capture pins can be programmed as master PWM power-trip inputs. Watchdog Timer The WDT features four programmable time-out periods. It operates either from the main system clock, the on-chip 32 KHz oscillator (from the RTC), or the internal RC oscillator. The time-out PB013505-0607 The RTC allows counting of seconds, minutes, hours, day-of-the-week, day-of-the-month, month, year, and century. Alarms and interrupts can be set for seconds, minutes, hours, and day-of-the-week. The RTC input is taken either from the on-chip 32 KHz oscillator or from a 50/60 Hz input. The RTC operates from an isolated RTC_VDD pin to allow constant operation from a battery. Chip-Select/Wait State Generator and WAIT Pin Four independent chip selects facilitate glueless interface to system memory and external devices. Each chip-select can be configured for up to 7 wait states and supports either memory or I/O space. Memory chip selects can be individually programmed on a 64 KB boundary. I/O chip selects can choose a 256 byte section of I/O space. The WAIT input pin allows interface with slow peripherals. It also supports Z80 (R) , Intel (R) , and Motorola(R) bus modes. JTAG Interface An IEEE 1149.1-compatible five-pin test access port (TAP) is provided to interface with on-chip test logic defined by IEEE standard. The TAP also includes Boundary Scan functions and is used to control on-chip emulation/debugging capabilities. Some features include software break points, 64-word trace buffer, complex break points using address and data masks, and cascadable triggers. PLL and On-Chip Crystal Oscillator The eZ80F91 MCU features a low-power, programmable PLL that can be selected to generate the system clock. Taking the input from the on-chip crystal oscillator, the PLL generates system clock speed up to 50 MHz from low-cost, low-frequency external crystals in the range of 1 MHz to 10 MHz. eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 4 ZiLOG Debug Interface Electrical Features Summary The ZiLOG Debug Interface (ZDI) incorporates the functions of an in-circuit emulator. ZDI allows you to single-step code, change registers, edit programs, and view status of the internal registers. * Power supply, 3.3 V 0.3 V * Standard temperature, 0 C to 70 C * Extended temperature, -40 C to +105 C Block Transfer Instructions * Supply current at 50 MHz; 50 mA (typical) Block transfer instructions with expanded repeat capability are added to the eZ80 (R) CPU. They provide high-performance data transfer similar to hardware DMAs. * Supply current in HALT mode with peripherals powered down; <5 mA (typical) * Supply current in SLEEP mode; <50 A (typical) Power Management The eZ80F91 MCU supports several power m a n a g e m e n t f e a t u r e s . Tw o p e r i p h e r a l Power-Down Registers allow independent clock gating of on-chip peripherals under software control while operating under normal conditions. The eZ80(R) CPU writes to the control registers to disable the clock from driving any one of the peripherals while they are inactive. In addition, execution of the HALT instruction suspends eZ80 (R) CPU operation and eliminates clock power associated with the eZ80(R) CPU core. Normal operation is restored via external and peripheral interrupts or hardware reset. Execution of a sleep (SLP) instruction provides the lowest power consumption. In SLEEP mode, only the on-chip RTC 32 KHz crystal oscillator remains active to drive the RTC and the WDT. Other peripherals like the system clock, and the primary oscillator are disabled. You can reset the device by RTC alarm, a WDT time-out, or hardware reset. PB013505-0607 Support Tools The following development tools are available to program and debug the eZ80F91 MCU: Hardware * eZ80(R) Development Platform with plug-in eZ80F91 Module Software * ZiLOG TCP/IP (ZTP) software suite * ANSI C-Compiler * ZiLOG Developer's Studio Integrated Development Environment (ZDS II IDE) including assembler, linker, debugger, and simulator eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 5 Related Products Other integrated devices of interest are: eZ80190 50 MHz eZ80(R) CPU, 8 KB 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 20 MHz and 50 MHz eZ80(R) 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. eZ80F92 20 MHz eZ80(R) CPU, low-power modes, 128 KB + 256 B Flash, 8 KB SRAM, 24 bits GPIO, IrDA, 2 UART, I2C, SPI, 6 Counter Timers with I/O features, WDT, RTC, 4 channel CS + WSG, JTAG, ZDI, PLL. eZ80F93 20 MHz eZ80(R) CPU, low-power modes, 64 KB + 256 B Flash, 4 KB SRAM, 24 bits GPIO, IrDA, 2 UART, I2C, SPI, 6 Counter Timers with I/O features, WDT, RTC, 4 channel CS + WSG, JTAG, ZDI. Z80S180TM Improved Z80 CPU, 1 MB MMU, 2 DMA, 2 16-bit PRTs, 2 UARTs, CSIO, up to 33 MHz clock speed. Z80181 Z8S180 CPU, SCC, CTC, 16-bit GPIO, up to 33 MHz clock speed. Z80182 Z8S180 CPU, 2 ESCC, 24-bit GPIO, 16550 Mimic interface, up to 33 MHz clock speed. Z84C00 Z80(R) CPU (up to 20 MHz). Z84C15 Z80(R) CPU, 2 SIO, 4x8 CTC, 2 PIO, WDT, up to 16 MHz clock speed. PB013505-0607 eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 6 Block Diagram Figure 1 illustrates the block diagram of eZ80F91 MCU. MII Interface Signals (18) Ethernet MAC 8 KB SRAM Arbiter Real Time Clock and 32 KHz Oscillator RTC_VDD RTC_XIN RTC_XOUT BUSACK BUSREQ I2C Serial Interface SCK SPI Serial Parallel Interface SS MISO RD DATA[7:0] SDA MREQ ADDR[23:0] SCL INSTRD IORQ Bus Controller WR NMI eZ80(R) HALT_SLP CPU 256 KB Flash Memory MOSI JTAG/ZDI Debug Interface JTAG / ZDI Signals (5) WP CTS0/1 Interrupt Vector [8:0] DSR0/1 DCD0/1 8 KB SRAM UART Universal Asynchronous Receiver/ Transmitter (2) DTR0/1 RI0/1 RTS0/1 Interrupt Controller WAIT Chip Select & Wait State Generator CS0 CS1 CS2 CS3 DATA[7:0] RxD0/1 TxD0/1 ADDR[23:0] WDT Watchdog Timer POR/VBO Internal RC Osc. RESET PWM0/1/2/3 PWM0/1/2/3 Programmable Reload Timer/Counter (4) IC0/1/2/3 EC0/1 TOUT0/1 OC0/1/2/3 PLL_VDD LOOP_FLT XIN Crystal Oscillator, PLL, and System Clock Generator XOUT PHI PD[7:0] PC[7:0] PB[7:0] GPIO 8-bit General Purpose I/O Port (4) PA[7:0] IR_TxD IR_RxD IrDA Encoder/ Decoder Figure 1. eZ80F91 Block Diagram PB013505-0607 eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 7 Pin Diagrams VSS VDD TX_ER TX_CLK 130 TX_EN TXD0 TXD1 TXD2 TXD3 COL CRS VSS VDD PA7/PWM3 120 PA6/PWM2/EC1 PA5/PWM1/TOUT1 PA4/PWM0/TOUT0 PA3/PWM3/OC3 PA2/PWM2/OC2 PA1/PWM1/OC1 PA0/PWM0/OC0 VSS VDD PHI 110 SCL SDA 1 10 144-Pin LQFP 20 70 60 50 36 40 30 108 VSS PB7/MOSI PB6/MISO PB5/IC3 PB4/IC2 PB3/SCK PB2/SS PB1/IC1 100 PB0/IC0/EC0 VSS VDD PC7/RI1 PC6/DCD1 PC5/DSR1 PC4/DTR1 PC3/CTS1 PC2/RTS1 PC1/RxD1 90 PC0/TxD1 VSS VDD PLL_VDD XIN XOUT PLL_VSS LOOP_FILT VSS VDD 80 PD7/RI0 PD6/DCD0 PD5/DSR0 PD4/DTR0 PD3/CTS0 PD2/RTS0 PD1/RxD0/IR_RXD 73 PD0/TxD0/IR_TXD VDD VSS D0 D1 D2 D3 D4 D5 D6 D7 VDD VSS IORQ MREQ RD WR INSTRD WAIT RESET NMI BUSREQ BUSACK VDD VSS RTC_XIN RTC_XOUT RTC_VDD VSS HALT_SLP TMS TCK TRIGOUT TDI TDO TRST VSS A0 A1 A2 A3 A4 VDD VSS A5 A6 A7 A8 A9 A10 VDD VSS A11 A12 A13 A14 A15 A16 VDD VSS A17 A18 A19 A20 A21 A22 A23 VDD VSS CS0 CS1 CS2 CS3 144 WP MDIO MDC RXD3 140 RXD2 RXD1 RXD0 RX_DV RX_CLK RX_ER Figure 2 illustrates the 144-pin LQFP pin configuration of eZ80F91 MCU. Figure 2. eZ80F91 MCU 144-Pin LQFP Pin Configuration PB013505-0607 eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 8 Table 1 lists the 144-pin BGA pin configuration of eZ80F91 MCU. Table 1. eZ80F91 144-Pin BGA Pin Configuration 12 11 10 9 8 7 6 5 A SDA SCL PA0 PA4 PA7 COL TxD0 VDD B VSS PHI PA1 PA3 VDD TxD3 Tx_EN C PB6 PB7 VDD PA5 VSS TxD2 D PB1 PB3 PB5 VSS CRS E PC7 VDD PB0 PB4 F PC3 PC4 PC5 G VSS PC0 H XOUT 4 3 2 1 Rx_DV MDC WPn A0 VSS RxD1 MDIO A2 A1 Tx_CLK Rx_ CLK RxD3 A3 VSS VDD TxD1 Rx_ER RxD2 A4 A8 A6 A7 PA2 Tx_ER RxD0 A5 A11 VSS VDD A10 VSS PB2 PA6 A9 A17 A15 A14 A13 A12 PC1 PC2 PC6 PLL_ VSS VSS A23 A20 VSS VDD A16 XIN PLL_ VDD VDD PD7 TMS VSS D5 VSS A21 A19 A18 VDD A22 J VSS VDD LOOP FILT_ OUT PD4 TRIGOUT RTC_ VDD NMIn WRn D2 CS0n K PD5 PD6 PD3 TDI VSS VDD RESETn RDn VDD D1 L PD1 PD2 TRSTn TCK RTC_ XOUT BUSACKn WAITn MREQn D6 D4 D0 CS3n M PD0 VSS HALT_ SLPn RTC_ XIN BUSREQn INSTRDn IORQn D7 D3 VSS VDD PB013505-0607 TDO CS2n CS1n eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 9 Figure 3 illustrates the bottom view of 144-pin eZ80F91 BGA Device. A1 ball pad corner 12 11 10 9 8 7 6 5 4 3 2 1 A B C D E F G H J K L M Figure 3. Bottom View of 144-Pin eZ80F91 BGA Device PB013505-0607 eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 10 Ordering Information You can order the eZ80F91 MCU from ZiLOG, using the part numbers in the table below. For more information regarding ordering, please consult your local ZiLOG sales office. The ZiLOG website www.zilog.com lists all regional offices, as well as additional eZ80Acclaim!(R) product information. Part Number Description Package eZ80F91AZA50SG eZ80F91 device, 50 MHz, Standard Temperature 144-LQFP eZ80F91AZA50EG eZ80F91 device, 50 MHz, Extended Temperature 144-LQFP eZ80F91NAA50SG eZ80F91 device, 50 MHz, Standard Temperature 144-BGA eZ80F91NAA50EG eZ80F91 device, 50 MHz, Extended Temperature 144-BGA eZ80F91AZ050SG* eZ80F91 device, 50 MHz, Standard Temperature 144-LQFP eZ80F91AZ050EG* eZ80F91 device, 50 MHz, Extended Temperature 144-LQFP eZ80F91NA050SG* eZ80F91 device, 50 MHz, Standard Temperature 144-BGA eZ80F91NA050EG* eZ80F91 device, 50 MHz, Extended Temperature 144-BGA eZ80F910300ZCOG eZ80F91 Development Kit eZ80F910200KITG eZ80F91 Modular Development Kit eZ80F916050MODG Ethernet Module eZ80F916005MODG Mini-Ethernet Module ZUSBSC00100ZACG USB Smart Cable Accessory Kit ZENETSC0100ZACG Ethernet Smart Cable Accessory Kit * Denotes parts not recommended for new designs. PB013505-0607 eZ80Acclaim!(R) Flash Microcontrollers eZ80F91 MCU Product Brief 11 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 (c)2007 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. Z i L O G A L S O 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!, Z8 Encore! XP, Z8 Encore! MC, Crimzon, eZ80, eZ80Acclaim! and ZNEO are trademarks or registered trademarks of ZiLOG, Inc. All other product or service names are the property of their respective owners. PB013505-0607 eZ80Acclaim!(R) Flash Microcontrollers