Hitachi Single-Chip Microcomputer
H8/3857 Series
H8/3857
H8/3856
H8/3855
H8/3857F-ZTAT™
HD6433857, HCD6433857
HD6433856, HCD6433856
HD6433855, HCD6433855
HD64F3857, HCD64F3857
H8/3854 Series
H8/3854
H8/3853
H8/3852
H8/3854F-ZTAT™
HD6433854, HCD6433854
HD6433853, HCD6433853
HD6433852, HCD6433852
HD64F3854, HCD64F3854
Hardware Manual
ADE-602-175A
Rev. 2.0
2/15/00
Hitachi, Ltd.
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 H8/300L Series of single-chip microcomputers has the high-speed H8/300L CPU at its core,
with many necessary peripheral functions on-chip. The H8/300L CPU instruction set is compatible
with the H8/300 CPU.
The H8/3857 Series has the following on-chip peripheral functions required for system
configuration: a maximum 1,280-dot display LCD controller, four types of timers, a 14-bit PWM,
a 2-channel serial communication interface, and an 8-channel A/D converter.
The H8/3854 Series has the following on-chip peripheral functions required for system
configuration: a maximum 640-dot display LCD controller, three types of timers, a single-channel
serial communication interface, and a 4-channel A/D converter.
Both series can be used as embedded microcomputers in systems requiring LCD display.
The H8/3857, H8/3856, H8/3855, H8/3854, H8/3853, and H8/3852 are available in mask ROM
versions, and the H8/3857 and H8/3854 are also available in an F-ZTAT™* version which allows
programs to be written after the chip is mounted on a board.
Note: * F-ZTAT (Flexible Zero Turn-Around Time) is a trademark of Hitachi, Ltd.
This manual describes the hardware of the H8/3857 Series and H8/3854 Series. For details on the
H8/3857 Series and H8/3854 Series instruction set, refer to the H8/300L Series Programming
Manual.
List of Functions
Series
Product Code
H8/3857 Series
F-ZTAT
Version
Mask ROM Version
H8/3854 Series
F-ZTAT
Version
Mask ROM Version
H8/3857F H8/3857 H8/3856 H8/3855
ROM size (kbytes)
RAM size (kbytes)
I/O ports
Input/output
ports
Input
ports
Interrupts
External
interrupts
Internal
interrupts
Timer A (for realtime
clock)
Timer B (8 bits)
Timer C (8 bits)
Timer F (16 bits)
Watchdog timer
14-bit PWM
Serial communication
interface (SCI)
A/D converter
LCD
controller
Max.
display dots
Display
RAM size
Packages Pins
Shipping
form
×
2
8 ch
1280
dots
2048
bits
144
×
2
8 ch
1280
dots
2048
bits
144
×
2
8 ch
1280
dots
2048
bits
144
×
2
8 ch
1280
dots
2048
bits
144
—
—
—
60
2
35
9
13
sources
16
sources
60
2
35
9
48
2
35
9
40
2
35
9
H8/3854F H8/3854 H8/3853 H8/3852
60*
2*
24
5
12
sources
14
sources
32*
1*
24
5
24
1*
24
5
16
1*
24
5
13
13
13
sources sources sources
16
16
16
sources sources sources
12
12
12
sources sources sources
14
14
14
sources sources sources
—
—
—
—
—
—
×
1
4 ch
640
dots
640
bits
100
—
×
1
4 ch
640
dots
640
bits
100
—
—
×
1
4 ch
640
dots
640
bits
100
—
—
×
1
4 ch
640
dots
640
bits
100
FP-144H (20
×
20 mm)
TFP-144 (16
×
16 mm)
Die (F-ZTAT version: 7.08
×
7.31 mm /
mask ROM version: 6.21
×
6.21 mm)
FP-100B (14
×
14 mm)
TFP-100G (12
×
12 mm)
Die (F-ZTAT version: 6.34
×
6.34 mm /
mask ROM version: 4.69
×
4.69 mm)
Note:
*
Note that the H8/3854F (F-ZTAT version) and H8/3854 (mask ROM version) have different
ROM and RAM sizes.
When carrying out program development using the H8/3854F with the intention of mask
ROM implementation, care must be taken with ROM and RAM sizes since the maximum
sizes for the mask ROM version are 32 kbytes of ROM and 1 kbyte of RAM.
List of Items Revised or Added for This Version
Page
All
6
10
11, 12
13
14, 15
18
19
37
60
96
Item
H8/3854 Series added
Figure 1.1 H8/3857 Series Internal Block Diagram
Figure 1.5 Pad Layout of HCD64F3857 (F-ZTAT Version)
Table 1.2 HCD64F3857 Pad Coordinates
Figure 1.6 Pad Layout of HCD6433855, HCD6433856,
and HCD6433857 (Mask ROM Version)
Table 1.3 HCD6433855, HCD6433856, and HCD6433857
Pad Coordinates
Figure 1.8 Pad Layout of HCD6433854, HCD6433853,
and HCD6433852 (Mask ROM Version)
Table 1.5 HCD6433852, HCD6433853, and HCD6433854
Pad Coordinates
Table 2.2 Effective Address Calculation
Figure 2.16 (a) H8/3857 Series Memory Map
4.2 System Clock Generator
Inputting an External Clock
109
111
118
153
168
172
197
5.3.5 Notes on External Input Signal Changes before/after
Standby Mode
5.4.4 Notes on External Input Signal Changes before/after
Watch Mode
5.8.3 Notes on External Input Signal Changes before/after
Direct Transition
Figure 6.16 (a) HD64F3857 Socket Adapter Pin
Interconnections
6.10 Notes when Converting the F-ZTAT Application
Software to the Mask-ROM Versions
Table 8.1 (a) H8/3857 Series Port Functions
8.5.2 Register Configuration and Description
Port Data Register 4
235
256
9.5.2 Register Descriptions Timer Control/ Status Register F Name of bit 3
(TCSRF)
amended
10.2.2 Register Descriptions
Serial Control/Status Register 1
257
10.2.2 Register Descriptions
Serial Control/Status Register 1
Bit 0 description
changed
Description added
Added
Added
Added
“Notation” amended
Added
Port 3 pins changed
Changed
Changed
Pad numbers changed
Pad numbers changed
Model names
amended
Model names
amended
Added
Added
Amended
Changed
Added
Description