Hitachi 16-Bit Single-Chip Microcomputer
H8S/2138 Series
H8S/2134 Series
H8S/2138F-ZTAT™
H8S/2134F-ZTAT™
H8S/2132F-ZTAT™
H8S/2138
H8S/2137
H8S/2134
H8S/2133
H8S/2132
H8S/2130
HD6432138SW, HD6432138S
HD6432137SW, HD6432137S
HD6432134S
HD6432133S
HD6432132
HD6432130
H8S/2138F-ZTAT™ HD64F2138, HD64F2138V
HD64F2138A, HD64F2138AV
H8S/2134F-ZTAT™ HD64F2134, HD64F2134V
HD64F2134A, HD64F2134AV
H8S/2132F-ZTAT™ HD64F2132R, HD64F2132RV
ADE-602-144B
Rev. 3.0
4/5/01
Hitachi, Ltd.
Hardware Manual
Cautions
1. Hitachi neither warrants nor grants licenses of any rights of Hitachi’s or any third party’s
patent, copyright, trademark, or other intellectual property rights for information contained in
this document. Hitachi bears no responsibility for problems that may arise with third party’s
rights, including intellectual property rights, in connection with use of the information
contained in this document.
2. Products and product specifications may be subject to change without notice. Confirm that you
have received the latest product standards or specifications before final design, purchase or
use.
3. Hitachi makes every attempt to ensure that its products are of high quality and reliability.
However, contact Hitachi’s sales office before using the product in an application that
demands especially high quality and reliability or where its failure or malfunction may directly
threaten human life or cause risk of bodily injury, such as aerospace, aeronautics, nuclear
power, combustion control, transportation, traffic, safety equipment or medical equipment for
life support.
4. Design your application so that the product is used within the ranges guaranteed by Hitachi
particularly for maximum rating, operating supply voltage range, heat radiation characteristics,
installation conditions and other characteristics. Hitachi bears no responsibility for failure or
damage when used beyond the guaranteed ranges. Even within the guaranteed ranges,
consider normally foreseeable failure rates or failure modes in semiconductor devices and
employ systemic measures such as fail-safes, so that the equipment incorporating Hitachi
product does not cause bodily injury, fire or other consequential damage due to operation of
the Hitachi product.
5. This product is not designed to be radiation resistant.
6. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document
without written approval from Hitachi.
7. Contact Hitachi’s sales office for any questions regarding this document or Hitachi
semiconductor products.
Preface
The H8S/2138 Series and H8S/2134 Series comprise high-performance microcomputers with a
32-bit H8S/2000 CPU core, and a set of on-chip supporting functions required for system
configuration.
The H8S/2000 CPU can execute basic instructions in one state, and is provided with sixteen
internal 16-bit general registers with a 32-bit configuration, and a concise and optimized
instruction set. The CPU can handle a 16-Mbyte linear address space (architecturally 4 Gbytes).
Programs based on the high-level language C can also be run efficiently.
Single-power-supply flash memory (F-ZTAT™*) and mask ROM versions are available,
providing a quick and flexible response to conditions from ramp-up through full-scale volume
production, even for applications with frequently changing specifications.
On-chip peripheral functions include a 16-bit free-running timer (FRT), 8-bit timer (TMR),
watchdog timer (WDT), two PWM timers (PWM and PWMX), a serial communication interface
(SCI, IrDA), host interface (HIF), D/A converter (DAC), A/D converter (ADC), and I/O ports. An
I
2
C bus interface (IIC) can also be incorporated as an option.
An on-chip data transfer controller (DTC) is also provided, enabling high-speed data transfer
without CPU intervention.
The H8S/2138 Series has all the above on-chip supporting functions, and can also be provided
with an IIC module as an option. The H8S/2134 Series comprises reduced-function versions, with
fewer TMR channels, and no PWM, HIF, IIC, or DTC modules.
Use of the H8S/2138 or H8S/2134 Series enables compact, high-performance systems to be
implemented easily. The comprehensive PC-related interface functions and 16
×
8 matrix key-
scan functions are ideal for applications such as notebook PC keyboard control and intelligent
battery and power supply control, while the various timer functions and their interconnectability
(timer connection), plus the interlinked operation of the I
2
C bus interface and data transfer
controller (DTC), in particular, make these devices ideal for use in PC monitors. In addition, the
combination of F-ZTAT™* and reduced-function versions is ideal for applications such as system
units in which on-chip program memory is essential to meet performance requirements, product
start-up times are short, and program modifications may be necessary after end-product assembly.
This manual describes the hardware of the H8S/2138 Series and H8S/2134 Series. Refer to the
H8S/2600 Series and H8S/2000 Series Programming Manual
for a detailed description of the
instruction set.
Note: * F-ZTAT™ (Flexible-ZTAT) is a trademark of Hitachi, Ltd.
On-Chip Supporting Modules
Series
Product names
Bus controller (BSC)
Data transfer controller (DTC)
8-bit PWM timer (PWM)
14-bit PWM timer (PWMX)
16-bit free-running timer (FRT)
8-bit timer (TMR)
Timer connection
Watchdog timer (WDT)
Serial communication interface (SCI)
I
2
C bus interface (IIC)
Host interface (HIF)
D/A converter
A/D converter
H8S/2138 Series
H8S/2138, 2137
Available (8 bits)
Available
×16
×2
×1
×4
Available
×2
×3
×2
(option)
×2
×2
×8
(analog input)
H8S/2134 Series
H8S/2134, 2133, 2132,
2130
Available (8 bits)
—
—
×2
×1
×3
—
×2
×3
—
—
×2
×8
(analog input)
×8
×8
(expansion A/D inputs) (expansion A/D inputs)
Main Revisions and Additions in this Edition
Main Revisions and Additions in this Edition
Page
All pages of
this manual
5
1.1 Overview
Item
Revision (See Manual for Details)
Amendments due to introduction of the A mask versions
(HD64F2138A, HD64F2134A)
Table 1.1 Overview
Product lineup amended
6
1.2 Internal Block Diagram Figure 1.1 Internal Block Diagram of H8S/2138 Series
VCC2 (VCL) pin amended
7
Figure 1.2 Internal Block Diagram of H8S/2134 Series
VCC2 (VCL) pin amended
8
1.3.1 Pin Arrangement
Figure 1.3 Pin Arrangement of H8S/2138 Series (FP-80A,
TFP-80C: Top View)
Pin No.8: VCC2 (VCL) pin amended
9
Figure 1.4 Pin Arrangement of H8S/2134 Series (FP-80A,
TFP-80C: Top View)
Pin No. 8: VCC2 (VCL) pin amended
10
1.3.2 Pin Functions in Each Table 1.2 H8S/2138 Series Pin Functions in Each
Operating Mode
operating Mode
Pin No. 8: VCC2 (VCL) pin amended
14
Table 1.3 H8S/2134 Series Pin Functions in Each
operating Mode
Pin No. 8: VCC2 (VCL) pin amended
17, 20, 22
1.3.3 Pin Functions
Table 1.4 Pin Functions
Power supply: VCL added
Serial communication interface (SCI0, SCI1, SCI2): Serial
clock description amended
I/O ports: Port 5 and Port 9 description amended
Note amended
All pages of
section 2
71, 72
3.2.2 System Control
Register (SYSCR)
Notes on TAS instruction added
Notes on STM/LDM instruction added
Bit 7 description amended
Bit 6 Note added
73
3.2.3 Bus Control Register Bit 1 and Bit 0 Note added
(BCR)