Hitachi SH7095 Hardware User Manual

Type
Hardware User Manual
SH7095 Hardware User Manual
Page i
Notice
When using this document, keep the following in mind:
1. This document may, wholly or partially, be subject to change without notice.
2. All rights are reserved: No one is permitted to reproduce or duplicate, in any form,
the whole or part of this document without Hitachi’s permission.
3. Hitachi will not be held responsible for any damage to the user that may result from
accidents or any other reasons during operation of the user’s unit according to this
document.
4. Circuitry and other examples described herein are meant merely to indicate the
characteristics and performance of Hitachi’s semiconductor products. Hitachi
assumes no responsibility for any intellectual property claims or other problems that
may result from applications based on the examples described herein.
5. No license is granted by implication or otherwise under any patents or other rights of
any third party or Hitachi, Ltd.
6. MEDICAL APPLICATIONS: Hitachi’s products are not authorized for use in
MEDICAL APPLICATIONS without the written consent of the appropriate officer
of Hitachi’s sales company. Such use includes, but is not limited to, use in life
support systems. Buyers of Hitachi’s products are requested to notify the relevant
Hitachi sales offices when planning to use the products in MEDICAL
APPLICATIONS.
Page ii
Contents
Section 1 Overview and Pin Functions............................................................. 1
1.1 SH7095 Features............................................................................................. 1
1.1.1 Features of the SH7095 ......................................................................... 1
1.2 Block Diagram................................................................................................ 5
1.3 Description of Pins.......................................................................................... 6
1.3.1 Pin Arrangement.................................................................................. 6
1.3.2 Pin Functions....................................................................................... 7
Section 2 CPU................................................................................................... 13
2.1 Register Configuration ..................................................................................... 13
2.1.1 General Registers................................................................................. 13
2.1.2 Control Registers.................................................................................. 14
2.1.3 System Registers.................................................................................. 14
2.1.4 Initial Values of Registers...................................................................... 15
2.2 Data Formats.................................................................................................. 16
2.2.1 Data Format in Registers........................................................................ 16
2.2.2 Data Format in Memory ........................................................................ 16
2.2.3 Immediate Data Format......................................................................... 17
2.3 Instruction Features ......................................................................................... 17
2.3.1 RISC-Type Instruction Set..................................................................... 17
2.3.2 Addressing Modes................................................................................ 20
2.3.3 Instruction Format................................................................................ 23
2.4 Instruction Set ................................................................................................ 27
2.4.1 Instruction Set by Classification.............................................................. 27
2.4.2 Operation Code Map............................................................................. 40
2.5 Processing States............................................................................................. 42
2.5.1 State Transitions................................................................................... 42
2.5.2 Power-Down State................................................................................ 44
Section 3 Operating Mode................................................................................. 47
3.1 Operating Mode of the On-chip Clock Pulse Generator........................................... 47
3.1.1 Clock Pulse Generator........................................................................... 47
3.1.2 Clock Operating Mode.......................................................................... 49
3.2 Bus Width of the CS0 Area............................................................................... 50
3.3 Switching between Master and Slave Modes......................................................... 51
3.4 Cache Control Register..................................................................................... 51
Section 4 Exception Processing ........................................................................ 53
4.1 Overview....................................................................................................... 53
Page iii
4.1.1 Types of Exception Processing and Priority Order....................................... 53
4.1.2 Exception Processing Operations............................................................. 54
4.1.3 Exception Processing Vector Table.......................................................... 55
4.2 Resets............................................................................................................ 57
4.2.1 Types of Resets.................................................................................... 57
4.2.2 Power-On Reset ................................................................................... 57
4.2.3 Manual Reset....................................................................................... 58
4.3 Address Errors................................................................................................ 59
4.3.1 Sources of Address Errors...................................................................... 59
4.3.2 Address Error Exception Processing......................................................... 60
4.4 Interrupts ....................................................................................................... 60
4.4.1 Interrupt Sources .................................................................................. 60
4.4.2 Interrupt Priority Level.......................................................................... 61
4.4.3 Interrupt Exception Processing................................................................ 61
4.5 Exceptions Triggered by Instructions................................................................... 62
4.5.1 Instruction-Triggered Exception Types ..................................................... 62
4.5.2 Trap Instructions .................................................................................. 62
4.5.3 Illegal Slot Instructions.......................................................................... 63
4.5.4 General Illegal Instructions..................................................................... 63
4.6 When Exception Sources are Not Accepted .......................................................... 63
4.6.1 Immediately after a Delay Branch Instruction............................................. 64
4.6.2 Immediately after an Interrupt-Disabled Instruction..................................... 64
4.7 Stack Status after Exception Processing Ends........................................................ 64
4.8 Notes on Use .................................................................................................. 65
4.8.1 Value of Stack Pointer (SP) .................................................................... 65
4.8.2 Value of Vector Base Register (VBR)....................................................... 65
4.8.3 Address Errors Caused by Stacking of Address Error Exception Processing..... 65
4.8.4 Accessing Registers during a Manual Reset ............................................... 65
Section 5 Interrupt Controller (INTC)............................................................... 67
5.1 Overview....................................................................................................... 67
5.1.1 Features.............................................................................................. 67
5.1.2 Block Diagram..................................................................................... 67
5.1.3 Pin Configuration ................................................................................. 69
5.1.4 Register Configuration........................................................................... 69
5.2 Interrupt Sources ............................................................................................. 70
5.2.1 NMI Interrupts..................................................................................... 70
5.2.2 User Break Interrupt.............................................................................. 70
5.2.3 IRL Interrupts...................................................................................... 71
5.2.4 On-chip Peripheral Module Interrupts....................................................... 74
5.2.5 Interrupt Exception Vectors and Priority Rankings...................................... 74
5.3 Description of Registers.................................................................................... 76
5.3.1 Interrupt Priority Level Setting Register A (IPRA)...................................... 76
Page iv
5.3.2 Interrupt Priority Level Setting Register B (IPRB)...................................... 77
5.3.3 Vector Number Setting Register WDT (VCRWDT).................................... 79
5.3.4 Vector Number Setting Register A (VCRA) .............................................. 79
5.3.5 Vector Number Setting Register B (VCRB)............................................... 80
5.3.6 Vector Number Setting Register C (VCRC)............................................... 81
5.3.7 Vector Number Setting Register D (VCRD) .............................................. 82
5.3.8 Interrupt Control Register (ICR).............................................................. 83
5.4 Interrupt Operation.......................................................................................... 84
5.4.1 Interrupt Sequence................................................................................ 84
5.4.2 Stack after Interrupt Exception Processing................................................. 87
5.5 Interrupt Response Time................................................................................... 87
5.6 Sampling of the IRL Pins (0–3).......................................................................... 89
5.7 Notes on Use.................................................................................................. 90
Section 6 User Break Controller ....................................................................... 95
6.1 Overview....................................................................................................... 95
6.1.1 Features.............................................................................................. 95
6.1.2 Block Diagram..................................................................................... 96
6.1.3 Register Configuration .......................................................................... 97
6.2 Register Descriptions....................................................................................... 98
6.2.1 Break Address Register A (BARA).......................................................... 98
6.2.2 Break Address Mask Register A (BAMRA)............................................... 99
6.2.3 Break Bus Cycle Register A (BBRA)....................................................... 100
6.2.4 Break Address Register B (BARB).......................................................... 102
6.2.5 Break Address Mask Register B (BAMRB)............................................... 102
6.2.6 Break Data Register B (BDRB)............................................................... 102
6.2.7 Break Data Mask Register B (BDMRB).................................................... 103
6.2.8 Bus Break Register B (BBRB)................................................................ 104
6.2.9 Break Control Register (BRCR).............................................................. 105
6.3 Operation....................................................................................................... 108
6.3.1 Flow of the User Break Operation............................................................ 108
6.3.2 Break on Instruction Fetch Cycle............................................................. 109
6.3.3 Break on Data Access Cycle................................................................... 109
6.3.4 Break on External Bus Cycle.................................................................. 110
6.3.5 Program Counter (PC) Values Saved........................................................ 110
6.3.6 Use Examples...................................................................................... 111
6.3.7 Notes on Use....................................................................................... 113
6.3.8 SH7000-Series Compatibility Mode......................................................... 114
Section 7 Bus State Controller (BSC)............................................................... 117
7.1 Overview....................................................................................................... 117
7.1.1 Features.............................................................................................. 117
7.1.2 Block Diagram..................................................................................... 118
Page v
7.1.3 Pin Configuration ................................................................................. 120
7.1.4 Register Configuration........................................................................... 121
7.1.5 Address Map ....................................................................................... 122
7.2 Description of Registers.................................................................................... 124
7.2.1 Bus Control Register 1 (BCR1) ............................................................... 124
7.2.2 Bus Control Register 2 (BCR2) ............................................................... 126
7.2.3 Wait Control Register (WCR)................................................................. 128
7.2.4 Individual Memory Control Register (MCR).............................................. 130
7.2.5 Refresh Timer Control/Status Register (RTCSR) ........................................ 134
7.2.6 Refresh Timer Counter (RTCNT) ............................................................ 135
7.2.7 Refresh Time Constant Register (RTCOR) ................................................ 136
7.3 Access Size and Data Alignment ........................................................................ 136
7.3.1 Connections to Ordinary Devices............................................................. 136
7.3.2 Connections to Little Endian Devices ....................................................... 138
7.4 Accessing Ordinary Space................................................................................. 139
7.4.1 Basic Timing ....................................................................................... 139
7.4.2 Wait State Control ................................................................................ 143
7.5 Synchronous DRAM Interface ........................................................................... 145
7.5.1 Synchronous DRAM Direct Connection.................................................... 145
7.5.2 Address Multiplex ................................................................................ 147
7.5.3 Burst Read .......................................................................................... 148
7.5.4 Single Read......................................................................................... 151
7.5.5 Write.................................................................................................. 152
7.5.6 Bank Active......................................................................................... 154
7.5.7 Refreshes............................................................................................ 160
7.5.8 Power-On Sequence.............................................................................. 163
7.5.9 Phase Shift by PLL ............................................................................... 165
7.6 DRAM Interface.............................................................................................. 168
7.6.1 DRAM Direct Connection...................................................................... 168
7.6.2 Address Multiplex ................................................................................ 170
7.6.3 Basic Timing ....................................................................................... 171
7.6.4 Wait State Control ................................................................................ 172
7.6.5 Burst Access........................................................................................ 174
7.6.6 Refresh Timing .................................................................................... 176
7.6.7 Power-On Sequence.............................................................................. 177
7.7 Pseudo-SRAM Interface ................................................................................... 178
7.7.1 Pseudo-SRAM Direct Connection............................................................ 178
7.7.2 Basic Timing ....................................................................................... 181
7.7.3 Wait State Control ................................................................................ 182
7.7.4 Burst Access........................................................................................ 184
7.7.5 Refresh............................................................................................... 185
7.7.6 Power-On Sequence.............................................................................. 187
7.8 Burst ROM Interface........................................................................................ 187
Page vi
7.9 Waits between Access Cycles............................................................................ 190
7.10 Bus Arbitration............................................................................................... 191
7.10.1 Master Mode....................................................................................... 193
7.10.2 Slave Mode......................................................................................... 195
7.10.3 Partial-Share Master Mode..................................................................... 196
7.10.4 External Bus Address Monitor................................................................ 199
7.10.5 Master and Slave Coordination ............................................................... 199
7.11 Other Topics................................................................................................... 200
7.11.1 Resets ................................................................................................ 200
7.11.2 Access as Seen from the CPU or DMAC................................................... 200
7.11.3 Emulator............................................................................................. 202
Section 8 Cache................................................................................................. 203
8.1 Introduction.................................................................................................... 203
8.2 Cache Control Register (CCR)........................................................................... 204
8.3 Address Space and the Cache............................................................................. 205
8.4 Cache Operation.............................................................................................. 206
8.4.1 Cache Reads........................................................................................ 206
8.4.2 Writing............................................................................................... 209
8.4.3 Cache-Through Access.......................................................................... 210
8.4.4 The TAS Instruction ............................................................................. 211
8.4.5 Pseudo LRU and Cache Replacement....................................................... 211
8.4.6 Cache Initialization............................................................................... 213
8.4.7 Associative Purges................................................................................ 213
8.4.8 Data Array Access................................................................................ 214
8.4.9 Address Array Access........................................................................... 214
8.5 Cache Use...................................................................................................... 215
8.5.1 Initialization........................................................................................ 215
8.5.2 Purge of Specific Lines.......................................................................... 216
8.5.3 Cache Data Coherency.......................................................................... 217
8.5.4 Two-Way Cache Mode.......................................................................... 218
8.5.5 Usage Notes........................................................................................ 218
Section 9 Direct Memory Access Controller (DMAC)..................................... 221
9.1 Overview....................................................................................................... 221
9.1.1 Features.............................................................................................. 221
9.1.2 Block Diagram..................................................................................... 222
9.1.3 Pin Configuration................................................................................. 224
9.1.4 Register Configuration .......................................................................... 224
9.2 Register Descriptions....................................................................................... 225
9.2.1 DMA Source Address Registers 0 and 1 (SAR0 and SAR1).......................... 225
9.2.2 DMA Destination Address Registers 0 and 1 (DAR0 and DAR1) .................. 226
9.2.3 DMA Transfer Count Registers 0 and 1 (TCR0 and TCR1) .......................... 226
Page vii
9.2.4 DMA Channel Control Registers 0 and 1 (CHCR0 and CHCR1).................... 227
9.2.5 DMA Vector Number Registers 0 and 1 (VCRDMA0, VCRDMA1)............... 231
9.2.6 DMA Request/Response Selection Control Registers 0 and 1
(DRCR0, DRCR1)................................................................................ 232
9.2.7 DMA Operation Register (DMAOR)........................................................ 233
9.3 Operation....................................................................................................... 234
9.3.1 DMA Transfer Flow.............................................................................. 235
9.3.2 DMA Transfer Requests......................................................................... 237
9.3.3 Channel Priority................................................................................... 239
9.3.4 DMA Transfer Types ............................................................................ 241
9.3.5 Number of Bus Cycles........................................................................... 249
9.3.6 DMA Transfer Request Acknowledge Signal Output Timing ........................ 249
9.3.7 DREQ Pin Input Detection Timing........................................................... 260
9.3.8 DMA Transfer-End............................................................................... 272
9.4 Examples of Use.............................................................................................. 274
9.4.1 DMA Transfer Between On-Chip SCI and External Memory ........................ 274
9.5 Notes............................................................................................................. 274
Section 10 Division Unit ................................................................................... 277
10.1 Overview....................................................................................................... 277
10.1.1 Features.............................................................................................. 277
10.1.2 Block Diagram..................................................................................... 277
10.1.3 Register Configuration........................................................................... 278
10.2 Description of Registers.................................................................................... 279
10.2.1 Divisor Register (DVSR) ....................................................................... 279
10.2.2 Dividend Register L for 32-Bit division (DVDNT)...................................... 279
10.2.3 Division Control Register (DVCR)........................................................... 280
10.2.4 Vector Number Setting Register (VCRDIV) .............................................. 281
10.2.5 Dividend Register H (DVDNTH)............................................................. 281
10.2.6 Dividend Register L (DVDNTL) ............................................................. 282
10.3 Operation....................................................................................................... 282
10.3.1 64 Bit/32 Bit Operations ........................................................................ 282
10.3.2 32 Bit/32 Bit Operations ........................................................................ 282
10.3.3 Handling of Overflows .......................................................................... 283
10.4 Notes on Use .................................................................................................. 283
10.4.1 Access................................................................................................ 283
10.4.2 Overflow Flag...................................................................................... 284
Section 11 16-Bit Free-Running Timer............................................................. 285
11.1 Overview....................................................................................................... 285
11.1.1 Features.............................................................................................. 285
11.1.2 Block Diagram..................................................................................... 286
11.1.3 Pin Configuration ................................................................................. 287
Page viii
11.1.4 Register Configuration .......................................................................... 287
11.2 Register Descriptions....................................................................................... 288
11.2.1 Free-Running Counter (FRC).................................................................. 288
11.2.2 Output Compare Registers A and B (OCRA and OCRB).............................. 288
11.2.3 Input Capture Register (ICR).................................................................. 289
11.2.4 Timer Interrupt Enable Register (TIER).................................................... 289
11.2.5 Free-Running Timer Control/Status Register (FTCSR)................................ 290
11.2.6 Timer Control Register (TCR) ................................................................ 292
11.2.7 Timer Output Compare Control Register (TOCR)....................................... 293
11.3 CPU Interface................................................................................................. 295
11.4 Operation....................................................................................................... 298
11.4.1 FRC Count Timing............................................................................... 298
11.4.2 Output Timing for Output Compare......................................................... 299
11.4.3 FRC Clear Timing................................................................................ 299
11.4.4 Input Capture Input Timing.................................................................... 300
11.4.5 Input Capture Flag (ICF) Set Timing........................................................ 301
11.4.6 Output Compare Flag (OCFA, OCFB) Set Timing...................................... 301
11.4.7 Timer Overflow Flag (OVF) Set Timing................................................... 302
11.5 Interrupt Sources............................................................................................. 303
11.6 Example of Using the FRT................................................................................ 303
11.7 Notes on Use.................................................................................................. 304
Section 12 Watchdog Timer (WDT)................................................................. 309
12.1 Overview....................................................................................................... 309
12.1.1 Features.............................................................................................. 309
12.1.2 Block Diagram..................................................................................... 310
12.1.3 Pin Configuration................................................................................. 310
12.1.4 Register Configuration .......................................................................... 311
12.2 Register Descriptions....................................................................................... 311
12.2.1 Watchdog Timer Counter (WTCNT)........................................................ 311
12.2.2 Watchdog Timer Control/Status Register (WTCSR).................................... 312
12.2.3 Reset Control/Status Register (RSTCSR).................................................. 313
12.2.4 Register Access.................................................................................... 314
12.3 Operation....................................................................................................... 316
12.3.1 Operation in the Watchdog Timer Mode................................................... 316
12.3.2 Operation in the Interval Timer Mode....................................................... 318
12.3.3 Operation in the Standby Mode............................................................... 318
12.3.4 Timing of Setting the Overflow Flag (OVF) .............................................. 319
12.3.5 Timing of Setting the Watchdog Timer Overflow Flag (WOVF).................... 319
12.4 Notes on Use.................................................................................................. 320
12.4.1 WTCNT Write and Increment Contention................................................. 320
12.4.2 Changing CKS2 to CKS0 Bit Values........................................................ 320
12.4.3 Changing Watchdog Timer/Interval Timer Modes ...................................... 320
Page ix
12.4.4 System Reset With WDTOVF................................................................. 321
12.4.5 Internal Reset With the Watchdog Timer................................................... 321
Section 13 Serial Communication Interface...................................................... 323
13.1 Overview....................................................................................................... 323
13.1.1 Features.............................................................................................. 323
13.1.2 Block Diagram..................................................................................... 324
13.1.3 Pin Configuration ................................................................................. 324
13.1.4 Register Configuration........................................................................... 325
13.2 Register Descriptions........................................................................................ 325
13.2.1 Receive Shift Register ........................................................................... 325
13.2.2 Receive Data Register............................................................................ 325
13.2.3 Transmit Shift Register.......................................................................... 326
13.2.4 Transmit Data Register.......................................................................... 326
13.2.5 Serial Mode Register............................................................................. 326
13.2.6 Serial Control Register........................................................................... 329
13.2.7 Serial Status Register............................................................................. 332
13.2.8 Bit Rate Register (BRR)......................................................................... 336
13.3 Operation....................................................................................................... 341
13.3.1 Overview............................................................................................ 341
13.3.2 Operation in Asynchronous Mode............................................................ 344
13.3.3 Multiprocessor Communication............................................................... 354
13.3.4 Clocked Synchronous Operation.............................................................. 362
13.4 SCI Interrupt Sources and the DMAC.................................................................. 371
13.5 Notes on Use .................................................................................................. 371
Section 14 Power-Down Modes........................................................................ 375
14.1 Overview....................................................................................................... 375
14.1.1 Power-Down Modes.............................................................................. 375
14.1.2 Register.............................................................................................. 376
14.2 Description of Register..................................................................................... 377
14.2.1 Standby Control Register (SBYCR) ......................................................... 377
14.3 Sleep Mode .................................................................................................... 379
14.3.1 Transition to the Sleep Mode .................................................................. 379
14.3.2 Canceling the Sleep Mode...................................................................... 379
14.4 Standby Mode................................................................................................. 379
14.4.1 Transition to the Standby Mode............................................................... 379
14.4.2 Canceling the Standby Mode................................................................... 380
14.4.3 Standby Mode Cancellation by NMI......................................................... 381
14.4.4 Clock Pause Function............................................................................ 381
14.4.5 Notes on Standby Mode......................................................................... 383
14.5 Module Standby Function.................................................................................. 383
14.5.1 Transition to Module Standby Function..................................................... 383
Page x
14.5.2 Clearing the Module Standby Function..................................................... 383
Section 15 Electrical Characteristics................................................................. 385
15.1 Absolute Maximum Ratings.............................................................................. 385
15.2 DC Characteristics........................................................................................... 386
15.3 AC Characteristics........................................................................................... 388
15.3.1 Clock Timing ...................................................................................... 388
15.3.2 Control Signal Timing........................................................................... 392
15.3.3 Bus Timing......................................................................................... 398
15.3.4 DMAC Timing .................................................................................... 464
15.3.5 Free-Running Timer Timing................................................................... 465
15.3.6 Watchdog Timer Timing........................................................................ 466
15.3.7 Serial Communications Interface Timing .................................................. 467
15.3.8 AC Characteristics Measurement Conditions ............................................. 468
Appendix A Pin States ...................................................................................... 469
Appendix B List of Register.............................................................................. 471
B.1 List of I/O Register.......................................................................................... 471
B.2 Register Chart................................................................................................. 479
Appendix C External Dimensions..................................................................... 521
Hitachi 1
Section 1 Overview and Pin Functions
1.1 SH7095 Features
The SH7095 is a family of new generation single-chip RISC microprocessors that integrate a
Hitachi-original CPU, a multiplier, cache memory, and peripheral functions required for system
configuration.
The CPU features a RISC-type instruction set. Most instructions can be executed in one clock
cycle, which greatly improves instruction execution speed. In addition, the 4-kbyte cache memory
divider enhances data processing ability.
In addition, the SH7095 includes on-chip peripheral functions including a direct memory access
controller (DMAC), timers, a serial communication interface (SCI), and an interrupt controller.
External memory access support functions (bus state controller) enable direct connection to
DRAM, synchronous DRAM, and pseudo SRAM.
As a result, the high-speed CPU and various peripheral functions enable designers to construct
high-performance systems with advanced functionality at low cost, even in applications such as
real-time control that require very high speeds, impossible with conventional microprocessors.
1.1.1 Features of the SH7095
CPU:
• Original Hitachi architecture
• 32-bit internal data paths
• General-registers:
— Sixteen 32-bit general registers
— Three 32-bit control registers
— Four 32-bit system registers
• RISC-type instruction set:
— Instruction length: 16-bit fixed length for improved code efficiency
— Load-store architecture (basic arithmetic and logic operations are executed between
registers)
— Delayed conditional/unconditional branch instructions reduce pipeline disruption during
branching
— Instruction set based on C language
• Instruction execution time: one instruction/cycle (35 ns/instruction at 28.7-MHz operation)
• Address space: 4 Gbytes available on the architecture (128-Mbyte memory space)
2 Hitachi
• On-chip multiplier: multiplication operations (32 bits × 32 bits → 64 bits) and
multiplication/accumulation operations (32 bits × 32 bits + 64 bits → 64 bits) executed in 2 to
4 cycles
• Five-stage pipeline
Operating Modes:
• Clock mode: selected from the combination of an on-chip oscillator module, a frequency
doubler circuit, clock output, PLL synchronization, and 90° phase shifting
• Slave/master mode
• Processing states
— Power-on reset state
— Manual reset state
— Exception processing state
— Program execution state
— Power-down state
— Bus-released state
• Power-down states
— Sleep mode
— Standby mode
— Module stop mode
Interrupt:
• Five external interrupt pins (NMI, IRL0 to IRL3) and IRL0 to IRL3 pins set 15 controller
(INTC) external interrupt levels
• Eleven internal interrupt sources (DMAC × 2, DIVU × 1, FRT × 3, WDT × 1, SCI × 4,
REF × 1)
• Sixteen programmable priority levels
• Vector numbers settable in every internal interrupt source
• Auto-vector or external vector selectable as external interrupt vector by IRL0 to IRL3 pins
User Break:
• Generates an interrupt when the CPU or DMAC generates an address, data, and controller
(UBC) a bus cycle with specified conditions (address, data, CPU/peripheral cycle, instruction
fetch/data access, read/write, byte/word/longword access)
• Simplifies configuration of a self-debugger
Clock/Phase Locked Loop (PLL):
• Built-in clock pulse generator
Hitachi 3
• Selectable between crystal clock source and external clock source
• Clock multiplier (×1, ×2, ×3)
• On-chip clock pulse generator (CPG)
— A frequency-doubling circuit, clock output, PLL synchronization, or 90° phase shift can
be selected
Bus State Controller:
• Supports external memory access controller (BSC)
— 32-bit external data bus
• Memory address space divided into four areas with the following preset features. It is possible
to set the following characteristics for each area (32 Mbyte linear):
— Bus size (8, 16, or 32 bits)
— Number of wait cycles settable or not settable
— Setting the memory space type simplifies connection to DRAM, synchronous DRAM,
pseudo SRAM, and burst ROM
— Outputs signals RAS, CAS, CE, and OE corresponding to DRAM, synchronous DRAM,
and pseudo SRAM areas
— Tp cycles can be generated to assure RAS precharge time
— Address multiplexing is supported internally, so DRAM and synchronous DRAM can be
connected directly
— Outputs chip select signals (CS0 to CS3) for each area
• DRAM/synchronous DRAM/pseudo SRAM refresh function controller (BSC)
— Programmable refresh interval
— Supports CAS-before-RAS refresh and self-refresh modes
• DRAM/synchronous DRAM/pseudo SRAM burst access function
— Supports high-speed access modes for DRAM/synchronous DRAM/pseudo SRAM
• Wait cycles can be inserted by an external WAIT signal
Cache Memory:
• 4 kbytes
• 64 entries, 4-way set associative, 16-byte line length
• Write-through type of writing data
• LRU replacement algorithm
• 2 kbytes of the cache can be used as 2-kbyte internal RAM
Direct Memory Access Controller (DMAC) (2 Channels):
• Permits DMA transfer between external memory, external I/O, on-chip peripheral modules
4 Hitachi
• Enables DMA transfer request and auto-request from external pins, on-chip SCI, and on-chip
timers
• Cycle-steal mode or burst mode
• Channel priority level is selectable (fixed mode or round-robin mode)
• Dual or single address transfer mode is selectable
• Transfer data width: 1/2/4/16 bytes
• Address space: 4 Gbytes; maximum transfer counts: 16,777,216
Division Unit (DIVU):
• Executes 64 ÷ 32 → 32… 32 and 32 ÷ 32 → 32… 32 divisions
• Overflow interrupt
16-Bit Free Running Timer (FRT) (1 Channel):
• Selects input from three internal/external clocks
• Input capture and output compare
• Counter overflow, compare match, and input capture interrupt
Watchdog Timer (WDT) (1 Channel):
• Watchdog timer or interval timer can be switched
• Count overflow can generate an internal reset, external signal, or interrupt
• Power-on reset or manual reset can be selected as the internal reset
Serial Communication Interface (SCI) (1 Channel):
• Asynchronous or clocked synchronous mode is selectable
• Simultaneous transmit and receive (full duplex)
• On-chip baud rate generator in each channel
• Multiprocessor communication function
Package:
• 144-pin plastic QFP (FP-144A)
Hitachi 5
1.2 Block Diagram
Figure 1.1 is a block diagram of the SH7095.
Figure 1.1 Block Diagram
6 Hitachi
1.3 Description of Pins
1.3.1 Pin Arrangement
Note: Do not connect anything to pins labeled N.C
Figure 1.2 Pin Arrangement (144-Pin Plastic QFP)
Hitachi 7
1.3.2 Pin Functions
Table 1.2 shows the pin functions of the SH7095.
Table 1.1 Pin Functions
Pin No. Pin Name I/O Pin Description
1 D11 I/O Data bus
2 D12 I/O Data bus
3 D13 I/O Data bus
4 V
CC
I Power
5 D14 I/O Data bus
6 V
SS
I Ground
7 D15 I/O Data bus
8 D16 I/O Data bus
9 D17 I/O Data bus
10 D18 I/O Data bus
11 D19 I/O Data bus
12 V
CC
I Power
13 D20 I/O Data bus
14 V
SS
I Ground
15 D21 I/O Data bus
16 D22 I/O Data bus
17 D23 I/O Data bus
18 V
CC
I Power
19 D24 I/O Data bus
20 V
SS
I Ground
21 D25 I/O Data bus
22 D26 I/O Data bus
23 D27 I/O Data bus
24 V
CC
I Power
25 D28 I/O Data bus
26 V
SS
I Ground
27 D29 I/O Data bus
28 D30 I/O Data bus
29 D31 I/O Data bus
8 Hitachi
Table 1.1 Pin Functions (cont)
Pin No. Pin Name I/O Pin Description
30 A0 I/O Address bus
31 A1 I/O Address bus
32 A2 I/O Address bus
33 V
SS
I Ground
34 A3 I/O Address bus
35 A4 I/O Address bus
36 A5 I/O Address bus
37 A6 I/O Address bus
38 A7 I/O Address bus
39 A8 I/O Address bus
40 V
CC
I Power
41 A9 I/O Address bus
42 V
SS
I Ground
43 A10 I/O Address bus
44 A11 I/O Address bus
45 A12 I/O Address bus
46 A13 I/O Address bus
47 A14 I/O Address bus
48 V
CC
I Power
49 A15 I/O Address bus
50 V
SS
I Ground
51 A16 I/O Address bus
52 A17 I/O Address bus
53 A18 I/O Address bus
54 V
CC
I Power
55 A19 I/O Address bus
56 V
SS
I Ground
57 A20 I/O Address bus
58 A21 I/O Address bus
59 A22 I/O Address bus
60 V
CC
I Power
61 A23 I/O Address bus
Hitachi 9
Table 1.1 Pin Functions (cont)
Pin No. Pin Name I/O Pin Description
62 V
SS
I Ground
63 A24 I/O Address bus
64 A25 I/O Address bus
65 A26 I/O Address bus
66 DACK0 O DMAC0 acknowledge
67 V
CC
I Power
68 DACK1 O DMAC1 acknowledge
69 V
SS
I Ground
70 DREQ0 I DMAC0 request
71 DREQ1 I DMAC1 request
72 CS0 O Chip select 0
73 CS1 O Chip select 1
74 CS2 O Chip select 2
75 CS3 O Chip select 3
76 BS I/O Bus cycle start
77 RD/WR I/O Read/write
78 V
SS
I Ground
79 RAS/CE O RAS for DRAM and synchronous DRAM, CE
for pseudo SRAM
80 CAS/OE O CAS for synchronous DRAM, OE for pseudo
SRAM
81 CASHH/DQMUU/WE3 O Most significant byte selection signal for
memory
82 CASHL/DQMUL/WE2 O Second byte selection signal for memory
83 CASLH/DQMLU/WE1 O Third byte selection signal for memory
84 V
CC
I Power
85 CASLL/DQMLL/WE0 O Least significant byte selection signal for
memory
86 V
SS
I Ground
87 RD O Read pulse
88 CKE O Synchronous DRAM clock enable control
89 WAIT I Hardware wait request
90 NC — Reserved pin (do not connect anything to it)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532

Hitachi SH7095 Hardware User Manual

Type
Hardware User Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI