Migrating from the Hitachi H D64180 to ZiLOG s Z80180



Similar documents
Microprocessor & Assembly Language

Z8018x Family MPU User Manual

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

MICROPROCESSOR AND MICROCOMPUTER BASICS

2.8.3 / (Z80 Serial I/O)

Hexadecimal Object File Format Specification

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

Z80 Microprocessors Z80 CPU. User Manual UM Copyright 2014 Zilog, Inc. All rights reserved.

Z80 Family. CPU User Manual

Controlling TAS5026 Volume After Error Recovery

ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information

2013 Intel Corporation

TIMING DIAGRAM O 8085

AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

RETRIEVING DATA FROM THE DDC112

Production Flash Programming Best Practices for Kinetis K- and L-series MCUs

Intel architecture. Platform Basics. White Paper Todd Langley Systems Engineer/ Architect Intel Corporation. September 2010

AN3332 Application note

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

8-bit binary counter with output register; 3-state

Intel Desktop Board DP35DP. MLP Report. Motherboard Logo Program (MLP) 6/17/2008

High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate

SD Specifications Part 1 NFC (Near Field Communication) Interface Simplified Addendum

AMD-8151 HyperTransport AGP3.0 Graphics Tunnel Revision Guide

SD Specifications Part A2 SD Host Controller Simplified Specification

INTEGRATED CIRCUITS. NE558 Quad timer. Product data Supersedes data of 2001 Aug Feb 14

AN LPC24XX external memory bus example. Document information

AN4646 Application note

SSM3K335R SSM3K335R. 1. Applications. 2. Features. 3. Packaging and Pin Configuration Rev.3.0. Silicon N-Channel MOS (U-MOS -H)

etpu Host Interface by:

Programming Interface. for. Bus Master IDE Controller. Revision 1.0

AN974 APPLICATION NOTE

M CORE 14-PIN ENHANCED BACKGROUND DEBUG INTERFACE (14EBDI) USER S MANUAL

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

Bandwidth Calculations for SA-1100 Processor LCD Displays

Opendiem Training Exercise 1 Opendiem-TRN-0001

. MEDIUM SPEED OPERATION - 8MHz . MULTI-PACKAGE PARALLEL CLOCKING FOR HCC4029B HCF4029B PRESETTABLE UP/DOWN COUNTER BINARY OR BCD DECADE

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description

TCP/IP Network Communication in Physical Access Control

ZL30136 GbE and Telecom Rate Network Interface Synchronizer

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

General Porting Considerations. Memory EEPROM XRAM

AN10866 LPC1700 secondary USB bootloader

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

Manchester Encoder-Decoder for Xilinx CPLDs

AN3270 Application note

Intel Hexadecimal Object File Format Specification Revision A, 1/6/88

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

8-Channel RC RX MUX. User s Manual

Booting from NAND Flash Memory

Microprocessor Unit. Product Specification PS

Database lifecycle management

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

BLOCK OCCUPANCY DETECTOR WITH SEMAPHORE OPERATION BOD1/DAP4-BR

AN2604 Application note

Congratulations on purchasing MIDI Delaytion, the Analog Delay Control Station by Molten Voltage

Using the RS232 serial evaluation boards on a USB port

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Implementing a Data Logger with Spansion SPI Flash

Interrupts. 1.Maskable interrupt request can be ignored or delayed by the microprocessor and used in telephone

Arbitration and Switching Between Bus Masters

EMC6D103S. Fan Control Device with High Frequency PWM Support and Hardware Monitoring Features PRODUCT FEATURES ORDER NUMBERS: Data Brief

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

PART B QUESTIONS AND ANSWERS UNIT I

Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

Thermostat Application Module Kit

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Intel Embedded Virtualization Manager

21152 PCI-to-PCI Bridge

8-bit synchronous binary down counter

MF1 IC S General description. Functional specification. 1.1 Contactless Energy and Data Transfer. 1.2 Anticollision. Energy

Sierra Dual 24 Volt Brushless DC Motor Controller Product Specification

SNMP Manager User s Manual

CRYPTOLogon Agent. for Windows Domain Logon Authentication. Deployment Guide. Copyright , CRYPTOCard Corporation, All Rights Reserved.

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

Oracle Provides Cost Effective Oracle8 Scalable Technology on Microsoft* Windows NT* for Small and Medium-sized Businesses

HG2 Series Product Brief

DS12885, DS12885Q, DS12885T. Real Time Clock FEATURES PIN ASSIGNMENT

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

4-bit binary full adder with fast carry CIN + (A1 + B1) + 2(A2 + B2) + 4(A3 + B3) + 8(A4 + B4) = = S1 + 2S2 + 4S3 + 8S4 + 16COUT

HD44780U (LCD-II) (Dot Matrix Liquid Crystal Display Controller/Driver)

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

JCB Terminal Requirements

INTEGRATED CIRCUITS. 74F74 Dual D-type flip-flop. Product specification Supercedes data of 1990 Oct 23 IC15 Data Handbook.

Bootloader with AES Encryption

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

Analog-to-Digital Converters

Using Altera MAX Series as Microcontroller I/O Expanders

AN3354 Application note

Transcription:

Application Note Migrating from the Hitachi H D64180 to ZiLOG s Z80180 AN002600-ZMP0899 1999 ZiLOG, Inc. 1

