October 1999

H8/300 and H8/300L

8-Bit

Microcontrollers

21-017E

H8/300 and INDEX H8/300L Introduction 2 CPU Overview 5

16-Bit H8 Instruction set 7 Interrupts 7 Power down modes 8 H8 Peripherals 10 Timers 10 Serial Communication Interface (SCI) 13 Analog Interface 15 Interface Peripherals 16 H8/300 and H8/300L Selector Guide 19

Display Drive 17

DTMF Generator 17

H8/300 Packaging 18

Package Diagrams 23

Example Block Diagrams 26

Ordering Information 31

H8 Supprt Tools 32 ANSI ‘C’ Compiler 32 PCE Low Cost In-Circuit Emulator 33 CIDE 34 E6000 Emulators 34

HDI 35 System Kits 36 Evaluation Boards 37 FLASH Programming Interface 37 Notes 1. This document may, wholly or partially, be subject to change without notice. 2. All rights are reserved: No one is permitted to reproduce or duplicate, in any form, the whole or part of this Third Party Tools 38 document without ’s permission. 3. Hitachi will not be held responsible for any damage to the user that may result from accidents or any other reasons during operation of the user’s unit according to this document. 4. Circuitry and other examples described herein are meant merely to indicate the characteristics and performance of Hitachi’s semiconductor products. Hitachi assumes no responsibility for any intellectual property claims or other problems that may result from applications based on the examples described herein. 5. No license is granted by implication or otherwise under any patents or other rights of any third party or Hitachi, Ltd. 6. MEDICAL APPLICATIONS: Hitachi’s products are not authorised for use in MEDICAL APPLICATIONS without the written consent of the appropriate officer of Hitachi’s sales company. Such use includes, but is not limited to, use in life support systems. Buyers of Hitachi’s products are requested to notify the relevant Hitachi sales offices when planning to use the products in MEDICAL APPLICATIONS.

1 Welcome To

Hitachi’s H8 family has • A wide range of low cost, easy to use H8/300L, is aimed at telecom and grown to fulfil a wide range of needs in development tools consumer applications where low power different application areas, from low cost • Wide range of low cost Flash devices and low cost are the key design criteria. applications such as digital cameras and The H8/300 is a powerful 8-bit CPU electricity meters, to high performance Due to the pressures imposed by EMC core optimised for ‘C’ with a general motor control and mobile telecoms and board space constraints, on-chip purpose register architecture.The applications. The H8 family actually memory becomes ever more important, H8/300’s are amongst the fastest 8-bit comprises of a number of different series and the H8 family has a wide range of micro-controllers in the world with a of devices, all code compatable, offering memory technologies and sizes, including 125nS cycle time. Even though it is an 8- different performance levels. See figure 1. Flash, OTP and mask ROM devices, bit device, the internal Data Bus is 16-bit There are many advantages to choosing a with ROM sizes from 8 kbytes to and so many 16-bit operations can be Hitachi Microcontroller, these include 256 kbytes, and RAM from 256 to performed. For example a 16-bit addition • One common architecture covering a 16 kbytes. Hitachi has two 8-bit micro- can be executed in one instruction cycle. wide variety of applications controller families aimed at different The H8/300 family also offers a high • Maintaining your investment in code applications areas. First the H8/300, is level of peripheral integration along with for the future aimed at applications in the industrial, large blocks of on-chip memory, both • Leveraging Hitachi’s expertise in low computer and telecoms arenas where ROM and OTP and