Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Hitachi Manuals
Computer Hardware
H8/500 Series
Hardware manual
Hitachi H8/500 Series Hardware Manual
Hide thumbs
1
2
Table Of Contents
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
page
of
459
Go
/
459
Contents
Table of Contents
Bookmarks
Table of Contents
Table of Contents
Section 1 Overview
Features
Addressing Modes
Block Diagram
Pin Arrangements and Functions
Pin Arrangement
Pin Arrangement (CP-84, Top View)
Section 2 MCU Operating Modes and Address Space
Overview
Operating Modes
Mode Descriptions
Address Space Map
Page Segmentation
Address Space in each Mode
Address Allocations
Mode Control Register (MDCR)
Mode Control Register
Section 3 CPU
Overview
Features
Address Space
CPU Operating Modes
Register Configuration
Registers in the CPU
CPU Register Descriptions
General Registers
Stack Pointer
Control Registers
Interrupt Mask Levels
Interrupt Mask Bits after an Interrupt Is Accepted
Combinations of Page Registers with Other Registers
Short Absolute Addressing Mode and Base Register
Initial Register Values
Data Formats
Data Formats in General Registers
Initial Values of Registers
Data Formats in Memory
General Register Data Formats
Data Formats in Memory
Instructions
Basic Instruction Formats
Data Formats on the Stack
Addressing Modes
Effective Address Calculation
Instruction Set
Overview
Instruction Classification
Data Transfer Instructions
Arithmetic Instructions
Logic Operations
Logic Operation Instructions
Shift Operations
Shift Instructions
Bit Manipulations
Bit-Manipulation Instructions
Branching Instructions
System Control Instructions
Operating Modes
Minimum Mode
Short-Format Instructions and Equivalent General Formats
Maximum Mode
Basic Operational Timing
Overview
On-Chip Memory Access Cycle
On-Chip Memory Access Timing
Pin States During On-Chip Memory Access
Pin States During Access to On-Chip Memory
Register Field Access Cycle (Addresses H'FF80 to H'FFFF)
Register Field Access Timing
Pin States During Register Field Access (Addresses H'FF80 to H'FFFF)
Pin States During Register Field Access
External Access Cycle
CPU States
Overview
Operating States
Power-Down State
Program Execution State
Exception-Handling State
State Transitions
Bus-Released State
Bus-Right Release Cycle (During On-Chip Memory Access Cycle)
Bus-Right Release Cycle (During External Access Cycle)
Bus-Right Release Cycle (During Internal CPU Operation)
Reset State
Power-Down State
Programming Notes
Restriction on Address Location
Note on MULXU Instruction
Section 4 Exception Handling
Overview
Types of Exception Handling and Their Priority
Hardware Exception-Handling Sequence
Exception Factors and Vector Table
Types of Factors Causing Exception Handling
Exception Vector Table
Reset
Overview
Reset Sequence
Stack Pointer Initialization
Reset Vector
Reset Sequence (Minimum Mode, On-Chip Memory)
Reset Sequence (Maximum Mode, External Memory)
Address Error
Illegal Instruction Prefetch
Word Data Access at Odd Address
Off-Chip Address Access in Single-Chip Mode
Trace
Interrupts
Interrupt Sources (and Number of Interrupt Types)
Invalid Instruction
Trap Instructions and Zero Divide
Cases in Which Exception Handling Is Deferred
Instructions that Disable Interrupts
Disabling of Exceptions Immediately after a Reset
Disabling of Interrupts after a Data Transfer Cycle
Stack Status after Completion of Exception Handling
Stack after Exception Handling Sequence
PC Value Pushed on Stack for Trace
Interrupts, Trap Instructions, and Zero Divide Exceptions
Instruction Exceptions
Notes on Use of the Stack
Section 5 Interrupt Controller
Overview
Features
Block Diagram
Interrupt Controller Block Diagram
Register Configuration
Interrupt Types
External Interrupts
Interrupt Controller Registers
Internal Interrupts
Interrupt Vector Table
Interrupts, Vectors, and Priorities
Register Descriptions
Interrupt Priority Registers a to D (IPRA to IPRD)
Assignment of Interrupt Priority Registers
Timing of Priority Setting
Interrupt Handling Sequence
Interrupt Handling Flow
Interrupt Handling Flowchart
Stack Status after Interrupt Handling Sequence
Timing of Interrupt Exception-Handling Sequence
Interrupts During Operation of the Data Transfer Controller
Interrupt Sequence (Minimum Mode, On-Chip Memory)
Interrupt Sequence (Maximum Mode, External Memory)
Interrupt Response Time
Number of States before Interrupt Service
Section 6 Data Transfer Controller
Overview
Features
Block Diagram
Register Configuration
Data Transfer Mode Register (DTMR)
Block Diagram of Data Transfer Controller
Internal Control Registers of the DTC
Data Transfer Enable Registers
Data Transfer Source Address Register (DTSR)
Data Transfer Destination Register (DTDR)
Data Transfer Count Register (DTCR)
Data Transfer Enable Registers a to D (DTEA to DTED)
Assignment of Data Transfer Enable Registers
Data Transfer Operation
Data Transfer Cycle
Flowchart of Data Transfer Cycle
DTC Vector Table
DTC Vector Table Entry
Addresses of DTC Vectors
Location of Register Information in Memory
Length of Data Transfer Cycle
Order of Register Information
Number of States Per Data Transfer
Procedure for Using the DTC
Number of States before Interrupt Service
Example
DTC Control Register Information Set in RAM
Use of DTC to Receive Data Via Serial Communication Interface
Section 7 Wait-State Controller
Overview
Features
Block Diagram
Register Configuration
Block Diagram of Wait-State Controller
Wait-State Control Register
Operation in each Wait Mode
Programmable Wait Mode
Wait Modes
Pin Wait Mode
Programmable Wait Mode
Pin Wait Mode
Pin Auto-Wait Mode
Section 8 Clock Pulse Generator
Overview
Block Diagram
Oscillator Circuit
Block Diagram of Clock Pulse Generator
Connection of Crystal Oscillator (Example)
Crystal Oscillator Equivalent Circuit
External Crystal Parameters
Notes on Board Design Around External Crystal
External Clock Input (Example)
System Clock Divider
Phase Relationship of Ø Clock and E Clock
Section 9 I/O Ports
Overview
Input/Output Port Summary
Port 1
Overview
Port 1 Registers
Pin Functions
And P1
Pin Functions in each Mode
Port 1 Pin Functions in Expanded Modes
Port 1 Pin Functions in Single-Chip Modes
Port 2
Port 2 Registers
Pin Functions in each Mode
Port 2 Pin Functions in Expanded Modes
Port 3
Overview
Port 2 Pin Functions in Single-Chip Mode
Port 3 Registers
Pin Functions in each Mode
Port 3 Pin Functions in Expanded Modes
Port 3 Pin Functions in Single-Chip Mode
Port 4
Port 4 Registers
Pin Functions in each Mode
Port 4 Pin Functions in Expanded Modes
Overview
Port 4 Pin Functions in Single-Chip Mode
Port 5 Registers
Pin Functions in each Mode
Port 5 Pin Functions in Single-Chip Mode
Built-In MOS Pull
Overview
Port 6 Registers
Port 7
Overview
Port 7 Registers
Pin Functions
Port 7 Pin Functions
Port 8
Overview
Port 8 Registers
Port 9
Overview
Port 9 Registers
Port 9 Pin Functions
Pin Functions
Section 10 16-Bit Free-Running Timers
Overview
Features
Block Diagram
Block Diagram of 16-Bit Free-Running Timer
Input and Output Pins
Input and Output Pins of Free-Running Timer Module
Register Configuration
Register Descriptions
Free-Running Counter (FRC)-H'FF92, H'FFA2, H'FFB2
Input Capture Register (ICR)-H'FF98, H'FFA8, H'FFB8
Timer Control Register (TCR)
Timer Control/Status Register (TCSR)
CPU Interface
Operation
FRC Incrementation Timing
Output Compare Timing
Increment Timing for External Clock Input
Setting of Output Compare Flags
Timing of Output Compare
Input Capture Timing
Clearing of FRC by Compare-Match
Input Capture Timing (Usual Case)
Input Capture Timing (1-State Delay)
Setting of Input Capture Flag
Setting of FRC Overflow Flag (OVF)
CPU Interrupts and DTC Interrupts
Setting of Overflow Flag (OVF)
Free-Running Timer Interrupts
Synchronization of Free-Running Timers 1
Synchronization after a Reset
Synchronization by Writing to Frcs
Sample Application
Application Notes
Contention between OCR Write and Compare-Match
Effect of Changing Internal Clock Sources
Effect of Changing Internal Clock Sources
Section 11 8-Bit Timer
Overview
Features
Block Diagram
Block Diagram of 8-Bit Timer
Input and Output Pins
Register Configuration
Register Descriptions
Timer Counter (TCNT)-H'FFD4
Input and Output Pins of 8-Bit Timer
Time Constant Registers a and B
Timer Control Register (TCR)-H'FFD0
Timer Control/Status Register (TCSR)
Advertisement
Quick Links
1
Section 1 Overview
2
Block Diagram
Download this manual
H8/532 Hardware Manual
Downloaded from
Elcodis.com
electronic components distributor
Table of
Contents
Previous
Page
Next
Page
1
2
3
4
5
Advertisement
Table of Contents
Need help?
Do you have a question about the H8/500 Series and is the answer not in the manual?
Ask a question
Questions and answers
Related Manuals for Hitachi H8/500 Series
Computer Hardware Hitachi H8/532 Hardware Manual
(459 pages)
Computer Hardware Hitachi H8S/2378, H8S/2378R Series Hardware Manual
16 bit single-chip microcomputer (949 pages)
Computer Hardware Hitachi H8S/2199 Hardware Manual
Single-chip microcomputer (1144 pages)
Computer Hardware Hitachi H8/3062 Hardware Manual
Single-chip microcomputer (939 pages)
Computer Hardware Hitachi H8/3062 Hardware Manual
Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series (995 pages)
Computer Hardware Hitachi H8/3664 Hardware Manual
(463 pages)
Computer Hardware Hitachi H8/300H Series Programming Manual
(257 pages)
Computer Hardware Hitachi H8/3672 Series Hardware Manual
Single-chip microcomputer (305 pages)
Computer Hardware Hitachi H8/300L Series Manual
Single-chip microcomputer (119 pages)
Computer Hardware Hitachi HD6473867 Hardware Manual
H8/3867 series, h8/3867 series (480 pages)
Computer Hardware Hitachi H8/3048 Hardware Manual
Single-chip microcomputer (867 pages)
Computer Hardware Hitachi H8/329 Series Hardware Manual
Single-chip microcomputer (328 pages)
Computer Hardware Hitachi H8/3827R Series Hardware Manual
(481 pages)
Computer Hardware Hitachi H8/3032 Series Hardware Manual
(572 pages)
Computer Hardware Hitachi H8S/2338 Series Hardware Manual
(714 pages)
Computer Hardware Hitachi F-ZTAT H8/3039 Series Hardware Manual
Single-chip microcomputer (689 pages)
This manual is also suitable for:
H8/532
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL
Need help?
Do you have a question about the H8/500 Series and is the answer not in the manual?
Questions and answers