TABLE OF CONTENTS INTRODUCTION...3 I. GeneralOverview...3 SOFTWARE CH ANGES...3 I. How to Configure the Z80180 to Function like the HD64180...3 II. Bit Assignments and Register Changes...3 M1E (/M1 Enable):... 3 /M1TE (M1 Temporary Enable):... 4 /IOC:... 4 SUMMARY...5 I. Conclusion...5 II. Comparison Ch art...6 NOTES...7 Information Integrity...7 Document Disclaimer...7 Acknowledgements Project Lead Engineer: Zhi Wong Application and Support Engineers: Craig MacKenna System and Code Development: N/A AN002600-ZMP0899 1999 ZiLOG, Inc. 2

INTRODUCTION I. GeneralOverview To ensure a more reliable source of Z80-based products, and avoid product obsolescence, ZiLOG recommends that customers migrate from Hitachi s HD64180 devices to ZiLOG s Z80180 or Z8S180 embedded microprocessors. This Application Note documents the changes needed to seamlessly migrate from one chipset to the other. ZiLOG s Z80180 is a pin-to-pin compatible part with Hitachi s HD64180. The device resets to a 64180-compatible state, so that no changes are required to software developed on the 64180. ZiLOG also offers the Z8S180, which is the enhanced static version of Z80180. Refer to the application note Migrating from the Z80180 to Z8S180 on ZiLOG s website for more information. SOFTWARE CH ANGES I. How to Configure the Z80180 to Function like the HD64180 Configuring the Z80180 to operate like the HD64180 is accomplished by writing the Operation Mode Control Register (OMCR), which controls the following: Operation of the /M1 signal Timing of the /IORQ and /RD signals RETI operation To operate like the HD64180, write the Operation Mode Control Register (OMCR) with either a 111XXXXX binary or FF hexadecimal value (the default value at reset). To satisfy the Z80 peripheral (PIO, SIO, or CTC) requirements, however, the user must modify this programming of the Operation Mode Control Register (OMCR) to reflect either a 000XXXXX binary or 0F hexadecimal. II. Bit Assignments and Register Changes M1E (/M1 Enable): This bit controls the M1 output and is set to a 1 during RESET. AN002600-ZMP0899 1999 ZiLOG, Inc. 3

When M1E=1, the /M1 output is asserted LOW during op code fetch cycles, /INT0 acknowledge cycles, and the first machine cycle of the /NMI acknowledge. This action also causes the /M1 signal to be active during both fetches of the RETI instruction sequence, causing possible corruption of the external interrupt daisy chain. Therefore, this bit should be set to 0 for the Z80180. When M1E=0, the /M1 output is normally inactive and asserted LOW only during the re-fetch of the RETI instruction sequence and during the /INT0 acknowledge cycle. /M1TE (M1 Temporary Enable): Controlling the temporary assertion of the /M1 signal, this bit is always read back and set to 1 during a RESET. When M1E is set to 0 to accommodate specific external Z80 peripherals, that same device may require a pulse on M1 after programming certain registers in order to complete the programming function. For example, when a control word is written to the Z80 PIO, SIO, or CTC to enable interrupts, no enable actually takes place until the PIO, SIO, or CTC recognizes an active M1 signal. When M1TE=1, there is no change in the operation of the /M1 signal, and M1E controls its function. When M1TE=0, the M1 output will be asserted during the next op code fetch cycle regardless of the state programmed into the M1E bit. Additional reprogramming to 1 to disable the function is not needed because the action is only a one-time event (See Figure 5). /IOC: Controlling the timing of the /IORQ and /RD signals, this bit is set to 1 by a RESET. When /IOC=1, the /IORQ and /RD signals function the same as the HD64180. AN002600-ZMP0899 1999 ZiLOG, Inc. 4

SUMMARY I. Conclusion By following these simple instructions, users of Hitachi s HD64180 can now enjoy the features and benefits of ZiLOG s more robust Z80180 without encountering compatibility problems with their end-user applications. AN002600-ZMP0899 1999 ZiLOG, Inc. 5

II. Comparison Ch art Hitachi Part Frequency (MHz) Package ZiLOG Part HD64A180R0P 4 HD64B180R0P 6 HD64180ZP6 6 HD64180R1P6 6 HD64180ZP8 8 HD64180R1P8 8 HD64180ZP10 10 HD64A180R0F 4 HD64B180R0P 6 HD64180ZFS6X 6 HD64180RF6X 6 HD64180RFS6X 6 HD64180ZFS8X 8 HD64180RF8X 8 HD64180RFS8X 8 HD64180ZFS10X 10 HD64A180R0CP 4 HD64B180R0CP 6 HD64180ZCP6X 6 HD64180RCP6X 6 HD64180ZCP8X 8 HD64180RCP8X 8 HD64180ZCP10X 10 DIP-64 QFP-80 PLCC-68 Z8018006PSC Z8018008PSC Z8018010PSC Z8018006FSC Z8018008FSC Z8018010FSC Z8018006VSC Z8018008VSC Z8018010VSC AN002600-ZMP0899 1999 ZiLOG, Inc. 6

NOTES Information Integrity The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. Any applicable source code illustrated in the document was either written by an authorized ZiLOG employee or licensed consultant. Permission to use these codes in any form besides the intended application must be approved through a license agreement between both parties. ZiLOG will not be responsible for any code(s) used beyond the intended application. Contact your local ZiLOG Sales Office to obtain necessary license agreements. Document Disclaimer 1999 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. 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. AN002600-ZMP0899 1999 ZiLOG, Inc. 7