H8/300 and H8/300L
Total Page:16
File Type:pdf, Size:1020Kb
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 Microcontrollers 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 Hitachi’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 microcontroller 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 FLASH memory power and low cost applications high performance is required.The second versions being available. See figure 2. H8S • 40ns cycle time • 16/32-bit CPU • 16MByte address space • TPU, TPC, PPG, ADC, DAC H8/300H DMAC, DTC, SCI, WDT, CAN Sub-clock (32kHz) • 100ns cycle time • 16/32-bit CPU • 16MByte address space • ITU, TPC, DMAC, ADC, DAC SCI, WDT H8/300 • 125ns cycle time • 8/16-bit CPU H8S/21xx • 64K address space • FRT, ADC, DAC, SCI, WDT • 50ns cycle time • 16/32-bit CPU • 16MByte address space • FRT, TMR, ADC, DAC, PWM H8/300L IrDA, DTC, SCI, WDT • 250ns cycle time • 8/16-bit CPU • Sub-Clock (32kHz) • LCD Drive, Timers, ADC FRT 16-bit Timer SCI, PWM ITU 16-bit Timer x 5 TPU 16-bit Timer x 6 TMR 8-bit Timer x 3 TPC Timer Pattern Controller PPG Programmable Pulse Generator DMAC Direct Memory Access Controller DTC Data Transfer Controler ADC A/D Converter DAC D/A Converter SCI Serial I/O WDT Watchdog Timer PWM 14-bit Pulse Width Modulation IrDA Infrared Interface H8 OVERALL ROADMAP Figure 1 2 H8/300 Roadmap H8/3437 series (F) IKAP up to 60k/2k, 100-pin 2 SCI, I2C, 10-bit A/D A/D, SCI 20MHz at 5V H8/330 series H8/3337Y series (F) H8/3397 series IKAP 16k/512bytes up to 60k/2k up to 60k/2k 80-pin SCI, 8-bit A/D 2 SCI, I2C 10-bit A/D 2SCI, 10-bit A/D A/D, SCI 10MHz at 5V 20MHz at 5V 20MHz at 5V Integration H8/329 series H8/3297 series General up to 32k/1k up to 60k/2k Purpose SCI, 8-bit A/D SCI, 10-bit A/D 64-pin, A/D 10MHz at 5V 16MHz at 5V H8/325 series H8/3217 series General up to 60k/2k up to 60k/2k Purpose 2 SCI 2SCI,2I2C 64-pin, SCI Up to 10MHz at 5V Up to 16MHz at 5V Figure 2 (F) FLASH version available Note: most 5V derivatives are also available in 3V/5MHz or 3V/10MHz H8/300L Roadmap H8/3814, H8/3834 H8/3887, H8/3867 H8/3847, H8/3827 H8/3857 (F)* H8/38xx up to 60k/2k up to 60k/2k up to 60k/2k up to 60k/2k LCD Display A/D, SCI, 100-pin A/D, SCI, 100-pin A/D, SCI, 80-pin Graphics LCD Drive 10MHz at 3V 6MHz at 5V 16MHz at 5V 10MHz at 5V H8/387x, H8/3877 series H8/3627 series H8/3637 series 362x, 363x up to 60k/2k up to 60k/2k up to 60k/2k A/D, LCD, 100-pin A/D, 64-pin A/D, 80-pin DTMF Generation 10MHz at 5V 10MHz at 5V 10MHz at 5V Integration H8/3714 series H8/3724 series H8/37xx up to 32k/512 bytes up to 48k/1k VFD A/D, SCI, 64-pin A/D, SCI 80-pin Drive 8.4MHz at 5V 8.4MHz at 5V H8/3614 series H8/3644 series (F) H8/3657 series H8/364x, up to 32k/1k up to 32k/1K up to 60k/2k H8/365x A/D, SCI, 64-pin A/D, SCI 64-pin A/D, SCI, 80-pin General 8.4MHz at 5V 16MHz at 5V 10MHz at 5V Purpose Figure 3 * Under development (F) FLASH version available Note: 5V H8/300L devices will normally operate down to 2.7v, at lower frequency 3 With the H8/300L, Hitachi has taken and low power consumption.Two CPU the CPU core from the H8/300 family cores are available in the H8S family, the and integrated it with large on-chip standard core, the H8/2000 and the memory blocks and peripherals more H8/2600 core, which adds a hardware typically seen on 4-bit micro-controllers, multiplier and decreases the execution such as LCD drivers and DTMF time of certain instructions.The generators. These devices have been H8/2600 core is particularly useful for implemented on a low power, low cost applications where DSP functionality is CMOS process, producing highly required, such as high end motor control. integrated devices for cost sensitive and The H8S instruction set is again a battery powered applications, such as superset of the standard H8/300 meters, cameras and feature phones.The instruction set, allowing existing H8 users H8/300L family is shown in figure 3. to easily migrate upwards to higher The H8/300H are 16-bit performance levels. microcontrollers that offer users a The H8S has a wide variety of powerful performance and memory upgrade from on-board peripherals and currently the H8/300 family.The H8/300H CPU supports up to 256 kbytes of on-board is a superset of the H8/300, upward code program memory and 16 kbytes of compatibility allowing users to easily RAM. migrate between devices.The H8/300H These features make the H8S ideal for offers a high speed operation 16-bit many of todays most complex CPU core ( 100 ns minimum instruction applications and provide an upgrade path cycle time ) along with powerful on- for existing Hitachi microcontroller users board peripherals and a high level of while maintaining the investment in memory integration.The 16-bit CPU existing software. core allows the users to access 16 Mbytes The H8/300H and H8S also offer the of external memory, current on-board ability to generate customer specific memory options are up to microcontrollers using Hitachi’s uCBIC 256 kbytes of mask ROM or OTP or (Cell Based IC) technology.This gives 256 kbytes of FLASH memory, and up the ability to easily produce “pick and to 8 kbytes of SRAM.The H8/300H is mix” microcontrollers with a choice of ideal for many telecoms and motor memory type and size, and a choice of control applications peripherals including timers serial ports etc, and customer specified logic.