Sign In
Upload
Manuals
Brands
Hitachi Manuals
Computer Hardware
HD6433061B
User Manuals: Hitachi HD6433061B Computer Hardware
Manuals and User Guides for Hitachi HD6433061B Computer Hardware. We have
1
Hitachi HD6433061B Computer Hardware manual available for free PDF download: Hardware Manual
Hitachi HD6433061B Hardware Manual (995 pages)
Single-Chip Microcomputer H8/3062 Series; H8/3062B Series; H8/3062F-ZTAT series; H8/3064F-ZTAT series
Brand:
Hitachi
| Category:
Computer Hardware
| Size: 4.08 MB
Table of Contents
Table of Contents
17
Section 1 Overview
49
Overview
49
Tables
50
Table 1.1 Features
50
Block Diagram
55
Figure 1.1 Block Diagram
55
Figures
55
Pin Description
56
Pin Arrangement
56
Table 1.2 Comparison of H8/3062 Series Pin Arrangements
56
Figure 1.2 Pin Arrangement of H8/3062F-ZTAT, H8/3062F-ZTAT R-Mask Version
57
Figure 1.3 Pin Arrangement of H8/3062F-ZTAT, H8/3062F-ZTAT R-Mask Version
58
Figure 1.4 Pin Arrangement of H8/3064F-ZTAT B-Mask Version
59
H8/3062F-ZTAT B-Mask Version, H8/3064 Mask ROM B-Mask Version
59
Figure 1.5 Pin Arrangement of H8/3064F-ZTAT B-Mask Version
60
Pin Functions
61
Table 1.3 Pin Functions
61
Pin Assignments in each Mode
66
Table 1.4 Pin Assignments in each Mode (FP-100B or TFP-100B, FP-100A)
66
Notes on H8/3062F-ZTAT R-Mask Version
70
Pin Arrangement
70
Product Type Names and Markings
71
Differences between H8/3062F-ZTAT and H8/3062F-ZTAT R-Mask Version
71
Table 1.5 Differences in H8/3062F-ZTAT and H8/3062F-ZTAT R-Mask Version
71
Notes on H8/3064F-ZTAT B-Mask Version, H8/3062F-ZTAT B-Mask Version
72
H8/3061 Mask ROM B-Mask Version, and H8/3060 Mask ROM B-Mask Version
72
Table 1.6 Differences between H8/3062F-ZTAT, H8/3062F-ZTAT R-Mask Version, and On-Chip Mask ROM Versions
72
Pin Arrangement
73
Product Type Names and Markings
73
Table 1.7 Differences in H8/3062F-ZTAT R-Mask Version, H8/3062F-ZTAT B-Mask Version, and H8/3064F-ZTAT B-Mask Version Markings
73
VCL Pin
74
Figure 1.6 H8/3062F-ZTAT B-Mask Version, H8/3064F-ZTAT B-Mask Version, and On-Chip Mask ROM B-Mask Versions
74
Notes on Changeover to On-Chip Mask ROM Versions and On-Chip Mask ROM B-Mask Versions
75
Figure 1.7 Example of Board Pattern Providing for External Capacitor
75
Caution on Crystal Resonator Connection
76
Setting Oscillation Settling Wait Time
76
Section 2 CPU
77
Overview
77
Features
77
Differences from H8/300 CPU
78
CPU Operating Modes
79
Address Space
79
Figure 2.1 CPU Operating Modes
79
Figure 2.2 Memory Map
79
Register Configuration
80
Overview
80
Figure 2.3 CPU Registers
80
2.4.2 General Registers
81
Figure 2.4 Usage of General Registers
81
Figure 2.5 Stack
81
Table 3.2 Registers
81
Control Registers
82
Initial CPU Register Values
83
Data Formats
84
General Register Data Formats
84
Figure 2.6 General Register Data Formats
84
Memory Data Formats
85
Figure 2.7 General Register Data Formats
85
Figure 2.8 Memory Data Formats
86
Instruction Set
87
Instruction Set Overview
87
Table 2.1 Instruction Classification
87
Instructions and Addressing Modes
88
Table 2.2 Instructions and Addressing Modes
88
Tables of Instructions Classified by Function
89
Table 2.3 Data Transfer Instructions
90
Table 2.4 Arithmetic Operation Instructions
91
Table 2.5 Logic Operation Instructions
93
Table 2.6 Shift Instructions
93
Table 2.7 Bit Manipulation Instructions
94
Table 2.8 Branching Instructions
96
Table 2.9 System Control Instructions
97
Basic Instruction Formats
98
Table 2.10 Block Transfer Instruction
98
Notes on Use of Bit Manipulation Instructions
99
Figure 2.9 Instruction Formats
99
Addressing Modes and Effective Address Calculation
101
Addressing Modes
101
Table 2.11 Addressing Modes
101
Table 2.12 Absolute Address Access Ranges
102
Effective Address Calculation
103
Figure 2.10 Memory-Indirect Branch Address Specification
103
Table 2.13 Effective Address Calculation
104
Processing States
107
Overview
107
Program Execution State
107
Figure 2.11 Processing States
107
Exception-Handling State
108
Figure 2.12 Classification of Exception Sources
108
Table 2.14 Exception Handling Types and Priority
108
Exception Handling Operation
109
Figure 2.13 State Transitions
109
Bus-Released State
110
Reset State
110
Figure 2.14 Stack Structure after Exception Handling
110
Power-Down State
111
Basic Operational Timing
111
Overview
111
On-Chip Memory Access Timing
111
On-Chip Supporting Module Access Timing
112
Figure 2.15 On-Chip Memory Access Cycle
112
Figure 2.16 Pin States During On-Chip Memory Access (Address Update Mode 1)
112
Access to External Address Space
113
Figure 2.17 Access Cycle for On-Chip Supporting Modules
113
Figure 2.18 Pin States During Access to On-Chip Supporting Modules
113
Section 3 MCU Operating Modes
115
Overview
115
Operating Mode Selection
115
Table 3.1 Operating Mode Selection
115
Register Configuration
116
Mode Control Register (MDCR)
116
System Control Register (SYSCR)
117
Operating Mode Descriptions
120
Mode 1
120
Mode 2
120
Mode 3
120
Mode 4
120
Mode 5
120
Mode 6
121
Mode 7
121
Pin Functions in each Operating Mode
121
Table 3.3 Pin Functions in each Mode
121
Memory Map in each Operating Mode
122
Comparison of H8/3062 Series Memory Maps
122
Table 3.4 Address Maps in Mode 5
122
Reserved Areas
123
Figure 3.1 Memory Map of H8/3062F-ZTAT, H8/3062F-ZTAT R-Mask Version
124
H8/3062F-ZTAT B-Mask Version, H8/3062 Mask ROM Version, and H8/3062 Mask ROM B-Mask Version in each Operating Mode
124
Figure 3.2 Memory Map of H8/3061 Mask ROM Version and H8/3061 Mask ROM B-Mask Version in each Operating Mode
126
Figure 3.3 Memory Map of H8/3060 Mask ROM Version and H8/3060 Mask ROM B-Mask Version in each Operating Mode
128
Figure 3.4 H8/3064F-ZTAT B-Mask Version and H8/3064 Mask ROM B-Mask Version Memory Map in each Operating Mode
130
Section 4 Exception Handling
133
Overview
133
Exception Handling Types and Priority
133
Exception Handling Operation
133
Table 4.1 Exception Types and Priority
133
Exception Vector Table
134
Figure 4.1 Exception Sources
134
Table 4.2 Exception Vector Table
135
Reset
136
Overview
136
Reset Sequence
136
Figure 4.2 Reset Sequence (Modes 1 and 3)
137
Figure 4.3 Reset Sequence (Modes 2 and 4)
138
Interrupts after Reset
139
Figure 4.4 Reset Sequence (Mode 6)
139
Interrupts
140
Trap Instruction
140
Figure 4.5 Interrupt Sources and Number of Interrupts
140
Stack Status after Exception Handling
141
Figure 4.6 Stack after Completion of Exception Handling
141
Notes on Stack Usage
142
Figure 4.7 Operation When SP Value Is Odd
143
Section 5 Interrupt Controller
145
Overview
145
Features
145
Block Diagram
146
Figure 5.1 Interrupt Controller Block Diagram
146
Pin Configuration
147
Register Configuration
147
Register Descriptions
147
System Control Register (SYSCR)
147
Table 5.1 Interrupt Pins
147
Table 5.2 Interrupt Controller Registers
147
Interrupt Priority Registers a and B (IPRA, IPRB)
148
IRQ Status Register (ISR)
153
IRQ Enable Register (IER)
154
IRQ Sense Control Register (ISCR)
155
Interrupt Sources
156
External Interrupts
156
Figure 5.2 Block Diagram of Interrupts IRQ to IRQ 5
156
Internal Interrupts
157
Interrupt Exception Handling Vector Table
157
Figure 5.3 Timing of Setting of Irqnf
157
Table 5.3 Interrupt Sources, Vector Addresses, and Priority
158
Interrupt Operation
161
Interrupt Handling Process
161
Table 5.4 UE, I, and UI Bit Settings and Interrupt Handling
161
Figure 5.4 Process up to Interrupt Acceptance When UE = 1
162
Figure 5.5 Interrupt Masking State Transitions (Example)
164
Figure 5.6 Process up to Interrupt Acceptance When UE = 0
165
Interrupt Exception Handling Sequence
166
Figure 5.7 Interrupt Exception Handling Sequence
166
Interrupt Response Time
167
Table 5.5 Interrupt Response Time
167
Usage Notes
168
Contention between Interrupt and Interrupt-Disabling Instruction
168
Figure 5.8 Contention between Interrupt and Interrupt-Disabling Instruction
168
Instructions that Inhibit Interrupts
169
Interrupts During EEPMOV Instruction Execution
169
Section 6 Bus Controller
171
Overview
171
Features
171
Block Diagram
172
Figure 6.1 Block Diagram of Bus Controller
172
Pin Configuration
173
Table 6.1 Bus Controller Pins
173
Register Configuration
174
Register Descriptions
174
Bus Width Control Register (ABWCR)
174
Table 6.2 Bus Controller Registers
174
Access State Control Register (ASTCR)
175
Wait Control Registers H and L (WCRH, WCRL)
176
Bus Release Control Register (BRCR)
180
Bus Control Register (BCR)
181
Chip Select Control Register (CSCR)
183
Address Control Register (ADRCR)
184
Operation
185
Area Division
185
Figure 6.2 Access Area Map for each Operating Mode
185
Figure 6.3 Memory Map in 16-Mbyte Mode
186
Version, H8/3062 Mask ROM Version, H8/3061 Mask ROM Version, H8/3062 Mask ROM B-Mask Version, H8/3061 Mask ROM B-Mask Version) (1)
186
Figure 6.3 Memory Map in 16-Mbyte Mode (H8/3060 Mask ROM Version, H8/3060 Mask ROM B-Mask Version) (2)
187
Figure 6.3 Memory Map in 16-Mbyte Mode (H8/3064F-ZTAT B-Mask Version, H8/3064 Mask ROM B-Mask Version) (3)
188
Bus Specifications
189
Table 6.3 Bus Specifications for each Area (Basic Bus Interface)
189
Memory Interfaces
190
Chip Select Signals
190
Figure 6.4 Csn Signal Output Timing (N = 0 to 7)
190
Address Output Method
191
Figure 6.5 Sample Address Output in each Address Update Mode (Basic Bus Interface, 3-State Space)
191
Figure 6.6 Example of Consecutive External Space Accesses in Address Update Mode 2
192
Basic Bus Interface
193
Overview
193
Data Size and Data Alignment
193
Figure 6.7 Access Sizes and Data Alignment Control (8-Bit Access Area)
193
Valid Strobes
194
Figure 6.8 Access Sizes and Data Alignment Control (16-Bit Access Area)
194
Table 6.4 Data Buses Used and Valid Strobes
194
Memory Areas
195
Basic Bus Control Signal Timing
196
Figure 6.9 Bus Control Signal Timing for 8-Bit, Three-State-Access Area
196
Figure 6.10 Bus Control Signal Timing for 8-Bit, Two-State-Access Area
197
Figure 6.11 Bus Control Signal Timing for 16-Bit, Three-State-Access Area
198
Figure 6.12 Bus Control Signal Timing for 16-Bit, Three-State-Access Area
200
Wait Control
203
Figure 6.15 Bus Control Signal Timing for 16-Bit, Two-State-Access Area
203
Figure 6.16 Bus Control Signal Timing for 16-Bit, Two-State-Access Area (3) (Word Access)
203
Figure 6.17 Example of Wait State Insertion Timing
204
Idle Cycle
205
Operation
205
Figure 6.18 Example of Idle Cycle Operation (ICIS1 = 1)
205
Figure 6.19 Example of Idle Cycle Operation (ICIS0 = 1)
206
Figure 6.20 Example of Idle Cycle Operation
206
Pin States in Idle Cycle
207
Bus Arbiter
207
Table 6.5 Pin States in Idle Cycle
207
Operation
208
Figure 6.21 Example of External Bus Master Operation
209
Register and Pin Input Timing
210
Register Write Timing
210
Figure 6.22 ASTCR Write Timing
210
Figure 6.23 DDR Write Timing
210
BREQ Pin Input Timing
211
Figure 6.24 BRCR Write Timing
211
Section 7 I/O Ports
213
Overview
213
Table 7.1 Port Functions
213
Port 1
217
Overview
217
Register Descriptions
217
Figure 7.1 Port 1 Pin Configuration
217
Table 7.2 Port 1 Registers
217
Port 2
220
Overview
220
Figure 7.2 Port 2 Pin Configuration
220
Register Descriptions
221
Table 7.3 Port 2 Registers
221
Table 7.4 Input Pull-Up Transistor States (Port 2)
223
Port 3
224
Overview
224
Register Descriptions
224
Figure 7.3 Port 3 Pin Configuration
224
Table 7.5 Port 3 Registers
224
Port 4
226
Overview
226
Figure 7.4 Port 4 Pin Configuration
226
Register Descriptions
227
Table 7.6 Port 4 Registers
227
Port 5
229
Overview
229
Figure 7.5 Port 5 Pin Configuration
229
Table 7.7 Input Pull-Up Transistor States (Port 4)
229
Register Descriptions
230
Table 7.8 Port 5 Registers
230
Port 6
232
Overview
232
Table 7.9 Input Pull-Up Transistor States (Port 5)
232
Register Descriptions
233
Figure 7.6 Port 6 Pin Configuration
233
Table 7.10 Port 6 Registers
233
Table 7.11 Port 6 Pin Functions in Modes 1 to 5
235
Port 7
236
Overview
236
Figure 7.7 Port 7 Pin Configuration
236
Register Description
237
Table 7.12 Port 7 Data Register
237
Port 8
238
Overview
238
Figure 7.8 Port 8 Pin Configuration
238
Register Descriptions
239
Table 7.13 Port 8 Registers
239
Table 7.14 Port 8 Pin Functions in Modes 1 to 5
241
Table 7.15 Port 8 Pin Functions in Modes 6 and 7
242
Port 9
243
Overview
243
Figure 7.9 Port 9 Pin Configuration
243
Register Descriptions
244
Table 7.16 Port 9 Registers
244
Table 7.17 Port 9 Pin Functions
246
Port a
248
Overview
248
Figure 7.10 Port a Pin Configuration
249
Register Descriptions
250
Table 7.18 Port a Registers
250
Table 7.19 Port a Pin Functions (Modes 1, 2, 6, and 7)
252
Table 7.20 Port a Pin Functions (Modes 3 to 5)
254
Table 7.21 Port a Pin Functions (Modes 1 to 7)
257
Port B
260
Overview
260
Figure 7.11 Port B Pin Configuration
261
Register Descriptions
262
Table 7.22 Port B Registers
262
Table 7.23 Port B Pin Functions (Modes 1 to 5)
264
Table 7.24 Port B Pin Functions (Modes 6 and 7)
266
Section 8 16-Bit Timer
269
Overview
269
Features
269
Table 8.1 16-Bit Timer Functions
270
Block Diagrams
271
Figure 8.1 16-Bit Timer Block Diagram (Overall)
271
Figure 8.2 Block Diagram of Channels 0 and 1
272
Figure 8.3 Block Diagram of Channel 2
273
Pin Configuration
274
Table 8.2 16-Bit Timer Pins
274
Register Configuration
275
Table 8.3 16-Bit Timer Registers
275
Register Descriptions
276
Timer Start Register (TSTR)
276
Timer Synchro Register (TSNC)
277
Timer Mode Register (TMDR)
278
Timer Interrupt Status Register a (TISRA)
281
Timer Interrupt Status Register B (TISRB)
283
Timer Interrupt Status Register C (TISRC)
286
Timer Counters (16TCNT)
288
General Registers (GRA, GRB)
289
Timer Control Registers (16TCR)
290
Timer I/O Control Register (TIOR)
292
Timer Output Level Setting Register C (TOLR)
294
CPU Interface
296
16-Bit Accessible Registers
296
Figure 8.4 16TCNT Access Operation [CPU → 16TCNT (Word)]
296
Figure 8.5 Access to Timer Counter (CPU Reads 16TCNT, Word)
296
Figure 8.6 Access to Timer Counter H (CPU Writes to 16TCNTH, Upper Byte)
297
Figure 8.7 Access to Timer Counter L (CPU Writes to 16TCNTL, Lower Byte)
297
Figure 8.8 Access to Timer Counter H (CPU Reads 16TCNTH, Upper Byte)
297
8-Bit Accessible Registers
298
Figure 8.9 Access to Timer Counter L (CPU Reads 16TCNTL, Lower Byte)
298
Figure 8.10 16TCR Access (CPU Writes to 16TCR)
298
Figure 8.11 16TCR Access (CPU Reads 16TCR)
298
Operation
299
Overview
299
Basic Functions
299
Figure 8.12 Counter Setup Procedure (Example)
300
Figure 8.13 Free-Running Counter Operation
301
Figure 8.14 Periodic Counter Operation
301
Figure 8.15 Count Timing for Internal Clock Sources
302
Figure 8.16 Count Timing for External Clock Sources (When both Edges Are Detected)
302
Figure 8.17 Setup Procedure for Waveform Output by Compare Match (Example)
303
Figure 8.18 0 and 1 Output (TOA = 1, TOB = 0)
304
Figure 8.19 Toggle Output (TOA = 1, TOB = 0)
304
Figure 8.20 Output Compare Output Timing
305
Figure 8.21 Setup Procedure for Input Capture (Example)
306
Figure 8.22 Input Capture (Example)
306
Synchronization
307
Figure 8.23 Input Capture Signal Timing
307
Figure 8.24 Setup Procedure for Synchronization (Example)
308
PWM Mode
309
Figure 8.25 Synchronization (Example)
309
Table 8.4 PWM Output Pins and Registers
309
Figure 8.26 Setup Procedure for PWM Mode (Example)
310
Figure 8.27 PWM Mode (Example 1)
311
Figure 8.28 PWM Mode (Example 2)
312
Phase Counting Mode
313
Figure 8.29 Setup Procedure for Phase Counting Mode (Example)
313
Figure 8.30 Operation in Phase Counting Mode (Example)
314
Figure 8.31 Phase Difference, Overlap, and Pulse Width in Phase Counting Mode
314
Table 8.5 Up/Down Counting Conditions
314
16-Bit Timer Output Timing
315
Figure 8.32 Timing for Setting 16-Bit Timer Output Level by Writing to TOLR
315
Interrupts
316
Setting of Status Flags
316
Figure 8.33 Timing of Setting of IMFA and IMFB by Compare Match
316
Figure 8.34 Timing of Setting of IMFA and IMFB by Input Capture
317
Timing of Clearing of Status Flags
318
Figure 8.35 Timing of Setting of OVF
318
Figure 8.36 Timing of Clearing of Status Flags
318
Interrupt Sources
319
Table 8.6 16-Bit Timer Interrupt Sources
319
Usage Notes
320
Figure 8.37 Contention between 16TCNT Write and Clear
320
Figure 8.38 Contention between 16TCNT Word Write and Increment
321
Figure 8.39 Contention between 16TCNT Byte Write and Increment
322
Figure 8.40 Contention between General Register Write and Compare Match
323
Figure 8.41 Contention between 16TCNT Write and Overflow
324
Figure 8.42 Contention between General Register Read and Input Capture
325
Figure 8.43 Contention between Counter Clearing by Input Capture and Counter Increment
326
Figure 8.44 Contention between General Register Write and Input Capture
327
Table 8.7 (A) 16-Bit Timer Operating Modes (Channel 0)
329
Table 8.7 (B) 16-Bit Timer Operating Modes (Channel 1)
330
Table 8.7 (C) 16-Bit Timer Operating Modes (Channel 2)
331
8-Bit Timers
333
Overview
333
Features
333
Section 9 8-Bit Timers
333
Block Diagram
335
Figure 9.1 Block Diagram of 8-Bit Timer Unit (Two Channels: Group 0)
335
Pin Configuration
336
Table 9.1 8-Bit Timer Pins
336
Register Configuration
337
Table 9.2 8-Bit Timer Registers
337
Register Descriptions
338
Timer Counters (8TCNT)
338
Time Constant Registers a (TCORA)
339
Time Constant Registers B (TCORB)
340
Timer Control Register (8TCR)
341
Timer Control/Status Registers (8TCSR)
344
Table 9.3 Operation of Channels 0 and 1 When Bit ICE Is Set to 1 in 8TCSR1 Register
347
Table 9.4 Operation of Channels 2 and 3 When Bit ICE Is Set to 1 in 8TCSR3 Register
347
CPU Interface
349
8-Bit Registers
349
Figure 9.2 8TCNT Access Operation (CPU Writes to 8TCNT, Word)
349
Figure 9.3 8TCNT Access Operation (CPU Reads 8TCNT, Word)
349
Figure 9.4 8TCNT0 Access Operation (CPU Writes to 8TCNT0, Upper Byte)
349
Figure 9.5 8TCNT1 Access Operation (CPU Writes to 8TCNT1, Lower Byte)
350
Figure 9.6 8TCNT0 Access Operation (CPU Reads 8TCNT0, Upper Byte)
350
Figure 9.7 8TCNT1 Access Operation (CPU Reads 8TCNT1, Lower Byte)
350
Operation
351
8TCNT Count Timing
351
Figure 9.8 Count Timing for Internal Clock Input
351
Compare Match Timing
352
Figure 9.9 Count Timing for External Clock Input (Both-Edge Detection)
352
Figure 9.10 Timing of Timer Output
352
Input Capture Signal Timing
353
Figure 9.11 Timing of Clear by Compare Match
353
Figure 9.12 Timing of Clear by Input Capture
353
Timing of Status Flag Setting
354
Figure 9.13 Timing of Input Capture Input Signal
354
Figure 9.14 CMF Flag Setting Timing When Compare Match Occurs
354
Operation with Cascaded Connection
355
Figure 9.15 CMFB Flag Setting Timing When Input Capture Occurs
355
Figure 9.16 Timing of OVF Setting
355
Input Capture Setting
358
Interrupt
359
Interrupt Sources
359
Table 9.5 Types of 8-Bit Timer Interrupt Sources and Priority Order
359
Table 9.6 8-Bit Timer Interrupt Sources
359
A/D Converter Activation
360
8-Bit Timer Application Example
360
Figure 9.17 Example of Pulse Output
360
Usage Notes
361
Contention between 8TCNT Write and Clear
361
Figure 9.18 Contention between 8TCNT Write and Clear
361
Contention between 8TCNT Write and Increment
362
Figure 9.19 Contention between 8TCNT Write and Increment
362
Contention between TCOR Write and Compare Match
363
Figure 9.20 Contention between TCOR Write and Compare Match
363
Contention between TCOR Read and Input Capture
364
Figure 9.21 Contention between TCOR Read and Input Capture
364
Contention between Counter Clearing by Input Capture and Counter Increment
365
Figure 9.22 Contention between Counter Clearing by Input Capture and Counter Increment
365
Contention between TCOR Write and Input Capture
366
Figure 9.23 Contention between TCOR Write and Input Capture
366
Contention between 8TCNT Byte Write and Increment in 16-Bit Count Mode (Cascaded Connection)
367
Figure 9.24 Contention between 8TCNT Byte Write and Increment in 16-Bit Count Mode
367
Contention between Compare Matches a and B
368
8TCNT Operation and Internal Clock Source Switchover
368
Table 9.7 Timer Output Priority Order
368
Table 9.8 Internal Clock Switchover and 8TCNT Operation
369
Section 10 Programmable Timing Pattern Controller (TPC)
371
Overview
371
Features
371
Block Diagram
372
Figure 10.1 TPC Block Diagram
372
Pin Configuration
373
Table 10.1 TPC Pins
373
Register Configuration
374
Table 10.2 TPC Registers
374
Register Descriptions
375
Port a Data Direction Register (PADDR)
375
Port a Data Register (PADR)
375
Port B Data Direction Register (PBDDR)
376
Port B Data Register (PBDR)
376
Next Data Register a (NDRA)
377
Next Data Register B (NDRB)
379
Next Data Enable Register a (NDERA)
381
Next Data Enable Register B (NDERB)
382
TPC Output Control Register (TPCR)
383
TPC Output Mode Register (TPMR)
385
Operation
387
Overview
387
Figure 10.2 TPC Output Operation
387
Table 10.3 TPC Operating Conditions
387
Output Timing
388
Figure 10.3 Timing of Transfer of Next Data Register Contents and Output (Example)
388
Normal TPC Output
389
Figure 10.4 Setup Procedure for Normal TPC Output (Example)
389
Figure 10.5 Normal TPC Output Example (Five-Phase Pulse Output)
390
Non-Overlapping TPC Output
391
Figure 10.6 Setup Procedure for Non-Overlapping TPC Output (Example)
391
Figure 10.7 Non-Overlapping TPC Output Example
392
TPC Output Triggering by Input Capture
393
Figure 10.8 TPC Output Triggering by Input Capture (Example)
393
Usage Notes
394
Operation of TPC Output Pins
394
Note on Non-Overlapping Output
394
Figure 10.9 Non-Overlapping TPC Output
394
Figure 10.10 Non-Overlapping Operation and NDR Write Timing
395
Section 11 Watchdog Timer
397
Overview
397
Features
397
Block Diagram
398
Pin Configuration
398
Figure 11.1 WDT Block Diagram
398
Table 11.1 WDT Pin
398
Register Configuration
399
Register Descriptions
399
Timer Counter (TCNT)
399
Table 11.2 WDT Registers
399
Timer Control/Status Register (TCSR)
400
Reset Control/Status Register (RSTCSR)
402
Notes on Register Rewriting
403
Figure 11.2 Format of Data Written to TCNT and TCSR
403
Figure 11.3 Format of Data Written to RSTCSR
404
Table 11.3 Read Addresses of TCNT, TCSR, and RSTCSR
404
Operation
405
Watchdog Timer Operation
405
Figure 11.4 Operation in Watchdog Timer Mode
405
Interval Timer Operation
406
Timing of Setting of Overflow Flag (OVF)
406
Figure 11.5 Interval Timer Operation
406
Figure 11.6 Timing of Setting of OVF
406
Timing of Setting of Watchdog Timer Reset Bit (WRST)
407
Figure 11.7 Timing of Setting of WRST Bit and Internal Reset
407
Interrupts
408
Usage Notes
408
Figure 11.8 Contention between TCNT Write and Count up
408
Section 12 Serial Communication Interface
409
Overview
409
Features
409
Block Diagram
411
Figure 12.1 SCI Block Diagram
411
Pin Configuration
412
Table 12.1 SCI Pins
412
Register Configuration
413
Table 12.2 SCI Registers
413
Register Descriptions
414
Receive Shift Register (RSR)
414
Receive Data Register (RDR)
414
Transmit Shift Register (TSR)
415
Transmit Data Register (TDR)
415
Serial Mode Register (SMR)
416
Serial Control Register (SCR)
419
Serial Status Register (SSR)
423
Bit Rate Register (BRR)
428
Table 12.3 Examples of Bit Rates and BRR Settings in Asynchronous Mode
429
Table 12.4 Examples of Bit Rates and BRR Settings in Synchronous Mode
432
Table 12.5 Maximum Bit Rates for Various Frequencies (Asynchronous Mode)
434
Table 12.6 Maximum Bit Rates with External Clock Input (Asynchronous Mode)
435
Operation
436
Overview
436
Table 12.7 Maximum Bit Rates with External Clock Input (Synchronous Mode)
436
Table 12.8 SMR Settings and Serial Communication Formats
438
Table 12.9 SMR and SCR Settings and SCI Clock Source Selection
438
Operation in Asynchronous Mode
439
Figure 12.2 Data Format in Asynchronous Communication (Example: 8-Bit Data with Parity and 2 Stop Bits)
439
Table 12.10 Serial Communication Formats (Asynchronous Mode)
440
Figure 12.3 Phase Relationship between Output Clock and Serial Data (Asynchronous Mode)
441
Figure 12.4 Sample Flowchart for SCI Initialization
442
Figure 12.5 Sample Flowchart for Transmitting Serial Data
443
Figure 12.6 Example of SCI Transmit Operation in Asynchronous Mode (8-Bit Data with Parity and One Stop Bit)
444
Figure 12.7 Sample Flowchart for Receiving Serial Data
445
Table 12.11 Receive Error Conditions
447
Multiprocessor Communication
448
Figure 12.8 Example of SCI Receive Operation (8-Bit Data with Parity and One Stop Bit)
448
Figure 12.9 Example of Communication Among Processors Using Multiprocessor Format (Sending Data H'AA to Receiving Processor A)
449
Figure 12.10 Sample Flowchart for Transmitting Multiprocessor Serial Data
450
Figure 12.11 Example of SCI Transmit Operation (8-Bit Data with Multiprocessor Bit and One Stop Bit)
451
Figure 12.12 Sample Flowchart for Receiving Multiprocessor Serial Data
452
Figure 12.13 Example of SCI Receive Operation (8-Bit Data with Multiprocessor Bit and One Stop Bit)
454
Synchronous Operation
455
Figure 12.14 Data Format in Synchronous Communication
455
Figure 12.15 Sample Flowchart for SCI Initialization
456
Figure 12.16 Sample Flowchart for Serial Transmitting
457
Figure 12.17 Example of SCI Transmit Operation
458
Figure 12.18 Sample Flowchart for Serial Receiving
459
Figure 12.19 Example of SCI Receive Operation
461
Figure 12.20 Sample Flowchart for Simultaneous Serial Transmitting and Receiving
462
SCI Interrupts
463
Table 12.12 SCI Interrupt Sources
463
Usage Notes
464
Notes on Use of SCI
464
Table 12.13 SSR Status Flags and Transfer of Receive Data
464
Figure 12.21 Receive Data Sampling Timing in Asynchronous Mode
465
Figure 12.22 Example of Synchronous Transmission
466
Figure 12.23 Operation When Switching from SCK Pin Function to Port Pin Function
467
Figure 12.24 Operation When Switching from SCK Pin Function to Port Pin Function (Example of Preventing Low-Level Output)
468
Section 13 Smart Card Interface
469
Overview
469
Features
469
Block Diagram
470
Pin Configuration
470
Figure 13.1 Block Diagram of Smart Card Interface
470
Table 13.1 Smart Card Interface Pins
470
Register Configuration
471
Table 13.2 Smart Card Interface Registers
471
Register Descriptions
472
Smart Card Mode Register (SCMR)
472
Serial Status Register (SSR)
474
Serial Mode Register (SMR)
475
Serial Control Register (SCR)
476
Operation
477
Overview
477
Pin Connections
477
Data Format
478
Figure 13.2 Smart Card Interface Connection Diagram
478
Figure 13.3 Smart Card Interface Data Format
479
Register Settings
480
Table 13.3 Smart Card Interface Register Settings
480
Clock
482
Table 13.4 N-Values of CKS1 and CKS0 Settings
482
Table 13.5 Bit Rates (Bits/S) for Various BRR Settings (When N = 0)
482
Table 13.6 BRR Settings for Typical Bit Rates (Bits/S) (When N = 0)
483
Table 13.7 Maximum Bit Rates for Various Frequencies (Smart Card Interface Mode)
483
Transmitting and Receiving Data
484
Figure 13.4 Timing of TEND Flag Setting
485
Figure 13.5 Sample Transmission Processing Flowchart
486
Figure 13.6 Relation between Transmit Operation and Internal Registers
487
Figure 13.7 Timing of TEND Flag Setting
487
Figure 13.8 Sample Reception Processing Flowchart
488
Figure 13.9 Timing for Fixing Cock Output
489
Table 13.8 Smart Card Interface Mode Operating States and Interrupt Sources
489
Figure 13.10 Procedure for Stopping and Restarting the Clock
490
Usage Notes
491
Figure 13.11 Receive Data Sampling Timing in Smart Card Interface Mode
491
Figure 13.12 Retransmission in SCI Receive Mode
493
Figure 13.13 Retransmission in SCI Transmit Mode
493
Section 14 A/D Converter
495
Overview
495
Features
495
Block Diagram
496
Figure 14.1 A/D Converter Block Diagram
496
Pin Configuration
497
Table 14.1 A/D Converter Pins
497
Register Configuration
498
Register Descriptions
498
A/D Data Registers a to D (ADDRA to ADDRD)
498
Table 14.2 A/D Converter Registers
498
A/D Control/Status Register (ADCSR)
499
Table 14.3 Analog Input Channels and A/D Data Registers (ADDRA to ADDRD)
499
A/D Control Register (ADCR)
501
CPU Interface
502
Figure 14.2 A/D Data Register Access Operation (Reading H'AA40)
503
Operation
504
Single Mode (SCAN = 0)
504
Figure 14.3 Example of A/D Converter Operation (Single Mode, Channel 1 Selected)
505
Scan Mode (SCAN = 1)
506
Figure 14.4 Example of A/D Converter Operation (Scan Mode, Channels an to an 2 Selected)
507
Input Sampling and A/D Conversion Time
508
Figure 14.5 A/D Conversion Timing
508
External Trigger Input Timing
509
Figure 14.6 External Trigger Input Timing
509
Table 14.4 A/D Conversion Time (Single Mode)
509
Interrupts
510
Usage Notes
510
Figure 14.7 Example of Analog Input Protection Circuit
511
Figure 14.8 Analog Input Pin Equivalent Circuit
511
Table 14.5 Analog Input Pin Ratings
511
Figure 14.9 A/D Converter Accuracy Definitions (1)
512
Figure 14.10 A/D Converter Accuracy Definitions (2)
513
Figure 14.11 Analog Input Circuit (Example)
514
Section 15 D/A Converter
515
Overview
515
Features
515
Block Diagram
516
Figure 15.1 D/A Converter Block Diagram
516
Pin Configuration
517
Register Configuration
517
Table 15.1 D/A Converter Pins
517
Table 15.2 D/A Converter Registers
517
Register Descriptions
518
D/A Data Registers 0 and 1 (DADR0, DADR1)
518
D/A Control Register (DACR)
518
D/A Standby Control Register (DASTCR)
520
Operation
520
Figure 15.2 Example of D/A Converter Operation
521
D/A Output Control
522
Section 16 RAM
523
Overview
523
Table 16.1 H8/3062 Series On-Chip RAM Specifications
523
Block Diagram
524
Figure 16.1 RAM Block Diagram
524
Register Configuration
524
Table 16.2 System Control Register
524
System Control Register (SYSCR)
525
Operation
526
Section 17 ROM
527
On-Chip Mask ROM Models]
527
Overview
527
Table 17.1 Operating Modes and ROM
527
Overview of Flash Memory (H8/3062F-ZTAT, H8/3062F-ZTAT R-Mask Version)
528
Features
528
Block Diagram
529
Figure 17.1 Block Diagram of Flash Memory
529
Pin Configuration
530
Register Configuration
530
Table 17.2 Flash Memory Pins
530
Table 17.3 Flash Memory Registers
530
Flash Memory Register Descriptions
531
Flash Memory Control Register (FLMCR)
531
Erase Block Register (EBR)
534
RAM Control Register (RAMCR)
535
Table 17.4 Flash Memory Erase Blocks
535
Figure 17.2 Example of ROM Area/Ram Area Overlap
536
Table 17.5 RAM Area Setting
536
Flash Memory Status Register (FLMSR)
537
On-Board Programming Mode
538
Table 17.6 On-Board Programming Mode Settings
538
Figure 17.3 Boot Mode
539
Figure 17.4 User Program Mode (Example)
540
Boot Mode
541
Figure 17.5 System Configuration When Using Boot Mode
541
Figure 17.6 Boot Mode Execution Procedure
542
Figure 17.7 Measurement of Low Period of Host's Transmit Data
543
Table 17.7 System Clock Frequencies for Which Automatic Adjustment of MCU Bit Rate Is Possible
543
Figure 17.8 RAM Areas in Boot Mode
544
User Program Mode
546
Figure 17.9 User Program Mode Execution Procedure (Example)
547
Flash Memory Programming/Erasing
548
Program Mode
549
Figure 17.10 FLMCR Bit Settings and State Transitions
549
Program-Verify Mode
550
Figure 17.11 Program/Program-Verify Flowchart (32-Byte Programming)
551
Erase Mode
552
Erase-Verify Mode
552
Figure 17.12 Erase/Erase-Verify Flowchart (Single-Block Erasing)
553
Flash Memory Protection
554
Hardware Protection
554
Table 17.8 Hardware Protection
554
Software Protection
556
Error Protection
556
Table 17.9 Software Protection
556
Figure 17.13 Flash Memory State Transitions (Modes 5 and 7 (On-Chip ROM Enabled), High Level Applied to FWE Pin)
557
NMI Input Disabling Conditions
558
Flash Memory Emulation in RAM
559
Figure 17.14 Example of RAM Overlap Operation
559
Flash Memory PROM Mode
561
Socket Adapters and Memory Map
561
Table 17.10 H8/3062F-ZTAT and H8/3062F-ZTAT R-Mask Version Socket Adapter Product Codes
561
Notes on Use of PROM Mode
562
Figure 17.15 Memory Map in PROM Mode
562
Flash Memory Programming and Erasing Precautions
563
Figure 17.16 Power-On/Off Timing (Boot Mode)
565
Figure 17.17 Power-On/Off Timing (User Program Mode)
566
Figure 17.18 Mode Transition Timing (Example: Boot Mode → User Mode ↔ User Program Mode)
567
Mask ROM (H8/3062 Mask ROM Version, H8/3061 Mask ROM Version, H8/3060 Mask ROM Version) Overview
568
17.10.1 Block Diagram
568
Figure 17.19 ROM Block Diagram (H8/3062 Mask ROM Version)
568
Notes on Ordering Mask ROM Version Chips
569
Figure 17.20 Mask ROM Addresses and Data
569
Notes When Converting the F-ZTAT Application Software to the Mask-ROM Versions
570
Section 18 H8/3064 Internal Voltage Step-Down Version ROM
571
H8/3064 Mask ROM B-Mask Version]
571
Overview
571
Table 18.1 Operating Modes and ROM
571
Differences from H8/3062F-ZTAT and H8/3062F-ZTAT R-Mask Version
572
Table 18.2 Differences from H8/3062F-ZTAT and H8/3062F-ZTAT R-Mask Version
572
Features
573
Block Diagram
574
Figure 18.1 Block Diagram of Flash Memory
574
Pin Configuration
575
Register Configuration
575
Table 18.3 Flash Memory Pins
575
Table 18.4 Flash Memory Registers
575
Register Descriptions
576
Flash Memory Control Register 1 (FLMCR1)
576
Flash Memory Control Register 2 (FLMCR2)
579
Erase Block Register 1 (EBR1)
580
Erase Block Register 2 (EBR2)
580
RAM Control Register (RAMCR)
581
Table 18.5 Flash Memory Erase Blocks
581
Table 18.6 Flash Memory Area Divisions
582
Overview of Operation
583
Mode Transitions
583
Figure 18.2 Flash Memory Related State Transitions
584
On-Board Programming Modes
585
Flash Memory Emulation in RAM
587
Figure 18.3 Reading Overlap RAM Data in User Mode/User Program Mode
587
Block Configuration
588
Figure 18.4 Writing Overlap RAM Data in User Program Mode
588
On-Board Programming Mode
589
Table 18.7 On-Board Programming Mode Settings
589
Boot Mode
590
Figure 18.5 System Configuration When Using Boot Mode
590
Figure 18.6 Boot Mode Execution Procedure
591
Table 18.8 System Clock Frequencies for Which Automatic Adjustment of H8/3064F-ZTAT B-Mask Version Bit Rate Is Possible
592
Figure 18.7 RAM Areas in Boot Mode
593
User Program Mode
595
Figure 18.8 Example of User Program Mode Execution Procedure
596
Flash Memory Programming/Erasing
597
Figure 18.9 FLMCR1 Bit Settings and State Transitions
598
Program Mode
599
Program-Verify Mode
600
Figure 18.10 Program/Program-Verify Flowchart (128-Byte Programming)
603
Erase Mode
604
Erase-Verify Mode
604
Figure 18.11 Erase/Erase-Verify Flowchart (Single-Block Erasing)
605
Flash Memory Protection
606
Hardware Protection
606
Table 18.9 Hardware Protection
606
Software Protection
607
Error Protection
607
Table 18.10 Software Protection
607
Figure 18.12 Flash Memory State Transitions (When High Level Is Applied to FWE Pin in Mode 5 or 7 (On-Chip ROM Enabled))
609
Flash Memory Emulation in RAM
610
Figure 18.13 Flowchart of Flash Memory Emulation in RAM
610
Figure 18.14 Example of RAM Overlap Operation
611
NMI Input Disabling Conditions
612
Flash Memory PROM Mode
613
Socket Adapters and Memory Map
613
Figure 18.15 Memory Map in PROM Mode
613
Table 18.11 H8/3064F-ZTAT B-Mask Version Socket Adapter Product Codes
613
Notes on Use of PROM Mode
614
Flash Memory Programming and Erasing Precautions
614
Figure 18.16 Power-On/Off Timing (Boot Mode)
617
Figure 18.17 Power-On/Off Timing (User Program Mode)
618
Figure 18.18 Mode Transition Timing (Example: Boot Mode → User Mode ↔ User Program Mode)
619
Mask ROM (H8/3064 Mask ROM B-Mask Version) Overview
620
Block Diagram
620
Figure 18.19 ROM Block Diagram (H8/3064 Mask ROM B-Mask Version)
620
Notes on Ordering Mask ROM Version Chips
621
Figure 18.20 Mask ROM Addresses and Data
621
Notes When Converting the F-ZTAT Application Software to the Mask-ROM Version
622
[H8/3062F-ZTAT B-Mask Version, Mask ROM B-Mask Versions
623
Table 19.1 Operating Modes and ROM
623
Of H8/3062, H8/3061, and H8/3060]
623
Table 19.2 Differences from H8/3062F-ZTAT and H8/3062F-ZTAT R-Mask Version
624
Figure 19.1 Block Diagram of Flash Memory
626
Table 19.3 Flash Memory Pins
627
Table 19.4 Flash Memory Registers
627
Flash Memory Control Register 2 (FLMCR2)
631
Erase Block Register (EBR)
632
Table 19.5 Flash Memory Erase Blocks
633
RAM Control Register (RAMCR)
633
Figure 19.2 Example of ROM Area/Ram Area Overlap
634
Table 19.6 RAM Area Setting
634
Overview of Operation
635
Figure 19.3 Flash Memory Related State Transitions
636
On-Board Programming Modes
637
Figure 19.4 Reading Overlap RAM Data in User Mode/User Program Mode
639
Flash Memory Emulation in RAM
639
Figure 19.5 Writing Overlap RAM Data in User Program Mode
640
Block Configuration
640
Table 19.7 On-Board Programming Mode Settings
641
Figure 19.6 System Configuration When Using Boot Mode
642
Figure 19.7 Boot Mode Execution Procedure
643
Table 19.8 System Clock Frequencies for Which Automatic Adjustment of H8/3062F-ZTAT B-Mask Version Bit Rate Is Possible
644
Figure 19.8 RAM Areas in Boot Mode
645
Figure 19.9 Example of User Program Mode Execution Procedure
648
Flash Memory Programming/Erasing
649
Figure 19.10 FLMCR1 Bit Settings and State Transitions
650
Program Mode
651
Program-Verify Mode
652
Figure 19.11 Program/Program-Verify Flowchart (128-Byte Programming)
655
Erase Mode
656
Figure 19.12 Erase/Erase-Verify Flowchart (Single-Block Erasing)
657
Table 19.9 Hardware Protection
658
Flash Memory Protection
658
Table 19.10 Software Protection
659
Figure 19.13 Flash Memory State Transitions (When High Level Is Applied to FWE Pin in Mode 5 or 7 (On-Chip ROM Enabled))
661
Figure 19.14 Example of RAM Overlap Operation
662
NMI Input Disabling Conditions
663
Table 19.11 H8/3062F-ZTAT B-Mask Version Socket Adapter Product Codes
664
Flash Memory PROM Mode
664
Figure 19.15 Memory Map in PROM Mode
665
Notes on Use of PROM Mode
665
Flash Memory Programming and Erasing Precautions
666
Figure 19.16 Power-On/Off Timing (Boot Mode)
669
Figure 19.17 Power-On/Off Timing (User Program Mode)
670
Figure 19.18 Mode Transition Timing (Example: Boot Mode → User Mode ↔ User Program Mode)
671
Figure 19.19 ROM Block Diagram (H8/3062 Mask ROM B-Mask Version)
672
Figure 19.20 Mask ROM Addresses and Data
673
Notes on Ordering Mask ROM Version Chips
673
Notes When Converting the F-ZTAT Application Software to the Mask-ROM Versions
674
Section 20 Clock Pulse Generator
675
Overview
675
Block Diagram
675
Figure 20.1 Block Diagram of Clock Pulse Generator
675
Oscillator Circuit
676
Connecting a Crystal Resonator
676
Figure 20.2 Connection of Crystal Resonator (Example)
676
Table 20.1 (1) Damping Resistance Value
676
Table 20.1 (2) External Capacitance Values
676
Figure 20.3 Crystal Resonator Equivalent Circuit
677
Figure 20.4 Oscillator Circuit Block Board Design Precautions
677
Table 20.2 Crystal Resonator Parameters
677
External Clock Input
678
Figure 20.5 External Clock Input (Examples)
678
Table 20.3 (1) Clock Timing for On-Chip Flash Memory Versions
679
Table 20.3 (2) Clock Timing for On-Chip Mask ROM Versions
679
Duty Adjustment Circuit
680
Prescalers
680
Frequency Divider
680
Figure 20.6 External Clock Input Timing
680
Figure 20.7 External Clock Output Settling Delay Timing
680
Division Control Register (DIVCR)
681
Register Configuration
681
Table 20.4 Frequency Division Register
681
Table 20.5 Comparison of H8/3062 Series Operating Frequency Ranges
682
Usage Notes
682
Section 21 Power-Down State
683
Overview
683
Table 21.1 Power-Down State and Module Standby Function
684
Register Configuration
685
System Control Register (SYSCR)
685
Table 21.2 Control Register
685
Module Standby Control Register H (MSTCRH)
687
Module Standby Control Register L (MSTCRL)
688
Sleep Mode
690
Transition to Sleep Mode
690
Exit from Sleep Mode
690
Software Standby Mode
690
Transition to Software Standby Mode
690
Exit from Software Standby Mode
691
Selection of Waiting Time for Exit from Software Standby Mode
691
Table 21.3 Clock Frequency and Waiting Time for Clock to Settle
692
Sample Application of Software Standby Mode
693
Usage Note
693
Figure 21.1 NMI Timing for Software Standby Mode (Example)
693
Cautions on Clearing the Software Standby Mode of F-ZTAT Version
694
Hardware Standby Mode
695
Transition to Hardware Standby Mode
695
Exit from Hardware Standby Mode
695
Timing for Hardware Standby Mode
695
Figure 21.2 Hardware Standby Mode Timing
695
Module Standby Function
696
Module Standby Timing
696
Read/Write in Module Standby
696
Usage Notes
696
System Clock Output Disabling Function
697
Figure 21.3 Starting and Stopping of System Clock Output
697
Table 21.4 Φ Pin State in Various Operating States
697
Section 22 Electrical Characteristics
699
Table 22.1 Electrical Characteristics of H8/3062 Series Products
699
Electrical Characteristics of H8/3062 Mask ROM Version, H8/3061 Mask ROM Version, and H8/3060 Mask ROM Version
700
Absolute Maximum Ratings
700
Table 22.2 Absolute Maximum Ratings
700
DC Characteristics
701
Table 22.3 DC Characteristics (1)
701
Table 22.3 DC Characteristics (2)
704
Table 22.3 DC Characteristics (3)
707
Figure 22.1 Darlington Pair Drive Circuit (Example)
710
Table 22.4 Permissible Output Currents
710
Figure 22.2 Sample LED Circuit
711
AC Characteristics
712
Table 22.5 Clock Timing
712
Table 22.6 Control Signal Timing
713
Table 22.7 Bus Timing
714
Table 22.8 Timing of On-Chip Supporting Modules
716
Figure 22.3 Output Load Circuit
717
A/D Conversion Characteristics
718
Table 22.9 A/D Conversion Characteristics
718
D/A Conversion Characteristics
720
Table 22.10 D/A Conversion Characteristics
720
Electrical Characteristics of H8/3062F-ZTAT and H8/3062F-ZTAT R-Mask Version
721
Absolute Maximum Ratings
721
Table 22.11 Absolute Maximum Ratings
721
DC Characteristics
722
Table 22.12 DC Characteristics (1)
722
Table 22.12 DC Characteristics (2)
725
Figure 22.4 Darlington Pair Drive Circuit (Example)
728
Table 22.13 Permissible Output Currents
728
Figure 22.5 Sample LED Circuit
729
AC Characteristics
730
Table 22.14 Clock Timing
730
Table 22.15 Control Signal Timing
731
Table 22.16 Bus Timing
732
Table 22.17 Timing of On-Chip Supporting Modules
734
Figure 22.6 Output Load Circuit
735
A/D Conversion Characteristics
736
Table 22.18 A/D Conversion Characteristics
736
D/A Conversion Characteristics
738
Table 22.19 D/A Conversion Characteristics
738
Flash Memory Characteristics
739
Table 22.20 Flash Memory Characteristics (1)
739
Table 22.20 Flash Memory Characteristics (2)
741
Electrical Characteristics of H8/3064F-ZTAT B-Mask Version
743
Absolute Maximum Ratings
743
Table 22.21 Absolute Maximum Ratings
743
DC Characteristics
744
Table 22.22 DC Characteristics
744
Figure 22.7 Darlington Pair Drive Circuit (Example)
747
Table 22.23 Permissible Output Currents
747
Figure 22.8 Sample LED Circuit
748
AC Characteristics
749
Table 22.24 Clock Timing
749
Table 22.25 Control Signal Timing
750
Table 22.26 Bus Timing
751
Table 22.27 Timing of On-Chip Supporting Modules
753
Figure 22.9 Output Load Circuit
754
A/D Conversion Characteristics
755
Table 22.28 A/D Conversion Characteristics
755
D/A Conversion Characteristics
756
Table 22.29 D/A Conversion Characteristics
756
Flash Memory Characteristics
757
Table 22.30 Flash Memory Characteristics
757
Electrical Characteristics of H8/3064 Mask ROM B-Mask Version
759
Absolute Maximum Ratings
759
Table 22.31 Absolute Maximum Ratings
759
DC Characteristics
760
Table 22.32 DC Characteristics
760
Table 22.33 Permissible Output Currents
762
Figure 22.10 Darlington Pair Drive Circuit (Example)
763
Figure 22.11 Sample LED Circuit
763
AC Characteristics
764
Table 22.34 Clock Timing
764
Table 22.35 Control Signal Timing
765
Table 22.36 Bus Timing
766
Table 22.37 Timing of On-Chip Supporting Modules
768
Figure 22.12 Output Load Circuit
769
A/D Conversion Characteristics
770
Table 22.38 A/D Conversion Characteristics
770
D/A Conversion Characteristics
771
Table 22.39 D/A Conversion Characteristics
771
Electrical Characteristics of H8/3062F-ZTAT B-Mask Version
772
Absolute Maximum Ratings
772
Table 22.40 Absolute Maximum Ratings
772
DC Characteristics
773
Table 22.41 DC Characteristics
773
Figure 22.13 Darlington Pair Drive Circuit (Example)
776
Table 22.42 Permissible Output Currents
776
Figure 22.14 Sample LED Circuit
777
AC Characteristics
778
Table 22.43 Clock Timing
778
Table 22.44 Control Signal Timing
779
Table 22.45 Bus Timing
780
Table 22.46 Timing of On-Chip Supporting Modules
782
Figure 22.15 Output Load Circuit
783
A/D Conversion Characteristics
784
Table 22.47 A/D Conversion Characteristics
784
D/A Conversion Characteristics
785
Table 22.48 D/A Conversion Characteristics
785
Flash Memory Characteristics
786
Table 22.49 Flash Memory Characteristics
786
Electrical Characteristics of H8/3062 Mask ROM B-Mask Version, H8/3061 Mask ROM B-Mask Version, and H8/3060 Mask ROM B-Mask Version
788
Absolute Maximum Ratings
788
Table 22.50 Absolute Maximum Ratings
788
DC Characteristics
789
Table 22.51 DC Characteristics
789
Table 22.52 Permissible Output Currents
791
Figure 22.16 Darlington Pair Drive Circuit (Example)
792
Figure 22.17 Sample LED Circuit
792
AC Characteristics
793
Table 22.53 Clock Timing
793
Table 22.54 Control Signal Timing
794
Table 22.55 Bus Timing
795
Table 22.56 Timing of On-Chip Supporting Modules
797
Figure 22.18 Output Load Circuit
798
A/D Conversion Characteristics
799
Table 22.57 A/D Conversion Characteristics
799
D/A Conversion Characteristics
800
Table 22.58 D/A Conversion Characteristics
800
Operational Timing
801
Clock Timing
801
Figure 22.19 Oscillator Settling Timing
801
Control Signal Timing
802
Figure 22.20 Reset Input Timing
802
Figure 22.21 Reset Output Timing
802
Figure 22.22 Interrupt Input Timing
803
Bus Timing
804
Figure 22.23 Basic Bus Cycle: Two-State Access
805
Figure 22.24 Basic Bus Cycle: Three-State Access
806
Figure 22.25 Basic Bus Cycle: Three-State Access with One Wait State
807
Figure 22.26 Bus-Release Mode Timing
807
TPC and I/O Port Timing
808
Timer Input/Output Timing
808
Figure 22.27 TPC and I/O Port Input/Output Timing
808
Figure 22.28 Timer Input/Output Timing
808
SCI Input/Output Timing
809
Figure 22.29 Timer External Clock Input Timing
809
Figure 22.30 SCI Input Clock Timing
809
Figure 22.31 SCI Input/Output Timing in Synchronous Mode
809
Appendix A Instruction Set
811
Instruction List
811
Table A.1 Instruction Set
813
Arithmetic Instructions
815
Bit Manipulation Instructions
820
Operation Code Maps
826
Table A.2 Operation Code Map (1)
826
Table A.2 Operation Code Map (2)
827
Table A.2 Operation Code Map (3)
828
Number of States Required for Execution
829
Table A.3 Number of States Per Cycle
830
Table A.4 Number of Cycles Per Instruction
831
Appendix B Internal I/O Registers
838
Table B.1 Comparison of H8/3062 Series Internal I/O Register Specifications
838
Address List
839
H8/3061 Mask ROM Version, H8/3060 Mask ROM Version)
839
Address List
849
(H8/3064F-ZTAT B-Mask Version, H8/3064 Mask ROM B-Mask Version)
849
Address List
859
(H8/3062F-ZTAT B-Mask Version, H8/3062 Mask ROM B-Mask Version, H8/3061 Mask ROM B-Mask Version, and H8/3060 Mask ROM B-Mask Version)
859
Functions
869
B.4 Functions
869
Flash Memory
889
Appendix C I/O Port Block Diagrams
944
Port 1 Block Diagram
944
Figure C.1 Port 1 Block Diagram
944
Port 2 Block Diagram
945
Figure C.2 Port 2 Block Diagram
945
Port 3 Block Diagram
946
Figure C.3 Port 3 Block Diagram
946
Port 4 Block Diagram
947
Figure C.4 Port 4 Block Diagram
947
Port 5 Block Diagram
948
Figure C.5 Port 5 Block Diagram
948
Port 6 Block Diagrams
949
Figure C.6 (A) Port 6 Block Diagram (Pin P6
949
Figure C.6 (B) Port 6 Block Diagram (Pin P6
950
Figure C.6 (C) Port 6 Block Diagram (Pin P6
951
Figure C.6 (D) Port 6 Block Diagram (Pins P6
952
Figure C.6 (E) Port 6 Block Diagram (Pin P6
953
Port 7 Block Diagrams
954
Figure C.7 (A) Port 7 Block Diagram (Pins P7
954
Figure C.7 (B) Port 7 Block Diagram (Pins P7
954
Port 8 Block Diagrams
955
Figure C.8 (A) Port 8 Block Diagram (Pin P8
955
Figure C.8 (B) Port 8 Block Diagram (Pins P8
956
Figure C.8 (C) Port 8 Block Diagram (Pin P8
957
Figure C.8 (D) Port 8 Block Diagram (Pin P8
958
Port 9 Block Diagrams
959
Figure C.9 (A) Port 9 Block Diagram (Pin P9
959
Figure C.9 (B) Port 9 Block Diagram (Pin P9
960
Figure C.9 (C) Port 9 Block Diagram (Pin P9
961
Figure C.9 (D) Port 9 Block Diagram (Pin P9
962
Figure C.9 (E) Port 9 Block Diagram (Pin P9
963
Figure C.9 (F) Port 9 Block Diagram (Pin P9
964
Port a Block Diagrams
965
Figure C.10 (A) Port a Block Diagram (Pins PA and PA 1 )
965
Figure C.10 (B) Port a Block Diagram
966
Figure C.10 (C) Port a Block Diagram
967
Port B Block Diagrams
968
Figure C.11 (A) Port B Block Diagram (Pins PB
968
Figure C.11 (B) Port B Block Diagram (Pins PB
969
Figure C.11 (C) Port B Block Diagram (Pin PB 4 )
970
Figure C.11 (D) Port B Block Diagram (Pin PB 5 )
971
Figure C.11 (E) Port B Block Diagram (Pin PB 6 )
972
Figure C.11 (F) Port B Block Diagram (Pin PB 7 )
973
Appendix D Pin States
974
Port States in each Mode
974
Table D.1 Port States
974
Pin States at Reset
978
Figure D.1 Reset During Memory Access (Modes 1 and 2)
978
D.2 Pin States at Reset
978
Figure D.2 Reset During Memory Access (Modes 3 and 4)
979
Figure D.3 Reset During Memory Access (Mode 5)
980
Figure D.4 Reset During Operation (Modes 6 and 7)
980
Appendix E Timing of Transition to and Recovery from Hardware Standby Mode
981
Appendix F Product Code Lineup
982
Table F.1 H8/3062 Series
982
Appendix G Package Dimensions
984
Figure G.1 Package Dimensions (FP-100B)
984
Figure G.2 Package Dimensions (TFP-100B)
985
Figure G.3 Package Dimensions (FP-100A)
986
H.1 Differences between H8/3067 and H8/3062 Series, H8/3048 Series H8/3007 and H8/3006, and H8/3002
987
Table H.1 Pin Arrangement of each Product (FP-100B, TFP-100B)
990
H.2 Comparison of Pin Functions of 100-Pin Package Products (FP-100B, TFP-100B)
990
Advertisement
Advertisement
Related Products
Hitachi HD6433062
Hitachi HD6433061
Hitachi HD6433060
Hitachi HD6433064B
Hitachi HD6433062B
Hitachi HD6433060B
Hitachi HD6433048
Hitachi HD6433047
Hitachi HD6433045
Hitachi HD6433044
Hitachi Categories
Projector
Air Conditioner
Drill
Power Tool
TV
More Hitachi Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL