Hitachi HD6433827, HD6433864, HD6473827, HD6433865, HD6433866 Hardware Manual

...
H8/3867 Series
H8/3867 HD6473867, HD6433867 H8/3866 HD6433866 H8/3865 HD6433865 H8/3864 HD6433864 H8/3863 HD6433863 H8/3862 HD6433862
H8/3827 Series
H8/3827 HD6473827, HD6433827 H8/3826 HD6433826 H8/3825 HD6433825 H8/3824 HD6433824 H8/3823 HD6433823 H8/3822 HD6433822
ADE-602-142B Rev. 3 2/1/99 Hitachi Ltd.
Hardware Manual

Contents

Section 1 Overview.......................................................................................................... 1
1.1 Overview......................................................................................................................... 1
1.2 Internal Block Diagram .................................................................................................. 5
1.3 Pin Arrangement and Functions ..................................................................................... 6
1.3.1 Pin Arrangement................................................................................................. 6
1.3.2 Pin Functions ...................................................................................................... 8
Section 2 CPU................................................................................................................... 13
2.1 Overview......................................................................................................................... 13
2.1.1 Features............................................................................................................... 13
2.1.2 Address Space..................................................................................................... 14
2.1.3 Register Configuration........................................................................................ 14
2.2 Register Descriptions...................................................................................................... 15
2.2.1 General Registers................................................................................................ 15
2.2.2 Control Registers ................................................................................................ 15
2.2.3 Initial Register Values ........................................................................................ 17
2.3 Data Formats................................................................................................................... 17
2.3.1 Data Formats in General Registers..................................................................... 18
2.3.2 Memory Data Formats........................................................................................ 19
2.4 Addressing Modes.......................................................................................................... 20
2.4.1 Addressing Modes .............................................................................................. 20
2.4.2 Effective Address Calculation ............................................................................ 22
2.5 Instruction Set................................................................................................................. 26
2.5.1 Data Transfer Instructions .................................................................................. 28
2.5.2 Arithmetic Operations ........................................................................................ 30
2.5.3 Logic Operations ................................................................................................ 31
2.5.4 Shift Operations.................................................................................................. 31
2.5.5 Bit Manipulations ............................................................................................... 33
2.5.6 Branching Instructions........................................................................................ 37
2.5.7 System Control Instructions ............................................................................... 39
2.5.8 Block Data Transfer Instruction ......................................................................... 40
2.6 Basic Operational Timing............................................................................................... 42
2.6.1 Access to On-Chip Memory (RAM, ROM) ....................................................... 42
2.6.2 Access to On-Chip Peripheral Modules ............................................................. 43
2.7 CPU States...................................................................................................................... 45
2.7.1 Overview............................................................................................................. 45
2.7.2 Program Execution State ................................................................................... 46
2.7.3 Program Halt State.............................................................................................. 46
2.7.4 Exception-Handling State................................................................................... 46
2.8 Memory Map.................................................................................................................. 47
2.8.1 Memory Map ...................................................................................................... 47
5.4 Watch Mode.................................................................................................................... 106
5.4.1 Transition to Watch Mode.................................................................................. 106
5.4.2 Clearing Watch Mode......................................................................................... 106
5.4.3 Oscillator Settling Time after Watch Mode is Cleared ...................................... 106
5.5 Subsleep Mode................................................................................................................ 107
5.5.1 Transition to Subsleep Mode.............................................................................. 107
5.5.2 Clearing Subsleep Mode..................................................................................... 107
5.6 Subactive Mode.............................................................................................................. 108
5.6.1 Transition to Subactive Mode............................................................................. 108
5.6.2 Clearing Subactive Mode ................................................................................... 108
5.6.3 Operating Frequency in Subactive Mode ........................................................... 108
5.7 Active (Medium-Speed) Mode....................................................................................... 109
5.7.1 Transition to Active (Medium-Speed) Mode ..................................................... 109
5.7.2 Clearing Active (Medium-Speed) Mode ............................................................ 109
5.7.3 Operating Frequency in Active (Medium-Speed) Mode.................................... 109
5.8 Direct Transfer................................................................................................................ 110
5.8.1 Overview of Direct Transfer............................................................................... 110
5.8.2 Direct Transition Times...................................................................................... 111
5.9 Module Standby Mode ................................................................................................... 114
5.9.1 Setting Module Standby Mode ........................................................................... 114
5.9.2 Clearing Module Standby Mode......................................................................... 114
Section 6 ROM.................................................................................................................. 117
6.1 Overview......................................................................................................................... 117
6.1.1 Block Diagram.................................................................................................... 117
6.2 H8/3867 and H8/3827 PROM Mode.............................................................................. 118
6.2.1 Setting to PROM Mode ..................................................................................... 118
6.2.2 Socket Adapter Pin Arrangement and Memory Map ......................................... 118
6.3 H8/3867 and H8/3827 Programming.............................................................................. 121
6.3.1 Writing and Verifying......................................................................................... 121
6.3.2 Programming Precautions................................................................................... 126
6.4 Reliability of Programmed Data..................................................................................... 127
Section 7 RAM................................................................................................................. 129
7.1 Overview......................................................................................................................... 129
7.1.1 Block Diagram.................................................................................................... 129
Section 8 I/O Ports........................................................................................................... 131
8.1 Overview......................................................................................................................... 131
8.2 Port 1 ............................................................................................................................ 133
8.2.1 Overview............................................................................................................. 133
8.2.2 Register Configuration and Description ............................................................. 133
8.2.3 Pin Functions ...................................................................................................... 138
8.11 Input/Output Data Inversion Function............................................................................ 170
8.11.1 Overview............................................................................................................. 170
8.11.2 Register Configuration and Descriptions............................................................ 170
Section 9 Timers............................................................................................................... 173
9.1 Overview......................................................................................................................... 173
9.2 Timer A........................................................................................................................... 175
9.2.1 Overview............................................................................................................. 175
9.2.2 Register Descriptions.......................................................................................... 177
9.2.3 Timer Operation.................................................................................................. 181
9.2.4 Timer A Operation States ................................................................................... 182
9.3 Timer C........................................................................................................................... 183
9.3.1 Overview............................................................................................................. 183
9.3.2 Register Descriptions.......................................................................................... 185
9.3.3 Timer Operation.................................................................................................. 189
9.3.4 Timer C Operation States ................................................................................... 191
9.4 Timer F ........................................................................................................................... 192
9.4.1 Overview............................................................................................................. 192
9.4.2 Register Descriptions.......................................................................................... 195
9.4.3 CPU Interface ..................................................................................................... 203
9.4.4 Operation ............................................................................................................ 206
9.4.5 Application Notes ............................................................................................... 210
9.5 Timer G........................................................................................................................... 212
9.5.1 Overview............................................................................................................. 212
9.5.2 Register Descriptions.......................................................................................... 215
9.5.3 Noise Canceler.................................................................................................... 220
9.5.4 Operation ............................................................................................................ 222
9.5.5 Application Notes ............................................................................................... 226
9.5.6 Timer G Application Example............................................................................ 230
9.6 Watchdog Timer............................................................................................................. 232
9.6.1 Overview............................................................................................................. 232
9.6.2 Register Descriptions.......................................................................................... 233
9.6.3 Timer Operation.................................................................................................. 237
9.6.4 Watchdog Timer Operation States...................................................................... 238
9.7 Asynchronous Event Counter (AEC) ............................................................................. 239
9.7.1 Overview............................................................................................................. 239
9.7.2 Register Descriptions.......................................................................................... 241
9.7.3 Operation ............................................................................................................ 246
9.7.4 Asynchronous Event Counter Operation Modes ................................................ 247
9.7.5 Application Notes ............................................................................................... 248
Section 10 Serial Communication Interface............................................................... 249
10.1 Overview......................................................................................................................... 249
12.2 Register Descriptions...................................................................................................... 315
12.2.1 A/D Result Registers (ADRRH, ADRRL)......................................................... 315
12.2.2 A/D Mode Register (AMR)................................................................................ 315
12.2.3 A/D Start Register (ADSR)................................................................................ 317
12.2.4 Clock Stop Register 1 (CKSTPR1).................................................................... 317
12.3 Operation ........................................................................................................................ 319
12.3.1 A/D Conversion Operation................................................................................. 319
12.3.2 Start of A/D Conversion by External Trigger Input........................................... 319
12.3.3 A/D Converter Operation Modes........................................................................ 320
12.4 Interrupts......................................................................................................................... 320
12.5 Typical Use..................................................................................................................... 320
12.6 Application Notes........................................................................................................... 323
Section 13 LCD Controller/Driver................................................................................ 325
13.1 Overview......................................................................................................................... 325
13.1.1 Features............................................................................................................... 325
13.1.2 Block Diagram.................................................................................................... 326
13.1.3 Pin Configuration................................................................................................ 327
13.1.4 Register Configuration........................................................................................ 327
13.2 Register Descriptions...................................................................................................... 328
13.2.1 LCD Port Control Register (LPCR)................................................................... 328
13.2.2 LCD Control Register (LCR)............................................................................. 331
13.2.3 LCD Control Register 2 (LCR2)........................................................................ 333
13.2.4 Clock Stop Register 2 (CKSTPR2).................................................................... 335
13.3 Operation ........................................................................................................................ 336
13.3.1 Settings up to LCD Display................................................................................ 336
13.3.2 Relationship between LCD RAM and Display.................................................. 339
13.3.3 Luminance Adjustment Function (V0 Pin)......................................................... 347
13.3.4 Step-Up Constant-Voltage (5 V) Power Supply................................................. 348
13.3.5 Low-Power-Consumption LCD Drive System................................................... 348
13.3.6 Operation in Power-Down Modes...................................................................... 352
13.3.7 Boosting the LCD Drive Power Supply............................................................. 353
13.3.8 Connection to HD66100..................................................................................... 354
Section 14 Power Supply Circuit................................................................................... 357
14.1 Overview......................................................................................................................... 357
14.2 When Using the Internal Power Supply Step-Down Circuit.......................................... 357
14.3 When Not Using the Internal Power Supply Step-Down Circuit................................... 358
Section 15 Electrical Characteristics............................................................................ 359
15.1 H8/3867 Series and H8/3827 Series Absolute Maximum Ratings................................. 359
15.2 H8/3867 Series and H8/3827 Series Electrical Characteristics...................................... 360
15.2.1 Power Supply Voltage and Operating Range..................................................... 360
Loading...
+ 450 hidden pages