The H8/532 is a high-performance single-chip Hitachi-original microcomputer, featuring a highspeed CPU with 16-bit internal data paths and a full complement of on-chip supporting modules.
The H8/532 is an ideal microcontroller for a wide variety of medium-scale devices, including both
office and industrial equipment and consumer products.
Its highly orthogonal instruction set is designed for fast execution of programs coded in the highlevel C language.
On-chip facilities include large RAM and ROM memories, numerous timers, serial I/O, an A/D
converter, I/O ports, and other functions for compact implementation of high-performance
application systems.
The H8/532 is available in both a ZTAT version* with on-chip PROM, ideal for the early stages
of production or for products with frequently-changing specifications, and a masked-ROM version
suitable for volume production.
This manual gives a hardware description of the H8/532. For details of the instruction set, refer to
the H8/500 Series Programming Manual, which applies to all chips in the H8/500 Series.
* ZTAT (Zero Turn-Around Time) is a registered trademark of Hitachi, Ltd.
4.7Trap Instructions and Zero Divide ·······················································································92
4.8Cases in Which Exception Handling is Deferred ·································································92
4.8.1 Instructions that Disable Interrupts ···········································································92
4.8.2 Disabling of Exceptions Immediately after a Reset ··················································93
4.8.3 Disabling of Interrupts after a Data Transfer Cycle ··················································93
4.9Stack Status after Completion of Exception Handling ························································94
4.9.1 PC Value Pushed on Stack for Trace,
Interrupts, Trap Instructions, and Zero Divide Exceptions ·······································96
4.9.2 PC Value Pushed on Stack for Address Error and Invalid
Instruction Exceptions ······························································································96
4.10 Notes on Use of the Stack ····································································································96
10.2.2 Output Compare Registers A and B (OCRA and OCRB) - H'FF94
and H'FF96, H'FFA4 and H'FFA6, H'FFB4 and H'FFB6 ·······································182
A.4.1 Calculation of Instruction Execution States ····························································358
A.4.2 Tables of Instruction Execution Cycles ··································································359
Appendix B Register Field
B.1Register Addresses and Bit Names ····················································································367
B.2Register Descriptions ·········································································································372
Appendix C I/O Port Schematic Diagrams
C.1Schematic Diagram of Port 1 ·····························································································407
C.2Schematic Diagram of Port 2 ·····························································································413
C.3Schematic Diagram of Port 3 ·····························································································414
C.4Schematic Diagram of Port 4 ·····························································································415
C.5Schematic Diagram of Port 5 ·····························································································416
C.6Schematic Diagram of Port 6 ·····························································································417
C.7Schematic Diagram of Port 7 ·····························································································418
C.8Schematic Diagram of Port 8 ·····························································································423
C.9Schematic Diagram of Port 9 ·····························································································424
Appendix D Memory Map ·································································································429
Appendix E Pin State
E.1Port State of Each Pin State ·······························································································431
E.2Pin Stattus in the Reset State ······························································································434
Appendix F
Timing of Entry to and Recovery from Hardware Standby Mode
········449
Appendix G Package Dimensions ····················································································451
Figures
1-1Block Diagram ···················································································································4
1-2Pin Arrangement (CP-84, Top View) ·················································································5
1-3Pin Arrangement (CG-84, Top View) ················································································6
1-4Pin Arrangement (FP-80A, Top View) ··············································································7
2-1Address Space in Each Mode ··························································································26
2-2Map of Page 0 ··················································································································28
3-1CPU Operating Modes ·····································································································32
3-2Registers in the CPU ········································································································33
3-3Stack Pointer ····················································································································34
3-4Combinations of Page Registers with Other Registers ····················································38
3-5Short Absolute Addressing Mode and Base Register ······················································39
3-6On-Chip Memory Access Timing ····················································································64
3-7Pin States during Access to On-Chip Memory ································································65
3-8Register Field Access Timing ··························································································66
3-9Pin States during Register Field Access ··········································································67
3-10 (a) External Access Cycle (Read Access) ·············································································68
3-10 (b) External Access Cycle (Write Access) ············································································69
3-11 Operating States ···············································································································70
3-12State Transitions ··············································································································71
3-13Bus-Right Release Cycle (During On-chip Memory Access Cycle) ·······························73
3-14Bus-Right Release Cycle (During External Access Cycle) ·············································74
3-15Bus-Right Release Cycle (During Internal CPU Operation) ···········································75
4-1Types of Factors Causing Exception Handling ································································83
4-2Reset Vector ·····················································································································86
4-3Reset Sequence (Minimum Mode, On-Chip Memory) ···················································87
4-4Reset Sequence (Maximum Mode, External Memory) ···················································88
4-5Interrupt Sources (and Number of Interrupt Types) ························································91
5-1Interrupt Controller Block Diagram ················································································98
5-2Interrupt Handling Flowchart ························································································106
5-3 (a) Stack before and after Interrupt Exception-Handling (Minimum Mode) ······················107
5-3 (b) Stack before and after Interrupt Exception-Handling (Maximum Mode) ·····················108
5-4Interrupt Sequence (Minimum Mode, On-Chip Memory) ············································109
5-5Interrupt Sequence (Maximum Mode, External Memory) ············································110
6-1Block Diagram of Data Transfer Controller ··································································114
6-2Flowchart of Data Transfer Cycle ··················································································119
6-3DTC Vector Table ··········································································································120
6-4DTC Vector Table Entry ································································································121
6-5Order of Register Information ·······················································································122
6-6Use of DTC to Receive Data via Serial Communication Interface ·······························126
7-1Block Diagram of Wait-State Controller ·······································································128
7-2Programmable Wait Mode ·····························································································131
7-3Pin Wait Mode ···············································································································132
7-4Pin Auto-Wait Mode ······································································································133
8-1Block Diagram of Clock Pulse Generator ·····································································135
8-2Connection of Crystal Oscillator (Example) ·································································136
8-3Crystal Oscillator Equivalent Circuit ·············································································136
8-4Notes on Board Design around External Crystal ···························································137
8-5External Clock Input (Example) ····················································································137
8-6Phase Relationship of ø Clock and E clock ···································································138
9-1Pin Functions of Port 1 ··································································································142
9-2Pin Functions of Port 2 ··································································································148
9-3Port 2 Pin Functions in Expanded Modes ······································································150
9-4Port 2 Pin Functions in Single-Chip Mode ····································································151
9-5Pin Functions of Port 3 ··································································································151
9-6Port 3 Pin Functions in Expanded Modes ······································································153
9-7Port 3 Pin Functions in Single-Chip Mode ····································································154
9-8Pin Functions of Port 4 ··································································································154
9-9Port 4 Pin Functions in Expanded Modes ······································································156
9-10Port 4 Pin Functions in Single-Chip Mode ····································································157
9-11Pin Functions of Port 5 ··································································································157
9-12Port 5 Pin Functions in Modes 1 and 3 ··········································································159
9-13Port 5 Pin Functions in Modes 2 and 4 ··········································································160
9-14Port 5 Pin Functions in Single-Chip Mode ····································································160
9-15Pin Functions of Port 6 ··································································································164
9-16Port 6 Pin Functions in Mode 3 ·····················································································166
9-17Port 6 Pin Functions in Mode 4 ·····················································································166
9-18Port 6 Pin Functions in Modes 7, 2, and 1 ·····································································167
9-19Pin Functions of Port 7 ··································································································168
9-20Pin Functions of Port 8 ··································································································172
9-21Pin Functions of Port 9 ··································································································173
10-1Block Diagram of 16-Bit Free-Running Timer ·····························································178
10-2 (a) Write Access to FRC (When CPU Writes H'AA55) ·····················································189
10-2 (b) Read Access to FRC (When FRC Contains H'AA55) ···················································190
10-3Increment Timing for External Clock Input ··································································191
10-4Setting of Output Compare Flags ··················································································192
10-5Timing of Output Compare A ························································································192
10-6Clearing of FRC by Compare-Match A ·········································································193
10-7Input Capture Timing (Usual Case) ···············································································193
10-8Input Capture Timing (1-State Delay) ···········································································194
10-9Setting of Input Capture Flag ························································································194
10-10Setting of Overflow Flag (OVF) ····················································································195
10-11Square-Wave Output (Example) ····················································································200
10-12FRC Write-Clear Contention ·························································································201
10-13FRC Write-Increment Contention ·················································································202
10-14Contention between OCR Write and Compare-Match ··················································203
11-1Block Diagram of 8-Bit Timer ·······················································································208
11-2Count Timing for External Clock Input ·········································································215
11-3Setting of Compare-Match Flags ···················································································216
11-4Timing of Timer Output ·································································································216
11-5Timing of Compare-Match Clear ··················································································217
11-6Timing of External Reset ·······························································································217
11-7Setting of Overflow Flag (OVF) ····················································································218
11-8Example of Pulse Output ·······························································································219
11-9TCNT Write-Clear Contention ······················································································220
11-10TCNT Write-Increment Contention ··············································································221
11-11Contention between TCOR Write and Compare-Match ···············································222
12-1Block Diagram of PWM Timer ·····················································································228
12-2PWM Timing ·················································································································233
13-1Block Diagram of Timer Counter ··················································································236
13-2Writing to TCNT and TCSR ··························································································239
13-3Operation in Watchdog Timer Mode ·············································································241
13-4Operation in Interval Timer Mode ·················································································242
13-5Setting of OVF Bit ·········································································································243
13-6TCNT Write-Increment Contention ··············································································244
14-1Block Diagram of Serial Communication Interface ······················································246
14-2Data Format in Asynchronous Mode ·············································································260
14-3Phase Relationship between Clock Output and Transmit Data ·····································261
14-4Data Format in Synchronous Mode ···············································································265
14-5Sampling Timing (Asynchronous Mode) ······································································271
15-1Block Diagram of A/D Converter ··················································································274
15-2Read Access to A/D Data Register (When Register Contains H'AA40) ·······················280
15-3A/D Operation in Single Mode (When Channel 1 is Selected) ·····································283
15-4A/D Operation in Scan Mode (When Channels 0 to 2 are Selected) ·····························286
15-5A/D Conversion Timing ·································································································288
16-1Block Diagram of On-Chip RAM ·················································································291
17-1Block Diagram of On-Chip ROM ·················································································296
17-2Socket Adapter Pin Arrangements ·················································································298
17-3Memory Map in PROM Mode ·······················································································299
17-4High-Speed Programming Flowchart ············································································300
17-5PROM Write/Verify Timing ··························································································302
17-6Recommended Screening Procedure ·············································································303
18-1NMI Timing of Software Standby Mode (Application Example) ·································311
18-2Hardware Standby Sequence ·························································································313
19-1Execution Cycle of Instruction Synchronized with E Clock in Expanded Modes
19-2Execution Cycle of Instruction Synchronized with E Clock in Expanded Modes
(Minimum Synchronization Delay) ···············································································317
20-1Example of Circuit for Driving a Darlington Transistor Pair ········································322
20-2Example of Circuit for Driving an LED ········································································322
20-3Output Load Circuit ·······································································································325
20-4Basic Bus Cycle (without Wait States) in Expanded Modes ·········································327
20-5Basic Bus Cycle (with 1 Wait State) in Expanded Modes ·············································328
20-6Bus Cycle Synchronized with E Clock ··········································································329
20-7Reset Input Timing········································································································ 330
20-8Interrupt Input Timing ···································································································330
20-9NMI Pulse Width (for Recovery from Software Standby Mode) ··································330
20-10Bus Release State Timing ······························································································331
20-11E Clock Timing ··············································································································331
20-12Clock Oscillator Stabilization Timing ···········································································332
20-13I/O Port Input/Output Timing ························································································333
20-14Free-Running Timer Input/Output Timing ····································································334
20-15External Clock Input Timing for Free-Running Timers ················································334
20-168-Bit Timer Output Timing ····························································································335
20-178-Bit Timer Clock Input Timing ····················································································335
20-188-Bit Timer Reset Input Timing ····················································································335
20-19PWM Timer Output Timing ··························································································336
20-20SCI Input Clock Timing ································································································336
20-21SCI Input/Output Timing (Synchronous Mode) ····························································336
C-1 (a) Schematic Diagram of Port 1, Pin P10 ··········································································407
C-1 (b) Schematic Diagram of Port 1, Pin P11 ··········································································407
C-1 (c) Schematic Diagram of Port 1, Pin P12 ···········································································408
C-1 (d) Schematic Diagram of Port 1, Pin P13 ··········································································409
C-1 (e) Schematic Diagram of Port 1, Pin P14 ···········································································410
C-1 (f) Schematic Diagram of Port 1, Pins P15 and P16 ···························································411
C-1 (g) Schematic Diagram of Port 1, Pin P17 ··········································································412
C-2Schematic Diagram of Port 2 ·························································································413
C-3Schematic Diagram of Port 3 ·························································································414
C-4Schematic Diagram of Port 4 ·························································································415
C-5Schematic Diagram of Port 5 ·························································································416
C-6Schematic Diagram of Port 6 ·························································································417
C-7 (a) Schematic Diagram of Port 7, Pin P70 ··········································································418
C-7 (b) Schematic Diagram of Port 7, Pins P71 and P72 ···························································419
C-7 (c) Schematic Diagram of Port 7, Pin P73 ··········································································420
C-7 (d) Schematic Diagram of Port 7, Pins P74, P75 and P76 ····················································421
C-7 (e) Schematic Diagram of Port 7, Pin P77 ··········································································422
C-8Schematic Diagram of Port 8 ·························································································423
C-9 (a) Schematic Diagram of Port 9, Pins P90 and P91 ···························································424
C-9 (b) Schematic Diagram of Port 9, Pins P92, P93 and P94 ····················································425
C-9 (c) Schematic Diagram of Port 9, Pin P95 ··········································································426
C-9 (d) Schematic Diagram of Port 9, Pin P96 ··········································································427
C-9 (e) Schematic Diagram of Port 9, Pin P97 ··········································································428
E-1Reset during Memory Access (Mode 1) ········································································435
E-2Reset during Memory Access (Mode 1) ········································································436
E-3Reset during Memory Access (Mode 2) ········································································438
E-4Reset during Memory Access (Mode 2) ········································································439
E-5Reset during Memory Access (Mode 3) ········································································441
E-6Reset during Memory Access (Mode 3) ········································································442
E-7Reset during Memory Access (Mode 4) ········································································444
E-8Reset during Memory Access (Mode 4) ········································································445
E-9Reset during Memory Access (Mode 7) ········································································446
E-10Reset during Memory Access (Mode 7) ········································································447
G-1Package Dimensions (CP-84) ························································································451
G-2Package Dimensions (CG-84) ·······················································································451
G-3Package Dimensions (FP-80A) ······················································································452
Tables
1-1Features ······························································································································2
1-2Pin Arrangements in Each Operating Mode (CP-84, CG-84) ···········································8
1-3Pin Arrangements in Each Operating Mode (FP-80A) ····················································12
1-4Pin Functions ···················································································································16
2-1Operating Modes ·············································································································23
2-2Mode Control Register ····································································································29
3-1Interrupt Mask Levels ······································································································36
3-2Interrupt Mask Bits after an Interrupt is Accepted ··························································36
3-3Initial Values of Registers ································································································41
3-4General Register Data Formats ························································································42
3-5Data Formats in Memory ·································································································43
3-6Data Formats on the Stack ·······························································································44
3-7Addressing Modes ···········································································································46
3-8Effective Address Calculation ·························································································47
3-9Instruction Classification ·································································································50
3-10Data Transfer Instructions ·······························································································52
3-11Arithmetic Instructions ····································································································53
3-12Logic Operation Instructions ···························································································54
3-13Shift Instructions ··············································································································55
3-14Bit-Manipulation Instructions ··························································································56
3-15Branching Instructions ·····································································································57
3-16System Control Instructions ····························································································59
3-17Short-Format Instructions and Equivalent General Formats ···········································62
4-1 (a) Exceptions and Their Priority ··························································································81
4-1 (b) Instruction Exceptions ······································································································81
4-2Exception Vector Table ····································································································84
4-3Stack after Exception Handling Sequence ·······································································94
5-1Interrupt Controller Registers ··························································································99
5-2Interrupts, Vectors, and Priorities ··················································································102
5-3Assignment of Interrupt Priority Registers ····································································103
5-4Number of States before Interrupt Service ····································································111
6-1Internal Control Registers of the DTC ···········································································114
6-2Data Transfer Enable Registers ·····················································································115
6-3Assignment of Data Transfer Enable Registers ·····························································117
6-4Addresses of DTC Vectors ·····························································································121
6-5Number of States per Data Transfer ··············································································123
6-6Number of States before Interrupt Service ····································································124
6-7DTC Control Register Information Set in RAM ···························································125
7-1Register Configuration ···································································································128
7-2Wait Modes ····················································································································130
8-1External Crystal Parameters ··························································································136
9-1Input/Output Port Summary ··························································································140
9-2Port 1 Registers ··············································································································142
9-3Port 1 Pin Functions in Expanded Modes ······································································145
9-4Port 1 Pin Functions in Single-Chip Modes ··································································147
9-5Port 2 Registers ··············································································································149
9-6Port 3 Registers ··············································································································152
9-7Port 4 Registers ··············································································································155
9-8Port 5 Registers ··············································································································158
9-9Status of MOS Pull-Ups for Port 5 ················································································161
9-10Port 6 Registers ··············································································································164
9-11Status of MOS Pull-Ups for Port 5 ················································································167
9-12Port 7 Registers ··············································································································168
9-13Port 7 Pin Functions ·······································································································170
9-14Port 8 Registers ··············································································································172
9-15Port 9 Registers ··············································································································173
9-16Port 9 Pin Functions ·······································································································175
10-1Input and Output Pins of Free-Running Timer Module ················································179
10-2Register Configuration ···································································································180
10-3Free-Running Timer Interrupts ······················································································195
10-4Synchronization by Writing to FRCs ············································································196
10-5Effect of Changing Internal Clock Sources ···································································204
11-1Input and Output Pins of 8-Bit Timer ············································································209
11-28-Bit Timer Registers ·····································································································209
11-38-Bit Timer Interrupts ····································································································218
11-4Priority Order of Timer Output ······················································································223
11-5Effect of Changing Internal Clock Sources ···································································223
12-1Output Pins of PWM Timer Module ·············································································228
12-2PWM Timer Registers ···································································································229
12-3PWM Timer Parameters for 10MHz System Clock ······················································232
13-1Register Configuration ···································································································236
13-2Read Addresses of TCNT and TCSR ············································································240
14-1SCI Input/Output Pins ····································································································247
14-2SCI Registers ·················································································································247
14-3Examples of BRR Settings in Asynchronous Mode (1) ················································255
14-3Examples of BRR Settings in Asynchronous Mode (2) ················································256
14-3Examples of BRR Settings in Asynchronous Mode (3) ················································256
14-3Examples of BRR Settings in Asynchronous Mode (4) ················································257
14-4Examples of BRR Settings in Synchronous Mode ························································258
14-5Communication Formats Used by SCI ··········································································259
14-6SCI Clock Source Selection ···························································································259
14-7Data Formats in Asynchronous Mode ···········································································261
14-8Receive Errors ················································································································264
14-9SCI Interrupts ·················································································································269
14-10SSR Bit States and Data Transfer When Multiple Receive Errors Occur ·····················270
15-1A/D Input Pins ···············································································································275
15-2A/D Registers ·················································································································275
15-3Assignment of Data Registers to Analog Input Channels ·············································276
15-4A/D Conversion Time (Single Mode) ············································································288
16-1RAM Control Register ···································································································292
17-1ROM Usage in Each MCU Mode ··················································································295
17-2Selection of PROM Mode ······························································································296
17-3Socket Adapter ···············································································································297
17-4Selection of Sub-Modes in PROM Mode ······································································299
17-5DC Characteristics
18-1Power-Down State ·········································································································307
18-2Software Standby Control Register ···············································································309
20-1Absolute Maximum Ratings ··························································································319
20-2DC Characteristics ·········································································································320
20-3Allowable Output Current Sink Values ·········································································321
20-4Bus Timing ····················································································································322
20-5Control Signal Timing ···································································································324
20-6Timing Conditions of On-Chip Supporting Modules ····················································325
20-7A/D Converter Characteristics ·······················································································326
A-1 (a) Machine Language Coding [General Format] ·······························································346
A-1 (b) Machine Language Coding [Special Format: Short Format] ·········································350
A-1 (c) Machine Language Coding [Special Format: Branch Instructions] ······························351
A-1 (d) Machine Language Coding [Special Format: System Control Instructions] ·················352
A-2Operation Codes in Byte 1 ·····························································································353
A-3Operation Codes in Byte 2 (Axxx) ················································································354
A-4Operation Codes in Byte 2 (05xx, 15xx, 0Dxx, 1Dxx, Bxxx, Cxxx, Dxxx,
Exxx, Fxxx) ···················································································································355
A-5Operation Codes in Byte 2 (04xx, 0Cxx) ······································································356
A-6Operation Codes in Bytes 2 and 3 (11xx, 01xx, 06xx, 07xx, xx00xx) ··························357
A-7Instruction Execution Cycles (1) ···················································································361
A-7Instruction Execution Cycles (2) ····················································································362
A-7Instruction Execution Cycles (3) ····················································································363
A-7Instruction Execution Cycles (4) ····················································································364
A-7Instruction Execution Cycles (5) ····················································································365
A-7Instruction Execution Cycles (6) ····················································································366
A-8 (a) Adjusted Value (Branch Instruction) ·············································································366
A-8 (b) Adjusted Value (Other Instructions by Addressing Modes) ··········································366
C-1 (a) Port 1 Port Read (Pin P10) ·····························································································407
C-1 (b) Port 1 Port Read (Pin P11) ·····························································································408
C-1 (c) Port 1 Port Read (Pin P12) ·····························································································408
C-1 (d) Port 1 Port Read (Pin P13) ·····························································································409
C-1 (e) Port 1 Port Read (Pin P14) ·····························································································410
C-1 (f) Port 1 Port Read (Pins P15, P16) ····················································································411
C-1 (g) Port 1 Port Read (Pin P17) ·····························································································412
C-2Port 2 Port Read ·············································································································413
C-3Port 3 Port Read ·············································································································414
C-4Port 4 Port Read ·············································································································415
C-5Port 5 Port Read ·············································································································416
C-6Port 6 Port Read ·············································································································417
C-7 (a) Port 7 Port Read (Pin P70) ·····························································································418
C-7 (b) Port 7 Port Read (Pins P71, P72) ····················································································419
C-7 (c) Port 7 Port Read (Pin P73) ·····························································································420
C-7 (d) Port 7 Port Read (Pins P74–P76) ····················································································421
C-7 (e) Port 7 Port Read (Pin P77) ·····························································································422
C-9 (a) Port 9 Port Read (Pins P90, P91) ····················································································424
C-9 (b) Port 9 Port Read (Pins P92–P94) ····················································································425
C-9 (c) Port 9 Port Read (Pin P95) ·····························································································426
C-9 (d) Port 9 Port Read (Pin P96) ·····························································································427
C-9 (e) Port 9 Port Read (Pin P97) ·····························································································428
E-1Port State ························································································································431
E-2Pull-up MOS State ·········································································································433
Section 1 Overview
1.1 Features
The H8/532 is an original Hitachi CMOS microcomputer unit (MCU) comprising a highperformance CPU core plus a full range of supporting functions—an entire system integrated onto
a single chip.
The CPU features a highly orthogonal instruction set that permits addressing modes and data sizes
to be specified independently in each instruction. An internal 16-bit architecture and 16-bit access
to on-chip memory enhance the CPU’s data-processing capability and provide the speed needed
for realtime control applications.
The on-chip supporting functions include RAM, ROM, timers, a serial communication interface
(SCI), A/D conversion, and I/O ports. An on-chip data transfer controller (DTC) can transfer data
in either direction between memory and I/O independently of the CPU.
For the on-chip ROM, a choice is offered between masked ROM and programmable ROM
(PROM). The PROM version can be programmed by the user with a general-purpose PROM
writer.
Table 1-1 lists the main features of the H8/532 chip.
1
Table 1-1 Features
FeatureDescription
CPUGeneral-register machine
• Eight 16-bit general registers
• Five 8-bit and two 16-bit control registers
High speed
• Maximum mode: up to 1M-byte address space
Highly orthogonal instruction set
• Addressing modes and data size can be specified independently for
each instruction
1.5 Addressing modes
• Register-register operations
• Register-memory operations
Instruction set optimized for C language
• Special short formats for frequently-used instructions and addressing modes
Memory• 1K-Byte high-speed RAM on-chip
• 32K-Byte programmable or masked ROM on-chip
16-Bit free-Each channel provides:
running • 1 free-running counter (which can count external events)
timer (FRT)• 2 output-compare registers
(3 channels)• 1 input capture register
8-Bit timer• One 8-bit up-counter (which can count external events)
(1 channel)• 2 time constant registers
PWM timer • Generates pulses with any duty ratio from 0 to 100%
(3 channels)• Resolution: 1/250
Watchdog • An overflow generates a nonmaskable interrupt
timer (WDT)• Can also be used as an interval timer
(1 channel)
2
Table 1-1 Features (cont)
FeatureDescription
Serial com-• Asynchronous or synchronous mode (selectable)
munication• Full duplex: can send and receive simultaneously
interface (SCI)• Built-in baud rate generator
A/D converter • 10-Bit resolution
• 8 channels, controllable in single mode or scan mode (selectable)
• Sample-and-hold function
I/O ports• 57 Input/output pins (six 8-bit ports, one 5-bit port, one 4-bit port)
• 8 Input-only pins (one 8-bit port)
• Memory-mapped I/O
Interrupt • 3 external interrupt pins (NMI, IRQ
controller• 19 internal interrupts
(INTC)• 8 priority levels
Data transfer Performs bidirectional data transfer between memory and I/O independently
controller (DTC) of the CPU
Wait-state Can insert wait states in access to external memory or I/O
controller (WSC)
Operating 5 MCU operating modes
modes• Expanded minimum modes, supporting up to 64k bytes external memory
with or without using on-chip ROM (Modes 1 and 2)
• Expanded maximum modes, supporting up to 1M byte external memory
with or without using on-chip ROM (Modes 3 and 4)
• Single-chip mode (Mode 7)
3 power-down modes
• Sleep mode
• Software standby mode
• Hardware standby mode
Other features• E clock output available
Figure 1-2 shows the pin arrangement of the CP-84 package. Figure 1-3 shows the pin
arrangement of the CG-84 package. Figure 1-4 shows the pin arrangement of the FP-80A package.