Hitachi Single-Chip Microcomputer
H8/3834 Series
HD6433833
HD6473834, HD6433834
HD6433835
HD6433836
HD6473837, HD6433837
Hardware Manual
ADE-602-054B
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/3834 Series has a system-on-a-chip architecture that includes such peripheral functions as
an LCD controller/driver, five types of timers, a 14-bit PWM, a three-channel serial
communication interface, and an A/D converter. This makes it ideal for use in systems requiring
an LCD display.
This manual describes the hardware of the H8/3834 Series. For details on the H8/3834 Series
instruction set, refer to the H8/300L Series Programming Manual.
Revised Sections and Contents
Page
All
1 to 12
47 to 51
54
76
105
111
115
133
158
251, 267
319
353
357 to 381
382 to 406
431
481
503
Section
—
Overview
Memory Map
Notes on Data Access
Setting conditions of timer C interrupt
request flag
Transition to Standby Mode and Port
Pin States
Calculation of Direct Transfer Time
before Transition
ROM overview
RAM overview
Port 4 pin functions
Application Notes on SCI1 and SCI2
Application Notes on SCI3
Waveforms at 1/2 Duty
Electrical Characteristics
Electrical Characteristics
I/O Registers (1)
Figure C-2 (a) Port 2 Block Diagram
Package Dimensions
Revision Contents
Description of H8/3833 and H8/3835 added
Description of H8/3833 and H8/3835 added
Description of H8/3833 and H8/3835 added
Description of H8/3833 and H8/3835 added
Table modified
Description added
Description added
Description of H8/3833 and H8/3835 added
Description of H8/3833 and H8/3835 added
Table modified
Description added
Description added
Figure modified
Description of H8/3833 and H8/3835 added
Wide temperature range (I-spec) version add
Table modified
Figure modified
TFP-100B added
Contents
Section 1
1.1
1.2
1.3
Overview
.........................................................................................................
Overview.........................................................................................................................
Internal Block Diagram ..................................................................................................
Pin Arrangement and Functions .....................................................................................
1.3.1 Pin Arrangement.................................................................................................
1.3.2 Pin Functions ......................................................................................................
1
1
5
6
6
8
Section 2
2.1
CPU
................................................................................................................... 13
13
13
14
14
15
15
15
17
17
18
19
20
20
22
26
28
30
31
31
33
37
39
40
42
42
43
45
45
46
46
46
2.2
2.3
2.4
2.5
2.6
2.7
Overview.........................................................................................................................
2.1.1 Features...............................................................................................................
2.1.2 Address Space.....................................................................................................
2.1.3 Register Configuration........................................................................................
Register Descriptions......................................................................................................
2.2.1 General Registers................................................................................................
2.2.2 Control Registers ................................................................................................
2.2.3 Initial Register Values.........................................................................................
Data Formats...................................................................................................................
2.3.1 Data Formats in General Registers .....................................................................
2.3.2 Memory Data Formats........................................................................................
Addressing Modes ..........................................................................................................
2.4.1 Addressing Modes ..............................................................................................
2.4.2 Effective Address Calculation ............................................................................
Instruction Set.................................................................................................................
2.5.1 Data Transfer Instructions ..................................................................................
2.5.2 Arithmetic Operations ........................................................................................
2.5.3 Logic Operations ................................................................................................
2.5.4 Shift Operations ..................................................................................................
2.5.5 Bit Manipulations ...............................................................................................
2.5.6 Branching Instructions........................................................................................
2.5.7 System Control Instructions ...............................................................................
2.5.8 Block Data Transfer Instruction .........................................................................
Basic Operational Timing...............................................................................................
2.6.1 Access to On-Chip Memory (RAM, ROM) .......................................................
2.6.2 Access to On-Chip Peripheral Modules .............................................................
CPU States ......................................................................................................................
2.7.1 Overview.............................................................................................................
2.7.2 Program Execution State ...................................................................................
2.7.3 Program Halt State..............................................................................................
2.7.4 Exception-Handling State...................................................................................
2.8
2.9
Memory Map ..................................................................................................................
2.8.1 Memory Map ......................................................................................................
2.8.2 LCD RAM Address Relocation..........................................................................
Application Notes ...........................................................................................................
2.9.1 Notes on Data Access .........................................................................................
2.9.2 Notes on Bit Manipulation..................................................................................
2.9.3 Notes on Use of the EEPMOV Instruction.........................................................
47
47
52
53
53
55
61
Section 3
3.1
3.2
Exception Handling
...................................................................................... 63
63
63
63
63
65
66
66
68
77
78
79
84
85
85
86
3.3
3.4
Overview.........................................................................................................................
Reset ............................................................................................................................
3.2.1 Overview.............................................................................................................
3.2.2 Reset Sequence ...................................................................................................
3.2.3 Interrupt Immediately after Reset.......................................................................
Interrupts.........................................................................................................................
3.3.1 Overview.............................................................................................................
3.3.2 Interrupt Control Registers .................................................................................
3.3.3 External Interrupts ..............................................................................................
3.3.4 Internal Interrupts ...............................................................................................
3.3.5 Interrupt Operations............................................................................................
3.3.6 Interrupt Response Time.....................................................................................
Application Notes ...........................................................................................................
3.4.1 Notes on Stack Area Use ....................................................................................
3.4.2 Notes on Rewriting Port Mode Registers ...........................................................
Section 4
4.1
Clock Pulse Generators
............................................................................... 89
89
89
89
90
93
95
96
4.2
4.3
4.4
4.5
Overview.........................................................................................................................
4.1.1 Block Diagram....................................................................................................
4.1.2 System Clock and Subclock ...............................................................................
System Clock Generator .................................................................................................
Subclock Generator ........................................................................................................
Prescalers ........................................................................................................................
Note on Oscillators .........................................................................................................
Section 5
5.1
5.2
Power-Down Modes
..................................................................................... 97
5.3
Overview......................................................................................................................... 97
5.1.1 System Control Registers ................................................................................... 100
Sleep Mode ..................................................................................................................... 103
5.2.1 Transition to Sleep Mode.................................................................................... 103
5.2.2 Clearing Sleep Mode .......................................................................................... 103
Standby Mode................................................................................................................. 104