H 8 / 3 0 0 A N D H 8 / 3 0 0 L: 8 - B I T Microcontrollers
H 8 / 3 0 0 A N D H 8 / 3 0 0 L: 8 - B I T Microcontrollers
M i c r o c o n t r o l l e r s
2 1 - 0 1 7 E
H8/300 and INDEX
Introduction 2
H8/300L
CPU Overview 5
1 6 - B i t H8 Instruction set 7
Interrupts 7
Power down modes 8
M i c r o c o n t r o l l e r s
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
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
W e l c o m e T o
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
2
H 8 / 3 0 0 R o a d m a p
Figure 2 (F) FLASH version available Note: most 5V derivatives are also available in 3V/5MHz or 3V/10MHz
H 8 / 3 0 0 L R o a d m a p
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, 80-pin DTMF
Integration
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. More
The H8S is the latest addition to the H8 details of this can be found in Hitachi’s
range, offering a combination of the uCBIC customised microcontroller
highest performance 16-bit CPU (with a brochure.
40 ns minimum instruction cycle time)
4
H 8 / 3 0 0 C P U O v e r v i e w
The H8/300 combines a fast, powerful H8 REGISTER SET
8-bit CPU core with a comprehensive
15 0 15 0
range of on-chip peripherals and R0H R0 R0L PC
memory options. The H8/300 has been R1H R1 R1L Program Counter
5
by Flash EPROM. These devices offer Each of these blocks can be erased or could be used for storing code. This
the added advantage of in-circuit programmed individually, giving the user allows the calibration information to be
programmability, which offers easy a great deal of flexibility in choosing the updated without disturbing the program.
upgradability for products in the field. system architecture. The memory map of These flash devices allow many benefits
Hitachi’s H8/300 and H8/300L F-ZTAT the H8/3334YF is shown in figure 6. to the user, in development, the ability to
devices support a block based memory The four 128 byte blocks can be used for reprogram a device in situ increases
map, where the flash EPROM, is divided storing data tables or calibration reliability and also speeds development
into a number of different sized blocks. information, while the other blocks time. For production, the ability to
program and reprogram in-circuit allows
H8/300 OPERATING MODES
the manufacture of products without
Mode 1 (On-chip ROM Disabled) Mode 2 (On-chip ROM Enabled) Mode 3 (Single Chip Mode) “personality”, where the latest software is
Vector Table Vector Table Vector Table
downloaded at the end of the line, and
‘dead stock’ is eliminated, as boards can
be reprogrammed at any time. Product
On-chip
ROM
support also becomes easier, as upgrades
External Address Space External Address Space of software becomes possible in the field.
To support these different programming
requirements, Hitachi F-ZTAT devices
External Address Space can be programmed in three ways:-
H'5FFF
Device is programmed using a
H'6000 H'0BFF
H'0C00 programming socket and a standard
LB3
8 Kbytes SB7 programmer with the appropriate
1 Kbytes
programming algorithm support e.g.
H'7FFF H'0FFF
Data I/O, Hi-Lo, Stag, MPQ, Elan,
Dataman, SMS, Minato.
Figure 6
6
H 8 I n s t r u c t i o n S e t I n t e r r u p t s
The H8/300 family has a streamlined memory. This is particularly useful as The H8/300 has a powerful interrupt
instruction set, well suited to the needs both the I/O registers and the RAM are mechanism for supporting a large number
of a HLL, and embedded applications in located in this page. of external and internal asynchronous
general. The H8/300 also supports a memory events, for instance the H8/3337Y has 9
The instruction set comprises of 57 basic indirect addressing mode where a short 8- external and 26 internal interrupt sources.
instructions (Table 2), which are either 2 bit address is used to point to a vector in The external sources can include a Non
or 4 bytes long. All of the most the first page of ROM. This again Maskable Interrupt (NMI) and up to 8
frequently used instructions, such as a 16 produces smaller code. To support array external interrupt pins. The internal
bit register to register addition, execute and stack data types, the H8/300 has sources include all the on-board peripheral
in just 2 states, even complex instructions indirect addressing with either a post- blocks. All interrupts can be globally or
such as an 8-bit multiply takes only 14 increment or pre-decrement. These individually disabled or enabled (except
states. modes support both byte and word data. NMI).
The H8/300 has a rich set of 14 separate The powerful instruction set of the The interrupt response time of the H8/300
bit processing instructions. The H8/300 H8/300 combined with the wide variety is very fast, between 17 and 29 states from
CPU uses the carry flag as a bit of powerful addressing modes allows the the interrupt being detected (assuming the
accumulator allowing the programmer to compiler to produce fast and efficient interrupt is enabled and an interrupt of a
manipulate both bit data and I/O using a code. higher priority is not pending).
full set of Boolean operations. It is also
Ta b l e 2
possible to access bit variables indirectly
using a value held in a register as a bit H8 INSTRUCTION SET
pointer. Function Instruction
The H8/300 provides eight addressing Data transfer MOV, PUSH, POP, MOVTPE, MOVFPE, LDM, STM
modes, which are shown in table 3. Direct Arithmetic ADD, SUB, ADDX, SUBX, INC, DEC, ADDS, SUBS,
addressing is supported using either an 8 operations DAA, DAS, MULXU, DIVXU, CMP, NEG
or 16 bit absolute address. The 16-bit Logic operations AND, OR, XOR, NOT
address can access any location in the 64K Shift operations SHAL, SHAR, SHLL, SHLR, ROTL, ROTR, ROTXL, ROTXR
address space, while the 8-bit addressing Bit manipulation BSET, BCLR, BNOT, BTST, BAND, BIAND, BOR, BIOR
mode is used to access the top 256 byte BXOR, BIXOR, BLD, BILD, BST, BIST
page in memory. This instruction is only Branch Bcc, JMP, BSR, JSR, RTS
two bytes long, and so produces both System control RTE, SLEEP, LDC, STC, ANDC, ORC, XORC, NOP
smaller code and a faster access to
Ta b l e 3
H8 ADDRESSING MODES
Register direct Rn
Register indirect @Rn
Register indirect @(d: 16, Rn)
with 16-bit displacement
Register indirect with post-increment/ @Rn +,
Register indirect with pre-decrement @Rn
Absolute address @aa:8, @ aa:16
Immediate # xx:8, #xx:16, #xx:3
PC-relative @(d:8, PC)
Memory indirect @@aa:8
7
P o w e r D o w n M o d e s
The H8/300 family has a individual The H8/300 family are designed to Together these modes allow the power
interrupt vector assigned to each seperate minimise power consumption, even consumption of the H8/300L devices to
event generated by the on-chip when operating at high speeds. At be tailored dynamically, by trading
peripherals. This means that instead of certain times however, performance is performance against power consumed.
having to check the interrupting not so critical, and low power Oscillator start up time can also be a
peripheral’s status register to see what the consumption is required. To meet these large factor in the power used in an
exact cause of the interrupt was, you can demands, the H8/300 family has a range application. If an application remains in a
immediately start executing the code for of low power modes, which allow the low power mode for most of the time.
that peripheral event. For example, the device to operate in battery powered then the time taken for the main
FRT on the H8/330 has seven separate applications. The H8/300 family has oscillator to start, to take a measurement,
interrupt vectors, one for each of the 4 three low power modes, each offering or make a calculation can be significant.
input captures, one for each of the two different advantages for various Some of the latest generation of
output compares and an interrupt for the application requirements.These are H8/300L’s have an oscillator start up
timer overflow. This speeds up the shown in table 4. time 500 times faster than normal,
execution time of any interrupt service The H8/300L family is aimed at cost allowing massive power savings in some
routine, and makes interrupt service and power sensitive applications, and applications, with rapid responses to
routines easier to write and maintain. have a number of additional low power external events. A comparison between
The H8/300L has a simplified interrupt modes. Many of these are achieved using two of the H8/300L’s is shown in table 6.
controller, where each peripheral an additional 32 kHz sub-system These features make the H8/300L family
typically has it’s own interrupt vector, oscillator, allowing the microcontroller to ideal for many power critical
and the exact source must be read from be clocked from either source.These are applications, such as line powered feature
the peripheral status register. shown in table 5. phone’s and many types of meter.
Reset
Active (Medium)
Watch
Sub-active Sub-sleep
Figure 7
8
Ta b l e 4
Ta b l e 5
Ta b l e 6
9
H 8 P e r i p h e r a l s
H8/300 16-BIT FREE RUNNING TIMER
Comparator A
ICR A (16-bit)
FT0A
FT0B Control Logic FRC (16-bit) Internal
Clear Control Data Bus)
FTIA
FTIB
FTIC Comparator B
FTID
ORCB (16-bit)
TCSR (8-bit) ICRA (16-bit)
Figure 8
The peripherals on the H8 have been T imers these timers are shown in figures 8 & 9. A
developed to suit many applications, with number of the H8/300’s also have a
many types of serial ports and analogue The H8/300 family has a range of 8 and watchdog timer, which can either reset
and digital interfaces as well as on-board 16-bit general purpose counter/ timers, the chip or provide a Non-maskable
timer counters. In addition the H8/300L all of which have a number of input interrupt, ideal when system integrity is a
family has a range of additional on-board capture registers, ideal for acquiring the concern, if the watchdog feature is not
peripherals aimed at specific applications, exact moment an external signal occurs, used, the timer can be used as a simple
these include, LCD and Vacuum with reference to the internal timer, and interval timer. Finally a number of
Fluorescent display drivers, and telephony output compare registers, ideal for devices also have two dedicated 8-bit
functions. generating a variety of output PWM timers, a diagram of this is shown
The peripherals on all the H8 devices have waveforms.These timers can be clocked in figure 10.
been developed with code compatibility from a range of internal clock sources, or The full range of timers available on the
in mind, allowing easy transfer of software used as an event counter, clocked via an H8/300 family are shown in table 7.
from one device to another. external pin. Functional diagrams of
10
H8/300 8-BIT TIMER
TCNT: Timer Counter
Ø/2 Ø/64 Ø/1024 TCOR: Timer Constant Register
TCSR: Timer Control/Status Register
TCR: Timer Control Register
Comparator A
ICR A (16-bit)
Comparator B
TMRI
TCORB (8-bit)
TCSR (8-bit)
TCR (8-bit)
Figure 9
DTR (8-bit)
TCR (8-bit)
Ø/2
Clock Ø/8
Ø/32
Ø/128
Clock Select Ø/256
TCR: Timer Control Register
Ø/1024
DTR: Duty Register Ø/2048
TCNT: Timer Counter Ø/4096
Figure 10
11
The H8/3217 series have some extra detection of various video control
features, making them particularly signals, but these features can also be used
attractive in consumer and video in a variety of other applications. Each
applications. Two of the 8-bit timers on device also has an additional dedicated
a number of these devices can be PWM timer, with 16 outputs.
concatenated, allowing the automatic
Ta b l e 7
H8/300 T imers
Timer Description Clock source Input Capture Output Compare Devices
16-bit FRT 16-bit Free Running External or choice 1 2 ( 2 outputs ) H8/325 series
Timer with optional of 3 internal
clear on compare match
16-bit FRT 16-bit Free Running External or choice 4 2 ( 2 outputs ) All devices
Timer with optional of 3 internal (except H8/325 series)
clear on compare match
8-bit Timer 8-bit Timer with External or choice 2 (one dedicated H8/325 series
optional clear on of 3 internal output allowing H8/329 series
compare match generation of H8/330
waveforms with
arbitary duty cycle)
8-bit Timer 8-bit Timer with External or choice 2 (one dedicated All devices
optional clear on of 6 internal output allowing except H8/325, H8/329
compare match generation of H8/330
waveforms with
arbitary duty cycle)
PWM Timer 2 Channel Choice of 8 2 outputs H8/330, H8/338 series,
PWM Timer clock sources H8/3337Y series
H8/3397 series
H8/3437 series
PWM Timer 16 channel Choice of 2 16 outputs H8/3217 series
4 + 4-bit pWM timer clock sources (except H8/3202)
Watchdog timer Either watchdog timer Choice of 8 internal H8/3217 series
(reset or NMI) or clock sources H8/3297 series,
interval timer operation H8/3337Y series
H8/3397 series
H8/3437 series
The H8/300L has a variety of 8 and 16- interrupt once per second.This is in fact
bit timers dedicated to a variety of the basis of watch mode, where only
functions. Many of these timers can Timer A operates, allowing a very low
select from a variety of internal and operating current, but still keeping time.
external clock sources, including both With the 1 second interrupt, a software
the main oscillator, and the 32 kHz sub- real time clock becomes very simple to
oscillator.Timer A is especially useful as it create.Timer A is shown in figure 11.
can easily be used to provide a real time The full list of timers, and the devices
clock feature. If it is used with the 32 these appear on are shown in table 8.
kHz sub-clock, it can produce an
12
H8/300L TIMER A
32 KHz
Sub-system Prescaler W (PSW) Timer A Mode
1/4
Oscillator Øw Register (TMA)
Internal
TMOW Øw/4 - Øw/32 Øw/128 Data Bus
Timer Counter A
(TCA)
Ø/4 - Ø/32 Ø/8 - Ø/8192
÷8*
÷64*
÷128*
÷256*
System Prescaler S (PSS)
Clock Ø
Ta b l e 8
H8/300L T imers
Timer Type Description Clock source Timer Input Timer Output Devices
Timer A 8-bit timer with clock 8 Internal 1 H8/3xxx
time base functions
Timer B 8-bit up counter with External or 1 H8/36xx H8/37xx
auto-reload 7 Internal H8/383x
Timer C 8-bit up/down counter External or 2 (event, up H8/361x, H8/37xx
with auto-reload 7 internal /down control) H8/383x, H8/388x
H8/386x, H8/385x
H8/384x, H8/382x
Timer D 8-bit even counter External 1 H8/361x H8/37xx
Timer E 8-bit up counter with 8 Internal 1 H8/361x H8/37xx
auto-reload and square
wave output
Timer F 16-bit timer with output External or 1 2 (output capture) H8/38xx
compare, configurable as 4 internal
2 independent 8-bit timers
Timer G 8-bit timer with input 4 Internal 1 (input capture) H8/38xx
capture on rising and/or
falling edge
Timer V 8-bit up timer with External or 3 (Clock input, 1 H8/364x
compare match output 6 internal reset input and trigger
Timer X 16-bit timer with 2 output External or 4 2 H8/364x
compare’s and 4 input captures 3 internal
Timer Y 16-bit timer with interval / External or 1 H8/363x
auto-reload functions 7 internal
Watchdog Watchdog Timer can reset 2 Internal H8/388x, H8/386x,
chip on overflow H8/384x, H8/382x
Asynchronous 16-bit or 2 x 8-bit counters None 2 H8/388x, H8/386x
Event Counter that can count asynchronously H8/384x, H8/382x
without a clock input, hence
allowing low power modes
to be used
Each H8 microcontroller has at least one with it’s own dedicated baud rate channel supports a wide range of data
channel of serial communications. In the generator, allowing a wide range of data formats, with programmable data length
H8/300 family, each channel of SCI is an rates to be chosen from one clock and multiple parity and stop bit options.
extremely capable, high performance source. Each channel is double buffered, Various members of the family also have
USART, capable of both asynchronous to make sure no data is lost at higher support for inter-processor
and synchronous communications, each data rates. In asynchronous mode, each communications.
13
In the H8/300L family, there are a range full blown USART’s. An example of
of different types of serial interface, each the H8/300L serial port is shown in
with different characteristics, these range figure 12.
from simple, clocked synchronous The full range of serial interfaces
interfaces, ideal for talking to peripheral available on the H8/300 and H8/300L
IC’s such as EEPROM’s and A/D’s, to devices are listed in table 9.
SCK3
Internal Clock
Baud Rate
Generator Baud Rate Register (BRR)
Transmit/Recieve
Control Serial Control Register 3 (SCR3)
Internal
Data Bus
Serial Status Register (SSR)
TXD
Transmit Shift Register Transmit Data Register (TDR)
RXD
Receive Shift Register Receive Data Register (RDR)
Interrupts Requests
Figure 12
Ta b l e 9
14
A number of H8’s also have the option interface allows the selection of one of 8 with up to 12 channels. Each device
2 2
of one or more I C interfaces.The I C internal clocks (in master mode), includes a analogue multiplexer and a
bus interface conforms to and provides a generated from the internal clock sample and hold circuit, so once a
2 2
subset of the Philips I C (inter-IC bus) generator. The I C bus module generates conversion has been initiated, any change
interface functions. The I2C bus start and stop conditions automatically in the external input will not affect the
interface uses only one data line (SDA) and auto-loads the acknowledge bit when result.The A/D converter has both a
and one clock line (SCL) to transfer data transmitting.The interface generates single shot, and scan mode of operation,
from a microcontroller to one or more direct bus drive for both the SCL and which allows continuous conversion on
peripheral devices. The I2C bus can be SDA pins. The I2C interface on the H8 1 to 4 channels of the A/D, using all four
used to talk to a number of off-chip supports the high speed, 400 k baud of the result registers. Each A/D also has
peripheral devices such as EEPROM’s, transfer rate. the ability to begin a conversion when it
real time clocks and A/D converters, this receives an external signal, using a trigger
can save both board and connector space. Analogue pin (ADTRG).
Figure 13 shows a block diagram of the Inter faces
I2C interface module. On the devices with the 8 bit A/D, a
2
The I C bus interface can operate in Many members of the H8 family have conversion can be as fast as 12.2uS
either master or slave mode. The either an 8 or 10-bit A/D converter, (system clock 10 MHz), on devices with
H8/300 I 2 C INTERFACE
STCR
PS
Clock Control
SCL ICCR
Noise Canceller
ICMR
Bus State
Decision
Circuit
ICSR
Arbitration
Decision ICDR Internal
Circuit Data Bus
Address
Output Data Comparator
SDA Control
Circuit
SAR
Noise Canceller
Figure 13
15
a 10-bit A/D converter, the conversion Inter face connection via a parallel handshaking
time can be as fast as 8.4µs per channel, Peripherals interface, this interface uses a busy pin,
(System clock 16 MHz). The 10-bit and input and output strobe pins to
A/D converter uses four 16-bit result As well as serial communications, the control the interface.
registers, holding the result in the lowest H8/300 family supports a range of
10 bits, while the 8-bit A/D uses four 8- different parallel interface peripherals A number of other H8/300 devices, such
bit result registers. A diagram of the A/D allowing each H8 to easily communicate as the H8/3337Y series have a dual
off the H8/300 series is shown in figure with other devices. These facilities allow channel, parallel host interface. This
14. the H8/300 to be used as an intelligent provides an interface which is particularly
peripheral, such as a notebook keyboard useful in PC based applications, as the
A number of devices have a two and system controller, by a host host interface provides 4 data registers,
channel, D/A Converter, each with a processor. two status registers, a control register, fast
resolution of 8 bits. The D/A module A20 gate logic and a host interrupt
shares the analogue supply pins with the The H8/330 uses a dual port RAM to request circuit.
A/D converter module. Each channel communicate, this comprises of a set of
can be independently enabled and 15 registers which can be accessed by the Devices with this interface, are typically
disabled and gives an output value of CPU or by another device via a SRAM- used as systems controllers in laptop
AVcc x (value in D/A register)/256.The like interface. computers and Industrial PC’s, having all
D/A has a maximum conversion time of of the facilities needed to monitor and
10µs. The H8/32x series devices allow control battery life, keyboard etc.
Internal
Data Bus
Interrupt
ADDRB
AN0
AN1
ADDRC AN2
Comparator Analogue AN3
Input
ADDRD AN4
+ Selection
AN5
AN6
- AN7
ADCSR
AVss
ADTRG
ADCR
Figure 14
16
Display Drive DTMF Generator
A common requirement in many The H8/38xx series offers various Designed specifically for telecoms
applications is to display information. LCD drive capabilities ranging from applications, the H8/387x, H8/362x
For this reason, a number of the 32 x 4 to 52 x 4 of segment drive and H8/363x series include a dual
devices in the H8/300L family have with support for up to 512 segments tone Multi-F generator. In addition,
been designed to offer either Liquid using external expansion drivers.The the H8/3877 also includes a multi-
Crystal Display ( LCD ) or Vacuum new H8/385x series also adds graph- tone generator all on chipon-chip.
Fluorescent Display ( VFD ) drive ical capabilities with displays of up to These have been developed to
capability. In both cases devices are 1280 pixels driven directly from the produce the various tones required in
available with on-board controllers to microcontroller. many different telephony applications,
simplify the software and external such as feature phones, pagers and
hardware required to drive these dis- The newest member s of the telemetry systems.
plays. H8/38xx family also include a wide
range of innovative features to reduce
The H8/37xx series supports VFD the component count and the total
drive and provide up to a maximum power consumption of the system.
of 28 segments and 16 digit pins, all of These include on-board LCD voltage
which can also be used as standard boosters, built in digital contrast con-
I/O.The on-board VFD controller trol and built in LCD power supply
also has built in dimmer and keyscan bleeder resistors.
interval functionality.
Vcc
System Clock V1
Display Timing LCD
Sub-System Clock Control V2
Driver
Power V3
Supply
Gnd
Com1
LCD Port Control Register Common .
Driver .
Com4
SEG1
.
Dual Port LCD .
LCD RAM Segment .
(64 Bytes) Driver .
SEG40
Figure 15
17
H 8 / 3 0 0 P a c k a g i n g O p t i o n s
The correct choice of package for a EMC regulations that are coming into Hitachi support the H8/300’s in
micro-controller can be very important effect across Europe. windowed ceramic DIL and LCC and in
in many designs. The package type has The H8 offers unbeatable integration in SDIP, PLCC and QFP, the H8/300L
obvious implications where space is a wider range of packages, witness the comes in SDIP, QFP and TQFP.The full
important, and also can influence the H8/3837 with 2K of RAM and 60K of range of packages with device availability
manufactured price of the final product. PROM, all contained in a tiny Quad Flat in each is shown in tables 10 & 11.
The correct choice of package can also pack, measuring 16.0 mm by 16.0 mm
make it easier to pass the ever stricter across its gull wings.
Ta b l e 1 0
H8/300L Packaging
TQFP-100B
TQFP-80C
QFP-100B
QFP-64A
QFP-80A
PLCC-68
PLCC-64
LCC-84
DC-64S
DP-64S
TFP-80E
FP-144H
FP-100B
DC-64S
FP-64A
FP-80A
FP-80B
H8/361x Family • •
H8/362x Family •
H8/363x Family • •
H8/364x Family • • •
H8/365x family
H8/371x Family • •
H8/372x Family • •
H8/381x Family • • •
H8/382x Family • • •
H8/383x Family • • •
H8/384x Family • • •
H8/385x Family •
H8/386x Family • • •
H8/387x Family •
H8/388x Family • • •
18
H8/300 and H8/300L micro-controllers are available in a wide range of package, speed and temperature range o
explanation of this, along with Hitachi’s temperature range options are shown below.
19
options. Part numbers in each family are derived by following a few simple rules. An
H8/300L Sele
Databook ADE-602-069(0)
50 61 45 59 40 40 71 71
3 5 8 8 10 10 13 13
2.7 - 5.5 v 2.7 - 5.5 v 2.5 - 5.5 v 2.2 - 5.5 v 2.7 - 5.5 v 2.7 - 5.5 v 2.7 - 5.5 v 2.7 - 5.5 v
FP-64A, FP-64E FP-80B, TFP-80C DP-64S, FP-64A FP-80A, FP-80B DP-64S, FP-64A FP-80A, FP-100A, FP-100B FP-100A, FP-1
TFP-80F TFP-80C, TFP-80F TFP-100B TFP-100B
ADE-602-087D ADE-602-134 ADE-602-056(0) ADE-602-044B(0) ADE-602-054(0) ADE-602-054
3652 - M 3653 - M
3712 -M 3713 - M 3714 - M,
3723 - M 3724 - M,
3812S - M 3813S - M 3814S - M
3832S - M 3833S - M
3822 - M 3823 - M
3842 - M 3843 - M
3862 - M 3863 - M
3882 - M 3883 - M
2 32 k / 1 k 32 k / 2 k 40 k / 640 40 k / 2 k 48 k / 1 k 48 k / 2 k 60 k / 2 k
3614 - M,Z
3644 - M, Z, F
3634 - M 3635 - M 3636 - M 3637 - M, Z
3635 - M 3636 - M 3637 - M, Z
3654 - M 3655 - M 3656 - M 3657 - M, Z
Z
,Z 3725 - M 3726 - M,Z
M
3834S - M, Z 3835S - M 3836S - M 3837S - M, Z
3875 - M 3876 - M 3877 - M, Z
3875N - M 3876N - M 3877N - M, Z
3824 - M 3825 - M 3826 - M 3827 - M, Z
3844 - M 3845 - M 3846 - M 3847 - M, Z
3855 - M 3856 - M 3857 - M, F
3864 - M 3865 - M 3866 - M 3867 - M, Z
3884 - M 3885 - M 3886 - M 3887 - M, Z
P a c k a g e s
Unit: mm
25.15 +0.12
Unit: mm
–0.13
24.20
60 44
61 43
57.6
58.5 Max
25.15 +0.12
–0.13
64 33
68
1
18.6 Max
17.0
9 27 1 32
1.0
4.40 ± 0.20
19.05
1.46 Max
0.75 1.94
0.90
+ 0.11
0.51 Min
0.25 – 0.05
1.78 ± 0.25 0.48 ± 0.10
*0.42 ± 0.10 1.27 23.12 ± 0.50 0° – 15°
0.20 M 0.38 ± 0.08
23.12 ± 0.50
0.10 Hitachi Code DP-64S
JEDEC —
Hitachi Code CP-68
JEDEC Conforms
EIAJ Conforms
*Dimension including the plating thickness EIAJ Conforms Weight (reference value) 8.8 g
Base material dimension
Weight (reference value) 4.2 g
CP-68 DP-64S
49
0.5
17.2 ± 0.3
0.8
64 17
1 16
64 17
*0.22 ± 0.05
1 16 0.08 M
*0.17 ± 0.05
0.15 ± 0.04
0.20 ± 0.04
1.70 Max
*0.37 ± 0.08
0.35 ± 0.06 0.15 M
3.05 Max
1.25 1.0
1.45
*0.17 ± 0.05
0.15 ± 0.04
0° – 8°
2.70
1.0 1.6
0° – 8° 0.5 ± 0.2
0.10 ± 0.10
0.10
0.10 +0.15
–0.10
0.8 ± 0.3
0.10
Hitachi Code FP-64E
Hitachi Code FP-64A JEDEC —
JEDEC —
*Dimension including the plating thickness EIAJ Conforms
*Dimension including the plating thickness EIAJ Conforms
Base material dimension Weight (reference value) 0.4 g
Base material dimension Weight (reference value) 1.2 g
FP-64A FP-64E
23
P a c k a g e s
17.2 ± 0.3 Unit: mm 24.8 ± 0.4 Unit: mm
14
20
60 41
64 41
61 40
65 40
17.2 ± 0.3
0.65
18.8 ± 0.4
14
0.8
80 21
1 20 80 25
*0.32 ± 0.08
3.05 Max
3.10 Max
*0.37 ± 0.08
*0.17 ± 0.05
0.15 ± 0.04
0.15 M 2.4
2.70
2.70
0.8 1.0
0° – 10°
0° – 8°
0.10 +0.15
–0.10
0.20 +0.10
–0.20
0.10 0.8 ± 0.3 1.2 ± 0.2
0.15
Hitachi Code FP-80A Hitachi Code FP-80B
JEDEC — JEDEC —
*Dimension including the plating thickness EIAJ Conforms *Dimension including the plating thickness EIAJ —
Base material dimension Weight (reference value) 1.2 g Base material dimension Weight (reference value) 1.7 g
FP-80A FP-80B
Unit: mm Unit: mm
24.8 ± 0.4 16.0 ± 0.3
20 14
80 51 75 51
81 50 76 50
16.0 ± 0.3
18.8 ± 0.4
0.65
0.5
14
100 31 100 26
1 30 1 25
3.05 Max
*0.17 ± 0.05
0.15 ± 0.04
*0.17 ± 0.05
0.15 ± 0.04
0.12 +0.13
–0.12
FP-100A FP-100B
24
P a c k a g e s
22.0 ± 0.3 Unit: mm 14.0 ± 0.2 Unit: mm
20 12
108 73 60 41
109 72
61 40
22.0 ± 0.3
14.0 ± 0.2
0.5
0.5
80 21
144 37
1 36 1 20
*0.17 ± 0.05
0.15 ± 0.04
1.70 Max
*0.17 ± 0.05
0.15 ± 0.04
*0.22 ± 0.05
1.20 Max
*0.22 ± 0.05
0.08 M 0.10 M
0.20 ± 0.04 0.20 ± 0.04
1.45
1.25 1.0
1.00
1.25 1.0
0° – 8° 0° – 8°
0.12 ± 0.08
0.10 ± 0.10
0.10 0.10
Hitachi Code FP-144H
Hitachi Code TFP-80C
JEDEC —
JEDEC —
*Dimension including the plating thickness EIAJ Conforms
Base material dimension Weight (reference value) 1.4 g *Dimension including the plating thickness EIAJ Conforms
Base material dimension Weight (reference value) 0.4 g
FP-144H TFP-80C
Unit: mm Unit: mm
16.0 ± 0.2 16.0 ± 0.2
14 14
75 51
60 41
76 50
61 40
16.0 ± 0.2
16.0 ± 0.2
0.65
0.5
80 21 100 26
1 20 1 25
*0.17 ± 0.05
0.15 ± 0.04
1.20 Max
*0.22 ± 0.05
*0.17 ± 0.05
0.15 ± 0.04
*0.32 ± 0.08
1.20 Max
1.0 1.0
1.00
0.83 1.0 0° – 8°
0.5 ± 0.1
0.10 ± 0.10
0° – 8°
0.5 ± 0.1 0.10
0.10 ± 0.10
0.10
TFP80F TFP-100B
25
H 8 / 3 6 4 4
OSC1
OSC2
TEST
IRQ0
RES
VCC
VSS
X1
X2
System clock
generator
generator
Subclock
CPU
Address bus
H8/300L
Port 8
P84/FTIB
P83/FTIA
P82/FTOB
P81/FTOA
P10/TMOW
ROM RAM P80/FTCI
P14/PWM
Port 1
P15/IRQ1
P16/IRQ2
P17/IRQ3/TRGV
P77
P20/SCK3 P76/TMOV
Port 2
Port 7
P21/RXD Timer A SCI1
P75/TMCIV
P22/TXD P74/TMRIV
P73
Timer B1 SCI3
P30/SCK1
Port 3
P31/SI1 P67
P32/SO1 P66
Timer X P65 CMOS large-
Port 6
P64 current port
P63 IOL= 10 mA
P62 @VOL= 1V
P61
Timer V P60
P90/FVPP*
P91
Port 9
P92 Watchdog
14-bit PWM P57/INT7
P93 timer
P56/INT6/TMIB
P94 P55/INT5/ADTRG
Port 5
P54/INT4
A/D converter
P53/INT3
P52/INT2
P51/INT1
P50/INT0
Port B
Note:
AVCC
AVSS
PB0/AN0
PB1/AN1
PB2/AN2
PB3/AN3
PB4/AN4
PB5/AN5
PB6/AN6
PB7/AN7
TEST
MDO
RES
VCC
VCC
VSS
VSS
X1
X2
H 8 / 3 8 3 7
System clock
Subclock
oscillator
oscillator
CPU
Address bus
Data bus (upper)
H8/300L
power supply
LCD driver
V1
V2
V3
P10/TMOW Data bus (lower)
P11/TMOFL
P12/TMOFH
PA3/COM4
Port 1
P13/TMIG
Port A
PA2/COM3
P14/PWM
PA1/COM2
P15/IRQ1/TMIB
PA0/COM1
P16/IRQ2/TMIC ROM RAM
P17/IRQ3/TMIF
P20/IRQ4/ADTRG P97/SEG40/CL1
P21/UD P96/SEG39/CL2
P22 P95/SEG38/DO
Port 2
Port 9
P23 P94/SEG37/M
P24 LCD P93/SEG36
Timer A
P25 controller P92/SEG35
P26 P91/SEG34
P27 P90/SEG33
P33/SCK2 P84/SEG29
P34/SI2 Timer C SCI2 P83/SEG28
P35/SO2 P82/SEG27
P36/STRB P81/SEG26
P37/CS P80/SEG25
Timer F SCI3
P77/SEG24
P40/SCK3 P76/SEG23
Port 4
P41/RXD P75/SEG22
Port 7
P42/TXD P74/SEG21
P43/IRQ0 Timer G 14-bit
P73/SEG20
PWM
P72/SEG19
P71/SEG18
P50/WKP0/SEG1 P70/SEG17
A/D
P51/WKP1/SEG2
converter P67/SEG16
P52/WKP2/SEG3
Port 5
P53/WKP3/SEG4 P66/SEG15
P54/WKP4/SEG5 P65/SEG14
Port 6
P55/WKP5/SEG6 P64/SEG13
P56/WKP6/SEG7 P63/SEG12
P57/WKP7/SEG8 P62/SEG11
P61/SEG10
P60/SEG9
Port B Port C
AVCC
AVSS
PB0/AN0
PB1/AN1
PB2/AN2
PB3/AN3
PB4/AN4
PB5/AN5
PB6/AN6
PB7/AN7
PC0/AN8
PC1/AN9
PC2/AN10
PC3/AN11
26
H 8 / 3 8 1 4
OSC1
OSC2
TEST
MD0
RES
VCC
VCC
VSS
VSS
X1
X2
pulse generator
Subclock pulse
System clock
P10/TMOW
generator
LCD V1
P11/TMOFL CPU driver
P12/TMOFH H8/300L power V2
P13/TMIG supply V3
Port 1
P14
Data bus (lower) PA3/COM4
P15/IRQ1
PA2/COM3
Address bus
P1 7/IRQ3/TMIF
PA0/COM1
P87/SEG32
P30/SCK1 P86/SEG31
P31/SI1 P85/SEG30
P32/SO1 Port 8 P84/SEG29
P33 Timer F SCI1 P83/SEG28
Port 3 P82/SEG27
P34
P35 P81/SEG26
P36 P80/SEG25
P37
P77/SEG24
Timer C SCI3 P76/SEG23
P40/SCK3
P75/SEG22
P41/RXD
Port 4 P74/SEG21
P42/TXD Port 7
P73/SEG20
P43/IRQ0
P72/SEG19
A/D converter P71/SEG18
P50/WKP0 /SEG1 P70/SEG17
P51/WKP1 /SEG2
P52/WKP2 /SEG3 P67/SEG16
P53/WKP3 /SEG4 Port 5 P66/SEG15
P54/WKP4 /SEG5 P65/SEG14
P55/WKP5 /SEG6 P64/SEG13
Port 6
P56/WKP6 /SEG7 P63/SEG12
P57/WKP7 /SEG8 Port B Port C P62/SEG11
P61/SEG10
P60/SEG9
AVCC
AVSS
PB0/AN0
PB1/AN1
PB2/AN2
PB3/AN3
PB4/AN4
PB5/AN5
PB6/AN6
PB7/AN7
PC0/AN8
PC1/AN9
PC2/AN10
PC3/AN11
EXTAL
STBY
XTAL
RES
MD0
MD1
NMI
VCC
VCC
VSS
VSS
H 8 / 3 2 1 7
Clock pulse
generator
CPU
H8/300
P70/SCL0/KEYIN4
P10/A0/PW0 Data bus (low)
P71/SDA 0/KEYIN5
Data bus (high)
P11/A1/PW1
Address bus
P72/SCL1/KEYIN6
P12/A2/PW2
Port 7
P73/SDA 1/KEYIN7
Port 1
16-bit
PWM timer free-running
timer
P20/A8/PW8
Serial communication P30/D0/HDB0
P21/A9/PW9 interface (2 channels) 8-bit timer
I2C bus interface (3 channels) P31/D1/HDB1
P22/A10/PW10
(2 channel) Timer connection P32/D2/HDB2
Port 2
P23/A11/PW11 (option)
Port 3
P33/D3/HDB3
P24/A12/PW12
P34/D4/HDB4
P25/A13/PW13
P35/D5/HDB5
P26/A14/PW14
P36/D6/HDB6
P27/A15/PW15
P37/D7/HDB7
KEYIN0/P60/FTCI
KEYIN3/VSYNCI/P63/FTI
P64/IRQ0
P65/IRQ1
P66/IRQ2
P40/TMCI0
P41/TMO0
P42/TMRI0
HIRQ11/HSYNCI/P43/TMCI1
HIRQ1/HSYNCO/P44/TMO1
HIRQ12/CSYNCI/P45/TMRI1
CS2/FBACKI/P4 6/ø
GA20/CLAMPO/P47/TMOx
KEYIN2/VSYNCO/P62/FTOB
KEYIN1/P61/FTOA
27
H 8 / 3 3 3 4 Y
*
EXTAL
STBY
XTAL
RES
MD0
MD1
NMI
VCC
VCC
VSS
VSS
VSS
VSS
VSS
VSS
VSS
Clock pulse
generator
CPU
H8/300
Address bus
Data bus (low)
ROM
P10/A0 Flash memory, RAM P90/ADTRG/IRQ2/ECS2
P11/A1 PROM or mask ROM H8/3337Y: 2 kbytes
H8/3336Y: 2 kbytes P91/IRQ1/EIOW
P12/A2 H8/3337Y: 60 kbytes
H8/3334Y: 1 kbyte P92/IRQ0
Port 9
Port 1
P13/A3 H8/3336Y: 48 kbytes
H8/3334Y: 32 kbytes P93/RD
P14/A4
P94/WR
P15/A5
P95/AS
P16/A6
Watchdog Host P96/ø
P17/A7
timer interface P97/WAIT/SDA
Port 3
P23/A11 (1 channel) (option) P33/D3/HDB3
P24/A12 P34/D4/HDB4
P25/A13 10-bit P35/D5/HDB5
P26/A14 8-bit timer A/D converter P36/D6/HDB6
P27/A15 (2 channels) (8 channels) P37/D7/HDB7
P60/FTCI/KEYIN0 8-bit
PWM timer D/A converter P80/HA0
P61/FTOA/KEYIN1 (2 channels)
P62/FTIA/KEYIN2 (2 channels) P81/GA20
P82/CS1
Port 6
Port 8
P63/FTIB/KEYIN3
P64/FTIC/KEYIN4 P83/IOR
P65/FTID/KEYIN5 P84/TxD1/IRQ3/IOW
P66/FTOB/IRQ6/KEYIN6 P85/RxD1/IRQ4/CS2
P67/IRQ7/KEYIN7 P86/SCK1/IRQ5/SCL
Note:
P40/TMCI0
P41/TMO0
P42/TMRI0
P43/TMCI1/HIRQ11
P44/TMO1/HIRQ1
P45/TMRI1/HIRQ12
P46/PW0
P47/PW1
P70/AN0
P71/AN1
P72/AN2
P73/AN3
P74/AN4
P75/AN5
P76/AN6/DA0
P77/AN7/DA1
AVCC
AVSS
P50/TxD0
P51/RxD0
P52/SCK0
* In the case of the
CP-84 and CG-84
EXTAL
RESO
STBY
XTAL
VCCB
RES
H 8 / 3 4 3 7
MD0
MD1
NMI
VCC
VCC
VSS
VSS
VSS
VSS
Clock pulse
generator
PA0/KEYIN8 CPU
PA1/KEYIN9 H8/300 PB0/XDB0
PA2/KEYIN10 PB1/XDB1
Data bus (high)
Address bus
Port A
PA3/KEYIN11 PB2/XDB2
Port B
PA4/KEYIN12 PB3/XDB3
Data bus (low)
PA5/KEYIN13 PB4/XDB4
PA6/KEYIN14 PB5/XDB5
PA7/KEYIN15 ROM PB6/XDB6
(flash memory, PB7/XDB7
P10/A0 RAM
PROM, or
P11/A1 H8/3437: 2 kbytes P90/ADTRG/ECS2/IRQ2
mask ROM)
P12/A2 H8/3437: 60 kbytes H8/3436: 2 kbytes P91/IRQ1/EIOW
Port 1
P24/A12 P33/D3/HDB3
timer I2C bus interface
P25/A13 (1 channel) [option] P34/D4/HDB4
P26/A14 P35/D5/HDB5
10-bit P36/D6/HDB6
P27/A15 8-bit timer A/D converter
(2 channels) P37/D7/HDB7
KEYIN0/P60/FTCI (8 channels)
KEYIN1/P61/FTOA P80/HA0
KEYIN2/P62/FTIA 8-bit P81/GA20
PWM timer
Port 6
P77/AN7/DA1
P76/AN6/DA0
P75/AN5
P74/AN4
P73/AN3
P72/AN2
P71/AN1
P70/AN0
AVref
AVCC
AVSS
P50/TxD0
P51/RxD0
P52/SCK0
28
H 8 / 3 3 9 4
*
EXTAL
STBY
XTAL
RES
MD0
MD1
NMI
VCC
VCC
VSS
VSS
VSS
VSS
VSS
VSS
VSS
Clock pulse
generator
CPU
Address bus
Data bus (low)
Port 1
P13/A3 P93/RD
Port 9
H8/3394: 32 kbytes
P14/A4 P94/WR
P15/A5 P95/AS
P16/A6 P96/ø
P17/A7 Watchdog P97/WAIT
timer
Port 3
P23/A11 (2 channels) P33/D3
P24/A12 P34/D4
P25/A13 10-bit P35/D5
P26/A14 8-bit timer A/D converter P36/D6
P27/A15 (2 channels) (8 channels) P37/D7
P60/FTCI/KEYIN0
PWM timer P80
P61/FTOA/KEYIN1 (2 channels)
P62/FTIA/KEYIN2 P81
P82
Port 6
Port 8
P63/FTIB/KEYIN3
P64/FTIC/KEYIN4 P83
P65/FTID/KEYIN5 P84/TxD1/IRQ3
/FTOB/IRQ6/KEYIN6 P85/RxD1/IRQ4
P67/IRQ7/KEYIN7 P86/SCK1/IRQ5
Note:
P40/TMCI0
P41/TMO0
P42/TMRI0
P43/TMCI1
P44/TMO1
P45/TMRI1
P46/PW0
P47/PW1
P70/AN0
P71/AN1
P72/AN2
P73/AN3
P74/AN4
P75/AN5
P76/AN6
P77/AN7
AVCC
AVSS
P50/TxD0
P51/RxD0
P52/SCK0
* In the case of the
CP-84 and CG-84
TEST2
OSC1
OSC2
H 8 / 3 8 5 7
TEST
FWE
RES
VCC
VSS
VSS
X1
X2
System clock
Subclock
oscillator
oscillator
CPU
(8-bit)
Address bus
P13 FLASH/
P14/PWM MASK RAM
P15/IRQ1/TMIB
P16/IRQ2/TMIC ROM
P17/IRQ3/TMIF
P57/WKP7
P20/IRQ4/ADTRG P56/WKP6
P21/UD Timer A SCI1 P55/WKP5
Port 5
P22
Port 2
P54/WKP4
P23 P53/WKP3
P24 P52/WKP2
P25 P51/WKP1
P26 Timer B SCI3
P50/WKP0
P27
P30/SCK1 PB7/AN7
P31/SI1 PB6/AN6
P32/SO1 Timer C PB5/AN5
Port 3
Port B
P33 PB4/AN4
P34 PB3/AN3
P35 A/D PB2/AN2
P36 Timer F PB1/AN1
P37 PB0/AN0
AVCC
AVSS
P40/SCK3 14-bit
Port 4
P41/RXD
P42/TXD PWM
P43/IRQ0
V5OUT
RS
R/W
STRB
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
V4OUT VLOUT
V3OUT C1–
V2OUT
V1OUT C1+
V4
LCD C2–
V34 C2+
V3
VLCD VCi
··· ···
··· ···
COM1
COM2
COM3
COM4
COM5
COM6
COM7
COM8
COM9/SEG64
COM10/SEG63
COM11/SEG62
COM12/SEG61
COM13/SEG60
COM14/SEG59
COM15/SEG58
COM16/SEG57
COM29/SEG44
COM30/SEG43
COM31/SEG42
COM32/SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
SEG34
SEG33
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
29
H 8 / 3 8 6 7
TEST
OSC1
OSC2
CVCC
RES
VCC
VSS
VSS
X1
X2
P10/TMOW
LCD Power
System Clock
V0
Sub Clock
Supply
P11/TMOFL V1
H8/300L
OSC
OSC
P12/TMOFH V2
CPU
Port 1
P13/TMIG V3
P14/IRQ4/ADTRG
P15/IRQ1/TMIC
PA3/COM4
P16/IRQ2
Port A
PA2/COM3
P17/IRQ3/TMIF
ROM RAM PA1/COM2
(60k/48k/40k/32k (2k/1k) PA0/COM1
P30/PWM
P31/UD
24k/16k)
P87/SEG32/CL1
P32/RESO
P86/SEG31/CL2
Port 3
P33/SCK31 Serial
P34/RXD31
Timer - A communication P85/SEG30/DO
Port 8
P84/SEG29/M
P35/TXD31 interface 3-1
P83/SEG28
P36/AEVH
P82/SEG27
P37/AEVL Timer - C Serial P81/SEG26
P40/SCK32
communication P80/SEG25
interface 3-2
Port 4
P41/RXD32
P77/SEG24
P42/TXD32 Timer - F
P43/IRQ0 P76/SEG23
P75/SEG22
14-bit
P74/SEG21
Port 7
P50/WKP0/SEG1
PWM P73/SEG20
P51/WKP1/SEG2 Timer - G
P52/WKP2/SEG3 P72/SEG19
Port 5
P53/WKP3/SEG4 P71/SEG18
P54/WKP4/SEG5 P70/SEG17
Asynchronous WDT
P55/WKP5/SEG6
P56/WKP6/SEG7
counter P67/SEG16
P57/WKP7/SEG8 P66/SEG15
P65/SEG14
A/D LCD
Port 6
P64/SEG13
(10bit) Controller P63/SEG12
P62/SEG11
P61/SEG10
P60/SEG9
Port B
PB0/AN0
PB1/AN1
PB2/AN2
PB3/AN3
PB4/AN4
PB5/AN5
PB6/AN6
PB7/AN7
AVCC
AVSS
OSC1
OSC2
TEST
CVCC
RES
VCC
VSS
VSS
X1
X2
H 8 / 3 8 8 7
LCD power
V0
supply
V1
P10/TMOW V2
System clock
Sub clock
P11/TMOFL V3
OSC
OSC
P12/TMOFH H8/300L
CPU
P13/TMIG
Port 1
PA3/COM4
P14/IRQ4/ADTRG
Port A
PA2/COM3
P15/IRQ1/TMIC PA1/COM2
P16/IRQ2 PA0/COM1
P17/IRQ3/TMIF ROM
RAM
(60 k, 48 k, 40 k, 32 k,
(2 k and 1 k) P97/SEG40/CL1
24 k, and 16 k)
P20/SCK1 P96/SEG39/CL2
P21/SI1 P95/SEG38/DO
P22/SO1
Port 9
P94/SEG37/M
P23 Serial
Port 2
P93/SEG36
P24 communication
Timer-A P92/SEG35
interface 1
P25 P91/SEG34
P26 P90/SEG33
P27
Serial
communication P87/SEG32
P30/PWM Timer-C
interface 3-1 P86/SEG31
P31/UD P85/SEG30
P32/RESO P84/SEG29
Port 8
Port 3
P77/SEG24
P40/SCK32 14-bit PWM
Timer-G P76/SEG23
Port 4
P41/RXD32 P75/SEG22
P42/TXD32
P74/SEG21
Port 7
P43/IRQ0
P73/SEG20
LCD P72/SEG19
P50/WKP0/SEG1 WDT controller/driver P71/SEG18
P51/WKP1/SEG2
P70/SEG17
P52/WKP2/SEG3
Port 5
P53/WKP3/SEG4
P54/WKP4/SEG5 P67/SEG16
A/D (10-bit) Asynchronous P66/SEG15
P55/WKP5/SEG6 counter
P56/WKP6/SEG7 P65/SEG14
Port 6
P57/WKP7/SEG8 P64/SEG13
P63/SEG12
Port B Port C
P62/SEG11
P61/SEG10
P60/SEG9
PB0/AN0
PB1/AN1
PB2/AN2
PB3/AN3
PB4/AN4
PB5/AN5
PB6/AN6
PB7/AN7
PC0/AN8
PC1/AN9
PC2/AN10
PC3/AN11
AVCC
AVSS
30
H 8 / 3 0 0 O r d e r i n g I n f o r m a t i o n
7 Memory Size
2 - 16 kbytes
3 - 24 kbytes
4 - 32 kbytes Operating
Memory Technology 5 - 40 kbytes Temperature
F - Flash 6 - 48 kbytes Range
1 - ROMless 7 - 60 kbytes Blank - 20->+75
H8 3 - Mask ROM I - 40->+85
Family 7 - OTP (8 - means older part J - 40->+85
number scheme,
previous digit refers
to memory size,
ie HD6473258F10)
Package
Die
Hitachi 343 C - CDIP Operating
Revision
Series (Windowed EPROM) Frequency
R, S
CG - LCC 16 - 16 MHz
(Windowed EPROM) 10 - 10 MHz
P - SDIP 5 - 5 MHz
CP - PLCC
F - QFP
TF - TQFP
H 8 / 3 0 0 L O r d e r i n g I n f o r m a t i o n
7 Memory Size
2 - 16 kbytes Operating
3 - 24 kbytes Temperature
4 - 32 kbytes Range
Memory Technology
Blank - 20->+75
F - Flash 5 - 40 kbytes
H8 I - 40->+85
3 - Mask ROM 6 - 48 kbytes
Family J - 40->+85
7 - OTP 7 - 60 kbytes
Die Package
Hitachi 364
Revision F, FQ, H - QFP
Series
N, S, R, U P - SDIP
W, X - TQFP
31
H 8 S u p p o r t T o o l s
As development times become
shorter, the tools used to develop
micro-controller based products
become ever more crucial to the
successful conclusion of a
development project.
With this in mind Hitachi Micro
Systems Europe Ltd (HMSE) have
developed a range of low cost,
integrated development tools to
enable the rapid prototyping of
any embedded product. These
tools include an optimising ANSI
c-compiler, evaluation board and
low cost in-circuit emulators with
symbolic and ‘C’-level debug
capability.
32
Projects may be created which allow the Ta b l e 1 2
33
CIDE
34
H D I
HDI ( Hitachi Debugging Interface )
supports all of the E6000 emulators as
well as Hitachi’s Evaluation Board
products. HDI is a fully featured high
level debugger, allowing the user
complete control of the debug
features available. A typical debug
session is shown in figure 18.
HDI is a generic product, based
around the HDI graphical user
interface. It can support any of the
E6000 emulators or the Hitachi
Evaluation Boards by the addition of
a target specific DLL.This means that
a common development environment
can be maintained for a project with
one easy to use debug interface, and
changing to a different target
becomes very simple. Figure 18
Ta b l e 1 4
35
System Kits emulators, Hitachi’s H8 C-compiler, all the individual components.
assembler, linker and librarian along with The part numbers and ordering
System kit’s are available for all of a copy of the CIDE C-level debugger. information for all of Hitachi’s emulators
Hitachi’s emulators. The system kit The S6 system kit contains the E6000 and system kits is listed in tables 14 & 15,
includes all of the software and hardware emulator and HDI debugger, along with along with the part numbers of the
components (apart from the emulator Hitachi’s H8 C-compiler, assembler, linker various programming sockets required to
header) required for development. The and librarian.These kits are available at a program the H8 OTP’s and Flash
S5 system kit contains the PCE cost, lower than that of the total cost of microcontrollers.
Ta b l e 1 5
36
Evaluation Boar ds Ta b l e 1 6
H8 Evaluation Boar ds
Hitachi has developed a range of low
Evaluation Board Supported devices
cost evaluation boards to support a
EVB3644F H8/3644 series
number of H8 microcontrollers. Each of
EVB3217 H8/3217 series
these evaluation boards comes complete
EVB3334 H8/3334Y series
with all the hardware and software
EVB3437F H8/3297 series
required to evaluate an application using
H8/3334Y series
the H8 microcontroller. A full list of the
H8/3437 series
evaluation boards for the H8/300 and
H8/300L is given in table 16.
Each board has two RS-232 serial Flash Development FDT supports the following features.
interfaces, one, used for communication Tools (FDT)
with a host PC, the second available to • Blank Check
the users application. Each board This is a Windows™ application which • Read Flash Memory
requires a single 5v supply, and contains allows the in-circuit programming of a • Program Flash Memory (from S-
on-board SRAM for the user application Hitachi H8 microcontroller with on- record )
along with circuitry to control the reset board flash memory. FDT can be used • Program with verify
and NMI lines. The address and data bus to program devices in both Boot and • Erase (block by block)
along with the other I/O pins are User mode, and so allows the user • User specified command
available to the user on the PCB. maximum flexibility in application
Each evaluation board comes with a design.
serial cable and full documentation along
with evaluation copies of the Hitachi and
GNU C-compilers and source level
debuggers (on CD ROM). Full device
data on CD ROM is also included.
37
H 8 T h i r d S u p p o r t T o o l s
Hitachi works with many third party companies to support our Microcontrollers, the following list is of some of the companies who
currently support H8/300 and H8/300L products.
UK:
IAR Systems Ltd.,
9 Spice Cour t,
Ivor y Square.,
Plantation Whar f,
Yo r k R o a d ,
London SW11 3UE
Te l : + 4 4 1 7 1 9 2 4 3 3 3 4
Contact:
Fax: +44 171 924 5341
Pentica Systems Ltd.,
E-mail: [email protected]
O a k l a n d s P a r k , Wo k i n g h a m ,
Berks RG41 2FD.
US:
Te l : ( 0 1 1 8 ) 9 7 9 2 1 0 1
IAR Systems Inc.,
Wo r l d W i d e We b H o m e P a g e ,
One Maritime Plaza,
h t t p : / / w w w. p e n t i c a . c o . u k /
San Francisco, CA 94111
Email address,
Te l : + 1 4 1 5 7 6 5 5 5 0 0
100315.1366@compuser ve.com
Fax: +1 415 765 5503
E - m a i l : i n f o @ i a r. c o m
H o m e P a g e : h t t p : / / w w w. i a r. s e
38
EPPROM Pr ogrammer Manufactur ers
Data I/O Both One Time Programmable (OTP) and on-chip FLASH devices can be
Phone: +49 89 858 580 programmed using ‘standard’ EPROM programmers.The device is placed into a special
Fax: +49 89 858 5810
mode of operation which allows it to emulate the pin interface of a standard EPROM
WWW: http://www.dataio.com
or FLASH device.
(UK - Direct Insight Ltd.)
Phone: +44 1 280 700262 In order to place the chip into Programmer mode either a special socket adapter is
Fax: +44 1 280 700577 required (Hitachi parts are listed in this brochure), or a special programming interface
WWW: http://www.edasource.com/ for the EPROM programmer being used.
MQP
Phone: +44 1 666 825666
Fax: +44 1 666 825141
WWW: http://www.mqp.com
SMS Holdings
Phone: +49 7 522 97280
Fax: +49 7 522 972850
WWW: http://www.sms-sprint.com
Minato
Smart Communications
Phone: +44 181 953 9292
Fax: +44 181 953 9299
WWW: http://www.minato.co.jp
www.smartcom.co.uk
39
http://www.hitachi-eu.com/hel/ecg/