Sign In
Upload
Manuals
Brands
Hitachi Manuals
Engine
SH7751R
Hitachi SH7751R Manuals
Manuals and User Guides for Hitachi SH7751R. We have
1
Hitachi SH7751R manual available for free PDF download: Hardware Manual
Hitachi SH7751R Hardware Manual (1104 pages)
SuperH RISC engine
Brand:
Hitachi
| Category:
Engine
| Size: 5.43 MB
Table of Contents
Table of Contents
6
Section 1 Overview
40
SH7751 Series Features
40
Tables
41
Figure 13.61 MPX Interface Timing
41
Table 1.1 SH7751 Series Features
41
Block Diagram
49
Figure 1.1 Block Diagram of SH7751 Series Functions
49
Figures
49
Figure 1.2 Pin Arrangement (256-Pin QFP)
50
Pin Arrangement
50
Figure 1.3 Pin Arrangement (256-Pin BGA)
51
Pin Functions
52
Pin Functions (256-Pin QFP)
52
Table 1.2 Pin Functions
52
Pin Functions (256-Pin BGA)
63
Table 1.3 Pin Functions
63
Section 2 Programming Model
74
Data Formats
74
Figure 2.1 Data Formats
74
Register Configuration
75
Privileged Mode and Banks
75
Table 2.1 Initial Register Values
76
Figure 2.2 CPU Register Configuration in each Processor Mode
77
General Registers
78
Figure 2.3 General Registers
79
Floating-Point Registers
80
Figure 2.4 Floating-Point Registers
81
Control Registers
82
System Registers
83
Memory-Mapped Registers
85
Data Format in Registers
86
Data Formats in Memory
86
Figure 2.5 Data Formats in Memory
86
Processor States
87
Processor Modes
88
Figure 2.6 Processor State Transitions
88
Memory Management Unit (MMU)
90
Overview
90
Features
90
Role of the MMU
90
Figure 3.1 Role of the MMU
92
Register Configuration
93
Caution
93
Table 3.1 MMU Registers
93
Register Descriptions
94
Figure 3.2 MMU-Related Registers
94
Address Space
97
Physical Address Space
97
Figure 3.3 Physical Address Space (MMUCR.AT = 0)
98
Figure 3.4 P4 Area
99
External Memory Space
100
Figure 3.5 External Memory Space
100
Virtual Address Space
101
Figure 3.6 Virtual Address Space (MMUCR.AT = 1)
101
On-Chip RAM Space
102
Address Translation
102
Single Virtual Memory Mode and Multiple Virtual Memory Mode
103
Address Space Identifier (ASID)
103
TLB Functions
104
Unified TLB (UTLB) Configuration
104
Figure 3.7 UTLB Configuration
104
Figure 3.8 Relationship between Page Size and Address Format
105
Instruction TLB (ITLB) Configuration
108
Address Translation Method
108
Figure 3.9 ITLB Configuration
108
Figure 3.10 Flowchart of Memory Access Using UTLB
109
Figure 3.11 Flowchart of Memory Access Using ITLB
110
MMU Functions
111
MMU Hardware Management
111
MMU Software Management
111
MMU Instruction (LDTLB)
111
Hardware ITLB Miss Handling
112
Figure 3.12 Operation of LDTLB Instruction
112
Avoiding Synonym Problems
113
MMU Exceptions
114
Instruction TLB Multiple Hit Exception
114
Instruction TLB Miss Exception
114
Instruction TLB Protection Violation Exception
115
Data TLB Multiple Hit Exception
116
Data TLB Miss Exception
117
Data TLB Protection Violation Exception
118
Initial Page Write Exception
118
Memory-Mapped TLB Configuration
119
ITLB Address Array
120
Figure 3.13 Memory-Mapped ITLB Address Array
120
ITLB Data Array 1
121
Figure 3.14 Memory-Mapped ITLB Data Array 1
121
ITLB Data Array 2
122
UTLB Address Array
122
Figure 3.15 Memory-Mapped ITLB Data Array 2
122
Figure 3.16 Memory-Mapped UTLB Address Array
123
UTLB Data Array 1
124
Figure 3.17 Memory-Mapped UTLB Data Array 1
124
UTLB Data Array 2
125
Figure 3.18 Memory-Mapped UTLB Data Array 2
125
Section 4 Caches
126
Overview
126
Features
126
Table 4.1 Cache Features (SH7751)
126
Register Configuration
127
Table 4.2 Cache Features (SH7751R)
127
Table 4.3 Store Queue Features
127
Table 4.4 Cache Control Registers
127
Register Descriptions
128
Figure 4.1 Cache and Store Queue Control Registers (CCR)
128
Operand Cache (OC)
130
Configuration
130
Figure 4.2 Configuration of Operand Cache (SH7751)
131
Figure 4.3 Configuration of Operand Cache (SH7751R)
132
Read Operation
133
Write Operation
134
Write-Back Buffer
136
Write-Through Buffer
136
RAM Mode
136
Figure 4.4 Configuration of Write-Back Buffer
136
Figure 4.5 Configuration of Write-Through Buffer
136
OC Index Mode
138
Coherency between Cache and External Memory
138
Prefetch Operation
138
Instruction Cache (IC)
138
Configuration
138
Figure 4.6 Configuration of Instruction Cache (SH7751)
139
Figure 4.7 Configuration of Instruction Cache (SH7751R)
140
Read Operation
141
IC Index Mode
141
Memory-Mapped Cache Configuration (SH7751)
142
IC Address Array
142
IC Data Array
143
Figure 4.8 Memory-Mapped IC Address Array
143
OC Address Array
144
Figure 4.9 Memory-Mapped IC Data Array
144
OC Data Array
145
Figure 4.10 Memory-Mapped OC Address Array
145
Memory-Mapped Cache Configuration (SH7751R)
146
Figure 4.11 Memory-Mapped OC Data Array
146
IC Address Array
147
Figure 4.12 Memory-Mapped IC Address Array
148
IC Data Array
148
Figure 4.13 Memory-Mapped IC Data Array
149
OC Address Array
149
Figure 4.14 Memory-Mapped OC Address Array
150
OC Data Array
150
Figure 4.15 Memory-Mapped OC Data Array
151
Summary of Memory-Mapped OC Addresses
151
Store Queues
152
SQ Configuration
152
SQ Writes
152
Transfer to External Memory
152
Figure 4.16 Store Queue Configuration
152
Determination of SQ Access Exception
154
SQ Read (SH7751R Only)
154
SQ Usage Notes
155
Section 5 Exceptions
158
Overview
158
Features
158
Register Configuration
158
Table 5.1 Exception-Related Registers
158
Register Descriptions
159
Figure 5.1 Register Bit Configurations
159
Exception Handling Functions
160
Exception Handling Flow
160
Exception Handling Vector Addresses
160
Exception Types and Priorities
161
Table 5.2 Exceptions
161
Exception Flow
164
Figure 5.2 Instruction Execution and Exception Handling
164
Exception Source Acceptance
165
Figure 5.3 Example of General Exception Acceptance Order
166
Exception Requests and BL Bit
167
Return from Exception Handling
167
Description of Exceptions
167
Resets
168
Table 5.3 Types of Reset
169
General Exceptions
173
Interrupts
187
Priority Order with Multiple Exceptions
190
Usage Notes
191
Restrictions
192
Section 6 Floating-Point Unit
194
Overview
194
Data Formats
194
Floating-Point Format
194
Figure 6.1 Format of Single-Precision Floating-Point Number
194
Figure 6.2 Format of Double-Precision Floating-Point Number
195
Table 6.1 Floating-Point Number Formats and Parameters
195
Non-Numbers (Nan)
196
Table 6.2 Floating-Point Ranges
196
Denormalized Numbers
197
Figure 6.3 Single-Precision Nan Bit Pattern
197
Registers
198
Floating-Point Registers
198
Figure 6.4 Floating-Point Registers
199
Floating-Point Status/Control Register (FPSCR)
200
Floating-Point Communication Register (FPUL)
201
Rounding
201
Floating-Point Exceptions
202
Graphics Support Functions
203
Geometric Operation Instructions
203
Pair Single-Precision Data Transfer
205
Section 7 Instruction Set
206
Execution Environment
206
Addressing Modes
208
Table 7.1 Addressing Modes and Effective Addresses
211
Instruction Set
212
Table 7.2 Notation Used in Instruction List
212
Table 7.3 Fixed-Point Transfer Instructions
213
Table 7.4 Arithmetic Operation Instructions
216
Table 7.5 Logic Operation Instructions
217
Table 7.6 Shift Instructions
218
Table 7.7 Branch Instructions
219
Table 7.8 System Control Instructions
220
Table 7.9 Floating-Point Single-Precision Instructions
222
Table 7.10 Floating-Point Double-Precision Instructions
223
Table 7.11 Floating-Point Control Instructions
223
Table 7.12 Floating-Point Graphics Acceleration Instructions
224
Section 8 Pipelining
226
Pipelines
226
Figure 8.1 Basic Pipelines
227
Figure 8.2 Instruction Execution Patterns
228
Parallel-Executability
233
Table 8.1 Instruction Groups
233
Execution Cycles and Pipeline Stalling
237
Table 8.2 Parallel-Executability
237
Figure 8.3 Examples of Pipelined Execution
240
Table 8.3 Execution Cycles
244
Section 9 Power-Down Modes
254
Overview
254
Types of Power-Down Modes
254
Table 9.1 Status of CPU and Peripheral Modules in Power-Down Modes
255
Register Configuration
256
Pin Configuration
256
Table 9.2 Power-Down Mode Registers
256
Table 9.3 Power-Down Mode Pins
256
Register Descriptions
257
Standby Control Register (STBCR)
257
Peripheral Module Pin High Impedance Control
259
Peripheral Module Pin Pull-Up Control
259
Standby Control Register 2 (STBCR2)
260
Clock Stop Register 00 (CLKSTP00)
261
Clock Stop Clear Register 00 (CLKSTPCLR00)
262
Sleep Mode
263
Transition to Sleep Mode
263
Exit from Sleep Mode
263
Deep Sleep Mode
263
Transition to Deep Sleep Mode
263
Exit from Deep Sleep Mode
264
Pin Sleep Mode
264
Transition to Pin Sleep Mode
264
Exit from Pin Sleep Mode
264
Standby Mode
264
Transition to Standby Mode
264
Exit from Standby Mode
265
Table 9.4 State of Registers in Standby Mode
265
Clock Pause Function
266
Module Standby Function
266
Transition to Module Standby Function
266
Exit from Module Standby Function
267
Hardware Standby Mode
268
Transition to Hardware Standby Mode
268
Exit from Hardware Standby Mode
268
Usage Notes
269
STATUS Pin Change Timing
269
In Reset
269
Figure 9.1 STATUS Output in Power-On Reset
269
In Exit from Standby Mode
270
Figure 9.2 STATUS Output in Manual Reset
270
Figure 9.3 STATUS Output in Standby Interrupt Sequence
270
Figure 9.4 STATUS Output in Standby Power-On Reset Sequence
271
In Exit from Sleep Mode
272
Figure 9.5 STATUS Output in Standby Manual Reset Sequence
272
Figure 9.6 STATUS Output in Sleep Interrupt Sequence
272
Figure 9.7 STATUS Output in Sleep Power-On Reset Sequence
273
Figure 9.8 STATUS Output in Sleep Manual Reset Sequence
274
In Exit from Deep Sleep Mode
275
Figure 9.9 STATUS Output in Deep Sleep Interrupt Sequence
275
Figure 9.10 STATUS Output in Deep Sleep Power-On Reset Sequence
275
Figure 9.11 STATUS Output in Deep Sleep Manual Reset Sequence
276
Hardware Standby Mode Timing
277
Figure 9.12 Hardware Standby Mode Timing (When CA = Low in Normal Operation)
277
Figure 9.13 Hardware Standby Mode Timing (When CA = Low in WDT Operation)
278
Figure 9.14 Timing When Power Other than VDD-RTC Is off
278
Figure 9.15 Timing When VDD-RTC Power Is off on
279
Section 10 Clock Oscillation Circuits
280
Overview
280
Features
280
Overview of CPG
282
Block Diagram of CPG
282
Figure 10.1(1) Block Diagram of CPG (SH7751)
282
Figure 10.1(2) Block Diagram of CPG (SH7751R)
283
CPG Pin Configuration
285
CPG Register Configuration
285
Table 10.1 CPG Pins
285
Table 10.2 CPG Register
285
Clock Operating Modes
286
Table 10.3(1) Clock Operating Modes (SH7751)
286
Table 10.3(2) Clock Operating Modes (SH7751R)
286
Table 10.4 FRQCR Settings and Internal Clock Frequencies
287
CPG Register Description
288
Frequency Control Register (FRQCR)
288
Changing the Frequency
290
Changing PLL Circuit 1 Starting/Stopping (When PLL Circuit 2 Is Off)
290
Changing PLL Circuit 1 Starting/Stopping (When PLL Circuit 2 Is On)
290
Changing Bus Clock Division Ratio (When PLL Circuit 2 Is On)
291
Changing Bus Clock Division Ratio (When PLL Circuit 2 Is Off)
291
Changing CPU or Peripheral Module Clock Division Ratio
291
Output Clock Control
292
Overview of Watchdog Timer
292
Block Diagram
292
Figure 10.2 Block Diagram of WDT
292
Register Configuration
293
WDT Register Descriptions
293
Watchdog Timer Counter (WTCNT)
293
Table 10.5 WDT Registers
293
Watchdog Timer Control/Status Register (WTCSR)
294
Notes on Register Access
296
Figure 10.3 Writing to WTCNT and WTCSR
296
Using the WDT
297
Standby Clearing Procedure
297
Frequency Changing Procedure
297
Using Watchdog Timer Mode
298
Using Interval Timer Mode
298
Notes on Board Design
299
Figure 10.4 Points for Attention When Using Crystal Resonator
299
Figure 10.5 Points for Attention When Using PLL Oscillator Circuit
300
Section 11 Realtime Clock (RTC)
302
Overview
302
Features
302
Block Diagram
303
Figure 11.1 Block Diagram of RTC
303
Pin Configuration
304
Register Configuration
304
Table 11.1 RTC Pins
304
Table 11.2 RTC Registers
304
Register Descriptions
306
64 Hz Counter (R64CNT)
306
Second Counter (RSECCNT)
306
Minute Counter (RMINCNT)
307
Hour Counter (RHRCNT)
307
Day-Of-Week Counter (RWKCNT)
308
Day Counter (RDAYCNT)
309
Month Counter (RMONCNT)
309
Year Counter (RYRCNT)
310
Second Alarm Register (RSECAR)
311
Minute Alarm Register (RMINAR)
311
Hour Alarm Register (RHRAR)
312
Day-Of-Week Alarm Register (RWKAR)
312
Day Alarm Register (RDAYAR)
313
Month Alarm Register (RMONAR)
314
RTC Control Register 1 (RCR1)
314
RTC Control Register 2 (RCR2)
316
RTC Control Register (RCR3) and Year-Alarm Register (RYRAR)
319
(SH7751R Only)
319
Operation
320
Time Setting Procedures
320
Figure 11.2 Examples of Time Setting Procedures
320
Time Reading Procedures
321
Figure 11.3 Examples of Time Reading Procedures
322
Alarm Function
323
Figure 11.4 Example of Use of Alarm Function
323
Interrupts
324
Usage Notes
324
Register Initialization
324
Carry Flag and Interrupt Flag in Standby Mode
324
Crystal Oscillator Circuit
324
Table 11.3 Crystal Oscillator Circuit Constants (Recommended Values)
324
Figure 11.5 Example of Crystal Oscillator Circuit Connection
325
Section 12 Timer Unit (TMU)
326
Overview
326
Features
326
Block Diagram
327
Pin Configuration
327
Figure 12.1 Block Diagram of TMU
327
Table 12.1 TMU Pins
327
Register Configuration
328
Table 12.2 TMU Registers
328
Register Descriptions
329
Timer Output Control Register (TOCR)
329
Timer Start Register (TSTR)
330
Timer Start Register 2 (TSTR2)
331
Timer Constant Registers (TCOR)
332
Timer Counters (TCNT)
332
Timer Control Registers (TCR)
333
Input Capture Register (TCPR2)
336
Operation
337
Counter Operation
337
Figure 12.2 Example of Count Operation Setting Procedure
338
Figure 12.3 TCNT Auto-Reload Operation
338
Figure 12.4 Count Timing When Operating on Internal Clock
339
Figure 12.5 Count Timing When Operating on External Clock
339
Input Capture Function
340
Figure 12.6 Count Timing When Operating on On-Chip RTC Output Clock
340
Interrupts
341
Figure 12.7 Operation Timing When Using Input Capture Function
341
Usage Notes
342
Register Writes
342
TCNT Register Reads
342
Resetting the RTC Frequency Divider
342
External Clock Frequency
342
Table 12.3 TMU Interrupt Sources
342
Section 13 Bus State Controller (BSC)
344
Overview
344
Features
344
Block Diagram
346
Figure 13.1 Block Diagram of BSC
346
Pin Configuration
347
Table 13.1 BSC Pins
347
Register Configuration
349
Table 13.2 BSC Registers
349
Overview of Areas
350
Figure 13.2 Correspondence between Virtual Address Space and External Memory Space
350
Table 13.3 External Memory Space Map
351
Figure 13.3 External Memory Space Allocation
352
PCMCIA Support
353
Table 13.4 PCMCIA Interface Features
353
Table 13.5 PCMCIA Support Interfaces
354
Register Descriptions
357
Bus Control Register 1 (BCR1)
357
Bus Control Register 2 (BCR2)
365
Bus Control Register 3 (BCR3) (SH7751R Only)
366
Bus Control Register 4 (BCR4) (SH7751R Only)
368
Wait Control Register 1 (WCR1)
370
Table 13.6 Idle Insertion between Accesses
372
Wait Control Register 2 (WCR2)
373
Table 13.7 When MPX Interface Is Set (Areas 0 to 6)
380
Wait Control Register 3 (WCR3)
381
Memory Control Register (MCR)
383
PCMCIA Control Register (PCR)
389
Synchronous DRAM Mode Register (SDMR)
391
Refresh Timer Control/Status Register (RTCSR)
393
Refresh Timer Counter (RTCNT)
395
Refresh Time Constant Register (RTCOR)
396
Refresh Count Register (RFCR)
397
13.2.15 Notes on Accessing Refresh Control Registers
397
Operation
398
Endian/Access Size and Data Alignment
398
Figure 13.5 Writing to RTCSR, RTCNT, RTCOR, and RFCR
398
Table 13.8 32-Bit External Device/Big-Endian Access and Data Alignment
399
Table 13.9 16-Bit External Device/Big-Endian Access and Data Alignment
400
Table 13.10 8-Bit External Device/Big-Endian Access and Data Alignment
401
Table 13.11 32-Bit External Device/Little-Endian Access and Data Alignment
402
Table 13.12 16-Bit External Device/Little-Endian Access and Data Alignment
403
Table 13.13 8-Bit External Device/Little-Endian Access and Data Alignment
404
Areas
405
SRAM Interface
409
Figure 13.6 Basic Timing of SRAM Interface
410
Figure 13.7 Example of 32-Bit Data Width SRAM Connection
411
Figure 13.8 Example of 16-Bit Data Width SRAM Connection
412
Figure 13.9 Example of 8-Bit Data Width SRAM Connection
413
Figure 13.10 SRAM Interface Wait Timing (Software Wait Only)
414
Figure 13.11 SRAM Interface Wait State Timing (Wait State Insertion by Signal)
415
Figure 13.12 SRAM Interface Wait State Timing (Read Strobe Negate Timing Setting)
416
DRAM Interface
417
Figure 13.13 Example of DRAM Connection (32-Bit Data Width, Area 3)
417
Table 13.14 Relationship between AMXEXT and AMX2-0 Bits and Address Multiplexing
418
Figure 13.14 Basic DRAM Access Timing
419
Figure 13.15 DRAM Wait State Timing
420
Figure 13.16 DRAM Burst Access Timing
421
Figure 13.17 DRAM Bus Cycle (EDO Mode, RCD = 0, Anw = 0, TPC = 1)
422
Figure 13.18 Burst Access Timing in DRAM EDO Mode
423
Figure 13.19(1) DRAM Burst Bus Cycle, RAS down Mode Start (Fast Page Mode, RCD = 0, Anw = 0)
424
Figure 13.19(2) DRAM Burst Bus Cycle, RAS down Mode Continuation (Fast Page Mode, RCD = 0, Anw = 0)
425
Figure 13.19(3) DRAM Burst Bus Cycle, RAS down Mode Start (EDO Mode, RCD = 0, Anw = 0)
426
Figure 13.19(4) DRAM Burst Bus Cycle, RAS down Mode Continuation (EDO Mode, RCD = 0, Anw = 0)
427
Figure 13.20 CAS-Before-RAS Refresh Operation
428
Figure 13.21 DRAM CAS-Before-RAS Refresh Cycle Timing (tras = 0, TRC = 1)
429
Figure 13.22 DRAM Self-Refresh Cycle Timing
431
Synchronous DRAM Interface
432
Figure 13.23 Example of 32-Bit Data Width Synchronous DRAM Connection (Area 3)
433
Table 13.15 Example of Correspondence between SH7751 Series and Synchronous DRAM
434
Figure 13.24 Basic Timing for Synchronous DRAM Burst Read
435
Figure 13.25 Basic Timing for Synchronous DRAM Single Read
437
Figure 13.26 Basic Timing for Synchronous DRAM Burst Write
438
Figure 13.27 Basic Timing for Synchronous DRAM Single Write
440
Figure 13.28 Burst Read Timing
442
Figure 13.29 Burst Read Timing (RAS Down, same Row Address)
443
Figure 13.30 Burst Read Timing (RAS Down, Different Row Addresses)
444
Figure 13.31 Burst Write Timing
445
Figure 13.32 Burst Write Timing (same Row Address)
446
Figure 13.33 Burst Write Timing (Different Row Addresses)
447
Table 13.16 Cycles in Which Pipelined Access Can be Used
448
Figure 13.34 Burst Read Cycle for Different Bank and Row Address Following Preceding Burst Read Cycle
449
Figure 13.35 Auto-Refresh Operation
450
Figure 13.36 Synchronous DRAM Auto-Refresh Timing
451
Figure 13.37 Synchronous DRAM Self-Refresh Timing
452
Figure 13.38(1) Synchronous DRAM Mode Write Timing (PALL)
454
Figure 13.38(2) Synchronous DRAM Mode Write Timing (Mode Register Setting)
455
Figure 13.39 Basic Timing of a Burst Read from Synchronous DRAM (Burst Length = 8)
456
Figure 13.40 Basic Timing of a Burst Write to Synchronous DRAM
457
Burst ROM Interface
458
Figure 13.41 Burst ROM Basic Access Timing
459
Figure 13.42 Burst ROM Wait Access Timing
460
Figure 13.43 Burst ROM Wait Access Timing
460
PCMCIA Interface
461
Table 13.17 Relationship between Address and CE When Using PCMCIA Interface
463
Figure 13.44 Example of PCMCIA Interface
465
Figure 13.45 Basic Timing for PCMCIA Memory Card Interface
466
Figure 13.46 Wait Timing for PCMCIA Memory Card Interface
467
Figure 13.47 PCMCIA Space Allocation
468
Figure 13.48 Basic Timing for PCMCIA I/O Card Interface
469
Figure 13.49 Wait Timing for PCMCIA I/O Card Interface
470
Figure 13.50 Dynamic Bus Sizing Timing for PCMCIA I/O Card Interface
471
MPX Interface
472
Figure 13.51 Example of 32-Bit Data Width MPX Connection
473
Figure 13.52 MPX Interface Timing 1 (Single Read Cycle, Anw = 0, no External Wait)
474
Figure 13.53 MPX Interface Timing 2 (Single Read, Anw = 0, One External Wait Inserted)
475
Figure 13.54 MPX Interface Timing 3 (Single Write Cycle, Anw = 0, no External Wait)
476
Figure 13.55 MPX Interface Timing 4 (Single Write, Anw = 1, One External Wait Inserted)
477
Figure 13.56 MPX Interface Timing 5 (Burst Read Cycle, Anw = 0, no External Wait)
478
Figure 13.57 MPX Interface Timing 6 (Burst Read Cycle, Anw = 0, External Wait Control)
479
Figure 13.58 MPX Interface Timing 7 (Burst Write Cycle, Anw = 0, no External Wait)
480
Figure 13.59 MPX Interface Timing 8 (Burst Write Cycle, Anw = 1, External Wait Control)
481
Figure 13.60 MPX Interface Timing 1 (Burst Read Cycle, Anw = 0, no External Wait, Bus Width: 32 Bits, Transfer Data Size: 64 Bits)
482
Figure 13.62 MPX Interface Timing
484
Figure 13.63 MPX Interface Timing
485
Figure 13.64 MPX Interface Timing
486
Figure 13.65 MPX Interface Timing
487
Figure 13.66 MPX Interface Timing
488
Figure 13.67 MPX Interface Timing
489
Byte Control SRAM Interface
490
Figure 13.68 Example of 52-Bit Data Width Byte Control SRAM
490
Figure 13.69 Byte Control SRAM Basic Read Cycle (no Wait)
491
Figure 13.70 Byte Control SRAM Basic Read Cycle (One Internal Wait Cycle)
492
Figure 13.71 Byte Control SRAM Basic Read Cycle
493
13.3.10 Waits between Access Cycles
494
Figure 13.72 Waits between Access Cycles
495
13.3.11 Bus Arbitration
496
Figure 13.73 Arbitration Sequence
498
13.3.12 Master Mode
499
13.3.13 Slave Mode
500
13.3.14 Cooperation between Master and Slave
500
13.3.15 Notes on Usage
501
Section 14 Direct Memory Access Controller (DMAC)
502
Overview
502
Features
502
Block Diagram (SH7751)
505
Figure 14.1 Block Diagram of DMAC
505
Pin Configuration (SH7751)
506
Table 14.1 DMAC Pins
506
Register Configuration (SH7751)
507
Table 14.2 DMAC Pins in DDT Mode
507
Table 14.3 DMAC Registers
507
Register Descriptions
509
DMA Source Address Registers 0-3 (SAR0-SAR3)
509
DMA Destination Address Registers 0-3 (DAR0-DAR3)
510
DMA Transfer Count Registers 0-3 (DMATCR0-DMATCR3)
511
DMA Channel Control Registers 0-3 (CHCR0-CHCR3)
512
DMA Operation Register (DMAOR)
520
Operation
522
DMA Transfer Procedure
522
Figure 14.2 DMAC Transfer Flowchart
524
DMA Transfer Requests
525
Table 14.4 Selecting External Request Mode with RS Bits
526
Table 14.5 Selecting On-Chip Peripheral Module Request Mode with RS Bits
528
Channel Priorities
529
Figure 14.3 Round Robin Mode
530
Figure 14.4 Example of Changes in Priority Order in Round Robin Mode
531
Types of DMA Transfer
532
Table 14.6 Supported DMA Transfers
532
Figure 14.5 Data Flow in Single Address Mode
533
Figure 14.6 DMA Transfer Timing in Single Address Mode
534
Figure 14.7 Operation in Dual Address Mode
535
Figure 14.8 Example of Transfer Timing in Dual Address Mode
536
Figure 14.9 Example of DMA Transfer in Cycle Steal Mode
537
Figure 14.10 Example of DMA Transfer in Burst Mode
537
Table 14.7 Relationship between DMA Transfer Type, Request Mode, and Bus Mode
538
Table 14.8 External Request Transfer Sources and Destinations in Normal Mode
539
Table 14.9 External Request Transfer Sources and Destinations in DDT Mode
540
Types of DMA Transfer
541
Figure 14.11 Bus Handling with Two DMAC Channels Operating
541
Figure 14.12 Dual Address Mode/Cycle Steal Mode External Bus External Bus
544
Figure 14.13 Dual Address Mode/Cycle Steal Mode External Bus External Bus
545
Figure 14.14 Dual Address Mode/Burst Mode External Bus External Bus Level Detection), DACK (Read Cycle)
546
Edge Detection), DACK (Read Cycle)
547
Figure 14.16 Dual Address Mode/Cycle Steal Mode On-Chip SCI (Level Detection External Bus
548
Figure 14.22 Single Address Mode/Burst Mode External Bus External Bus
554
Ending DMA Transfer
555
Examples of Use
558
Examples of Transfer between External Memory and an External Device with DACK
558
Table 14.10 Conditions for Transfer between External Memory and an External Device with DACK, and Corresponding Register Settings
558
On-Demand Data Transfer Mode (DDT Mode)
559
Operation
559
Figure 14.23 On-Demand Transfer Mode Block Diagram
559
Pins in DDT Mode
561
Figure 14.24 System Configuration in On-Demand Data Transfer Mode
561
Figure 14.25 Data Transfer Request Format
562
Table 14.11 Usable SZ, ID, and MD Combination in DDT Mode
563
Transfer Request Acceptance on each Channel
564
Figure 14.26 Single Address Mode/Synchronous DRAM External Device Longword Transfer SDRAM Auto-Precharge Read Bus Cycle, Burst (RCD=1, CAS Latency=3, TPC=3)
565
Figure 14.27 Single Address Mode/External Device Synchronous DRAM Longword Transfer SDRAM Auto-Precharge Write Bus Cycle, Burst (RCD=1, TRWL=2, TPC=1)
566
Figure 14.28 Dual Address Mode/Synchronous DRAM SRAM Longword Transfer
567
Figure 14.29 Single Address Mode/Burst Mode/External Bus External Device 32-Byte
568
Figure 14.30 Single Address Mode/Burst Mode/External Device External Bus 32-Byte
568
Figure 14.31 Single Address Mode/Burst Mode/External Bus External Device 32-Bit Transfer/Channel 0 On-Demand Data Transfer
569
Figure 14.32 Single Address Mode/Burst Mode/External Device External Bus 32-Bit Transfer/Channel 0 On-Demand Data Transfer
570
Figure 14.33 Handshake Protocol Using Data Bus (Channel 0 On-Demand Data Transfer)
571
Figure 14.34 Handshake Protocol Without Use of Data Bus
572
Figure 14.35 Read from Synchronous DRAM Precharge Bank
573
Figure 14.36 Read from Synchronous DRAM Non-Precharge Bank (Row Miss)
573
Figure 14.37 Read from Synchronous DRAM (Row Hit)
574
Figure 14.38 Write to Synchronous DRAM Precharge Bank
574
Figure 14.39 Write to Synchronous DRAM Non-Precharge Bank (Row Miss)
575
Figure 14.40 Write to Synchronous DRAM (Row Hit)
575
Figure 14.41 Single Address Mode/Burst Mode/External Bus External Device 32-Byte Block Transfer/Channel 0 On-Demand Data Transfer
576
Figure 14.42 DDT Mode Setting
577
Figure 14.43 Single Address Mode/Burst Mode/Edge Detection/External Device
577
Figure 14.44 Single Address Mode/Burst Mode/Level Detection/ External Bus External Device Data Transfer
578
Figure 14.45 Single Address Mode/Burst Mode/Edge Detection/Byte, Word, Longword
578
Figure 14.46 Single Address Mode/Burst Mode/Edge Detection/Byte, Word, Longword, Quadword/External Device External Bus Data Transfer
579
Figure 14.47 Single Address Mode/Burst Mode/32-Byte Block Transfer/Dma Transfer Request to Channels 1-3 Using Data Bus
580
Figure 14.48 Single Address Mode/Burst Mode/32-Byte Block Transfer/ External Bus
581
Figure 14.49 Single Address Mode/Burst Mode/External Bus External Device Data Transfer/Direct Data Transfer Request to Channel 2
582
Figure 14.50 Single Address Mode/Burst Mode/External Device External Bus Data Transfer/Direct Data Transfer Request to Channel 2
583
Notes on Use of DDT Module
586
Configuration of the DMAC (SH7751R)
589
Block Diagram of the DMAC
589
Figure 14.53 Block Diagram of the DMAC
589
Pin Configuration (SH7751R)
590
Table 14.12 DMAC Pins
590
Register Configuration (SH7751R)
591
Table 14.13 DMAC Pins in DDT Mode
591
Table 14.14 Register Configuration
592
Register Descriptions (SH7751R)
594
DMA Source Address Registers 0-7 (SAR0-SAR7)
594
DMA Destination Address Registers 0-7 (DAR0-DAR7)
594
DMA Transfer Count Registers 0-7 (DMATCR0-DMATCR7)
595
DMA Channel Control Registers 0-7 (CHCR0-CHCR7)
595
DMA Operation Register (DMAOR)
598
Figure 14.54 DTR Format (Transfer Request Format) (SH7751R)
599
Table 14.15 Channel Selection by DTR Format (DMAOR.DBL = 1)
599
Operation (SH7751R)
601
Channel Specification for a Normal DMA Transfer
601
Channel Specification for DDT-Mode DMA Transfer
601
Transfer Channel Notification in DDT Mode
601
Clearing Request Queues by DTR Format
602
Table 14.16 Notification of Transfer Channel in Eight-Channel DDT Mode
602
Table 14.17 Function of
602
Interrupt-Request Codes
603
Table 14.18 DTR Format for Clearing Request Queues
603
Figure 14.55 Single Address Mode/Burst Mode/External Bus External Device 32-Byte Block Transfer/Channel 0 On-Demand Data Transfer
604
Table 14.19 DMAC Interrupt-Request Codes
604
Figure 14.56 Single Address Mode/Cycle Steal Mode/External Bus External Device
605
Usage Notes
606
Section 15 Serial Communication Interface (SCI)
608
Overview
608
Features
608
Block Diagram
610
Figure 15.1 Block Diagram of SCI
610
Pin Configuration
611
Register Configuration
611
Table 15.1 SCI Pins
611
Table 15.2 SCI Registers
611
Register Descriptions
612
Receive Shift Register (SCRSR1)
612
Receive Data Register (SCRDR1)
612
Transmit Shift Register (SCTSR1)
613
Transmit Data Register (SCTDR1)
613
Serial Mode Register (SCSMR1)
614
Serial Control Register (SCSCR1)
616
Serial Status Register (SCSSR1)
620
Serial Port Register (SCSPTR1)
624
Figure 15.2 SCK Pin
626
Figure 15.3 Txd Pin
627
Figure 15.4 Rxd Pin
627
Bit Rate Register (SCBRR1)
628
Table 15.3 Examples of Bit Rates and SCBRR1 Settings in Asynchronous Mode
630
Table 15.4 Examples of Bit Rates and SCBRR1 Settings in Synchronous Mode
633
Table 15.5 Maximum Bit Rate for Various Frequencies with Baud Rate Generator
634
Table 15.6 Maximum Bit Rate with External Clock Input (Asynchronous Mode)
635
Table 15.7 Maximum Bit Rate with External Clock Input (Synchronous Mode)
635
Operation
636
Overview
636
Table 15.8 SCSMR1 Settings for Serial Transfer Format Selection
637
Table 15.9 SCSMR1 and SCSCR1 Settings for SCI Clock Source Selection
637
Operation in Asynchronous Mode
638
Figure 15.5 Data Format in Asynchronous Communication
638
Table 15.10 Serial Transfer Formats (Asynchronous Mode)
639
Figure 15.6 Relation between Output Clock and Transfer Data Phase
640
Figure 15.7 Sample SCI Initialization Flowchart
641
Figure 15.8 Sample Serial Transmission Flowchart
642
Figure 15.9 Example of Transmit Operation in Asynchronous Mode (Example with 8-Bit Data, Parity, One Stop Bit)
644
Figure 15.10 Sample Serial Reception Flowchart (1)
645
Table 15.11 Receive Error Conditions
647
Multiprocessor Communication Function
648
Figure 15.11 Example of SCI Receive Operation (Example with 8-Bit Data, Parity, One Stop Bit)
648
Figure 15.12 Example of Inter-Processor Communication Using Multiprocessor Format (Transmission of Data H'AA to Receiving Station A)
649
Figure 15.13 Sample Multiprocessor Serial Transmission Flowchart
651
Figure 15.14 Example of SCI Transmit Operation (Example with 8-Bit Data, Multiprocessor Bit, One Stop Bit)
653
Figure 15.15 Sample Multiprocessor Serial Reception Flowchart (1)
654
Figure 15.16 Example of SCI Receive Operation (Example with 8-Bit Data, Multiprocessor Bit, One Stop Bit)
656
Operation in Synchronous Mode
657
Figure 15.17 Data Format in Synchronous Communication
657
Figure 15.18 Sample SCI Initialization Flowchart
659
Figure 15.19 Sample Serial Transmission Flowchart
660
Figure 15.20 Example of SCI Transmit Operation
661
Figure 15.21 Sample Serial Reception Flowchart (1)
662
Figure 15.22 Example of SCI Receive Operation
664
Figure 15.23 Sample Flowchart for Serial Data Transmission and Reception
665
SCI Interrupt Sources and DMAC
666
Table 15.12 SCI Interrupt Sources
666
Usage Notes
667
Table 15.13 SCSSR1 Status Flags and Transfer of Receive Data
667
Figure 15.24 Receive Data Sampling Timing in Asynchronous Mode
669
Figure 15.25 Example of Synchronous Transmission by DMAC
670
Section 16 Serial Communication Interface with FIFO (SCIF)
672
Overview
672
Features
672
Block Diagram
674
Figure 16.1 Block Diagram of SCIF
674
Pin Configuration
675
Register Configuration
675
Table 16.1 SCIF Pins
675
Table 16.2 SCIF Registers
675
Register Descriptions
676
Receive Shift Register (SCRSR2)
676
Receive FIFO Data Register (SCFRDR2)
676
Transmit Shift Register (SCTSR2)
677
Transmit FIFO Data Register (SCFTDR2)
677
Serial Mode Register (SCSMR2)
678
Serial Control Register (SCSCR2)
680
Serial Status Register (SCFSR2)
683
Bit Rate Register (SCBRR2)
689
FIFO Control Register (SCFCR2)
690
FIFO Data Count Register (SCFDR2)
693
Serial Port Register (SCSPTR2)
694
Figure 16.2 MD8/RTS2 Pin
697
Figure 16.3 MD7/CTS2 Pin
698
Figure 16.4 Md1/Txd2 Pin
699
Figure 16.5 Md2/Rxd2 Pin
699
Figure 16.6 MD0/SCK2 Pin
700
Line Status Register (SCLSR2)
701
Operation
702
Overview
702
Table 16.3 SCSMR2 Settings for Serial Transfer Format Selection
702
Serial Operation
703
Table 16.4 SCSCR2 Settings for SCIF Clock Source Selection
703
Table 16.5 Serial Transfer Formats
704
Figure 16.7 Sample SCIF Initialization Flowchart
706
Figure 16.8 Sample Serial Transmission Flowchart
707
Figure 16.9 Example of Transmit Operation (Example with 8-Bit Data, Parity, One Stop Bit)
709
Figure 16.10 Example of Operation Using Modem Control (CTS2)
709
Figure 16.11 Sample Serial Reception Flowchart (1)
710
Figure 16.11 Sample Serial Reception Flowchart (2)
711
Figure 16.12 Example of SCIF Receive Operation (Example with 8-Bit Data, Parity, One Stop Bit)
713
Figure 16.13 Example of Operation Using Modem Control (RTS2)
713
SCIF Interrupt Sources and the DMAC
714
Table 16.6 SCIF Interrupt Sources
714
Usage Notes
715
Figure 16.14 Receive Data Sampling Timing in Asynchronous Mode
716
Section 17 Smart Card Interface
718
Overview
718
Features
718
Block Diagram
719
Figure 17.1 Block Diagram of Smart Card Interface
719
Pin Configuration
720
Register Configuration
720
Table 17.1 Smart Card Interface Pins
720
Table 17.2 Smart Card Interface Registers
720
Register Descriptions
721
Smart Card Mode Register (SCSCMR1)
721
Serial Mode Register (SCSMR1)
722
Serial Control Register (SCSCR1)
723
Serial Status Register (SCSSR1)
724
Operation
725
Overview
725
Pin Connections
726
Figure 17.2 Schematic Diagram of Smart Card Interface Pin Connections
726
Data Format
727
Figure 17.3 Smart Card Interface Data Format
727
Register Settings
728
Table 17.3 Smart Card Interface Register Settings
728
Figure 17.4 TEND Generation Timing
729
Clock
730
Figure 17.5 Sample Start Character Waveforms
730
Table 17.4 Values of N and Corresponding CKS1 and CKS0 Settings
730
Table 17.5 Examples of Bit Rate B (Bits/S) for Various SCBRR1 Settings (When N = 0)
731
Table 17.6 Examples of SCBRR1 Settings for Bit Rate B (Bits/S) (When N = 0)
731
Table 17.7 Maximum Bit Rate at Various Frequencies (Smart Card Interface Mode)
731
Figure 17.6 Difference in Clock Output According to GM Bit Setting
732
Table 17.8 Register Settings and SCK Pin State
732
Data Transfer Operations
733
Figure 17.7 Sample Initialization Flowchart
734
Figure 17.8 Sample Transmission Processing Flowchart
736
Figure 17.9 Sample Reception Processing Flowchart
738
Table 17.9 Smart Card Mode Operating States and Interrupt Sources
739
Usage Notes
740
Figure 17.10 Receive Data Sampling Timing in Smart Card Mode
740
Figure 17.11 Retransfer Operation in SCI Receive Mode
741
Figure 17.12 Retransfer Operation in SCI Transmit Mode
742
Figure 17.13 Procedure for Stopping and Restarting the Clock
743
Section 18 I/O Ports
746
Overview
746
Features
746
Block Diagrams
747
Figure 18.1 16-Bit Port a
747
Figure 18.2 16-Bit Port B
748
Figure 18.3 SCK Pin
749
Figure 18.4 Txd Pin
750
Figure 18.5 Rxd Pin
750
Figure 18.6 Md1/Txd2 Pin
751
Figure 18.7 Md2/Rxd2 Pin
751
Figure 18.8 MD0/SCK2 Pin
752
Figure 18.9 MD7/CTS2 Pin
753
Pin Configuration
754
Figure 18.10 MD8/RTS2 Pin
754
Table 18.1 32-Bit General-Purpose I/O Port Pins
754
Table 18.2 SCI I/O Port Pins
756
Table 18.3 SCIF I/O Port Pins
756
Register Configuration
757
Table 18.4 I/O Port Registers
757
Register Descriptions
758
Port Control Register a (PCTRA)
758
Port Data Register a (PDTRA)
759
Port Control Register B (PCTRB)
759
Port Data Register B (PDTRB)
761
GPIO Interrupt Control Register (GPIOIC)
761
Serial Port Register (SCSPTR1)
762
Serial Port Register (SCSPTR2)
764
Section 19 Interrupt Controller (INTC)
768
Overview
768
Features
768
Block Diagram
768
Figure 19.1 Block Diagram of INTC
769
Pin Configuration
770
Register Configuration
770
Table 19.1 INTC Pins
770
Table 19.2 INTC Registers
770
Interrupt Sources
771
NMI Interrupt
771
IRL Interrupts
772
Figure 19.2 Example of IRL Interrupt Connection
772
Table 19.3 - Pins and Interrupt Levels
773
On-Chip Peripheral Module Interrupts
774
Interrupt Exception Handling and Priority
775
Table 19.4 Interrupt Exception Handling Sources and Priority Order
776
Register Descriptions
778
Interrupt Priority Registers a to D (IPRA-IPRD)
778
Interrupt Control Register (ICR)
779
Table 19.5 Interrupt Request Sources and IPRA-IPRD Registers
779
Interrupt Priority Level Settting Register 00 (INTPRI00)
781
Interrupt Factor Register 00 (INTREQ00)
782
Table 19.6 Interrupt Request Sources and INTPRI00 Register
782
Interrupt Mask Register 00 (INTMSK00)
783
Interrupt Mask Clear Register 00 (INTMSKCLR00)
784
INTREQ00, INTMSK00, and INTMSKCLR00 Bit Allocation
785
Table 19.7 Bit Allocation
785
INTC Operation
786
Interrupt Operation Sequence
786
Figure 19.3 Interrupt Operation Flowchart
787
Multiple Interrupts
788
Interrupt Masking with MAI Bit
788
Interrupt Response Time
789
Table 19.8 Interrupt Response Time
789
Section 20 User Break Controller (UBC)
790
Overview
790
Features
790
Block Diagram
791
Figure 20.1 Block Diagram of User Break Controller
791
Table 20.1 UBC Registers
792
Register Descriptions
793
Access to UBC Registers
793
Break Address Register a (BARA)
794
Break ASID Register a (BASRA)
795
Break Address Mask Register a (BAMRA)
795
Break Bus Cycle Register a (BBRA)
796
Break Address Register B (BARB)
798
Break ASID Register B (BASRB)
798
Break Address Mask Register B (BAMRB)
798
Break Data Register B (BDRB)
798
Break Data Mask Register B (BDMRB)
799
Break Bus Cycle Register B (BBRB)
800
Break Control Register (BRCR)
800
Operation
802
Explanation of Terms Relating to Accesses
802
Explanation of Terms Relating to Instruction Intervals
803
User Break Operation Sequence
804
Instruction Access Cycle Break
805
Operand Access Cycle Break
806
Condition Match Flag Setting
807
Program Counter (PC) Value Saved
807
Contiguous a and B Settings for Sequential Conditions
808
Usage Notes
809
User Break Debug Support Function
810
Figure 20.2 User Break Debug Support Function Flowchart
811
Examples of Use
812
User Break Controller Stop Function
814
Transition to User Break Controller Stopped State
814
Cancelling the User Break Controller Stopped State
814
Examples of Stopping and Restarting the User Break Controller
815
Section 21 Hitachi User Debug Interface (H-UDI)
816
Overview
816
Features
816
Block Diagram
816
Figure 21.1 Block Diagram of H-UDI Circuit
817
Pin Configuration
818
Table 21.1 H-UDI Pins
818
Register Configuration
819
Table 21.2 H-UDI Registers
819
Register Descriptions
820
Instruction Register (SDIR)
820
Data Register (SDDR)
821
Bypass Register (SDBPR)
821
Interrupt Factor Register (SDINT)
822
Boundary Scan Register (SDBSR)
822
Table 21.3 Structure of Boundary Scan Register
823
Operation
837
TAP Control
837
Figure 21.2 TAP Control State Transition Diagram
837
H-UDI Reset
838
H-UDI Interrupt
838
Figure 21.3 H-UDI Reset
838
Boundary Scan (EXTEST, SAMPLE/PRELOAD, BYPASS)
839
Usage Notes
839
Section 22 PCI Controller (PCIC)
840
Overview
840
Features
840
Block Diagram
842
Figure 22.1 PCIC Block Diagram
842
Pin Configuration
843
Table 22.1 Pin Configuration
843
Register Configuration
844
Table 22.2 List of PCI Configuration Registers
845
Table 22.3 PCI Configuration Register Configuration
846
Table 22.4 List of PCIC Local Registers
847
PCIC Register Descriptions
850
PCI Configuration Register 0 (PCICONF0)
850
PCI Configuration Register 1 (PCICONF1)
851
PCI Configuration Register 2 (PCICONF2)
856
Table 22.5 List of CLASS23 to 16 Base Class Codes (CLASS23 to 16)
857
PCI Configuration Register 3 (PCICONF3)
858
PCI Configuration Register 4 (PCICONF4)
860
PCI Configuration Register 5 (PCICONF5)
862
Table 22.6 Memory Space Base Address Register (BASE0)
863
PCI Configuration Register 6 (PCICONF6)
864
Table 22.7 Memory Space Base Address Register (BASE1)
865
PCI Configuration Register 7 (PCICONF7) to PCI Configuration Register 10
866
(Pciconf10)
866
PCI Configuration Register 11 (PCICONF11)
867
PCI Configuration Register 12 (PCICONF12)
868
PCI Configuration Register 13 (PCICONF13)
869
PCI Configuration Register 14 (PCICONF14)
870
PCI Configuration Register 15 (PCICONF15)
871
PCI Configuration Register 16 (PCICONF16)
873
PCI Configuration Register 17 (PCICONF17)
875
22.2.16 Reserved Area
877
PCI Control Register (PCICR)
878
PCI Local Space Register [1:0] (PCILSR [1:0])
881
PCI Local Address Register [1:0] (PCILAR [1:0])
883
PCI Interrupt Register (PCIINT)
885
PCI Interrupt Mask Register (PCIINTM)
887
PCI Address Data Register at Error (PCIALR)
889
PCI Command Data Register at Error (PCICLR)
890
PCI Arbiter Interrupt Register (PCIAINT)
892
PCI Arbiter Interrupt Mask Register (PCIAINTM)
894
PCI Error Bus Master Data Register (PCIBMLR)
895
PCI DMA Transfer Arbitration Register (PCIDMABT)
896
PCI DMA Transfer PCI Address Register [3:0] (PCIDPA [3:0])
897
PCI DMA Transfer Local Bus Start Address Register [3:0] (PCIDLA [3:0])
898
PCI DMA Transfer Counter Register [3:0] (PCIDTC [3:0])
899
PCI DMA Control Register [3:0] (PCIDCR [3:0])
901
PIO Address Register (PCIPAR)
904
Memory Space Base Register (PCIMBR)
906
I/O Space Base Register (PCIIOBR)
907
PCI Power Management Interrupt Register (PCIPINT)
909
PCI Power Management Interrupt Mask Register (PCIPINTM)
910
PCI Clock Control Register (PCICLKR)
911
22.2.38 PCIC-BSC Registers
912
Port Control Register (PCIPCTR)
913
Port Data Register (PCIPDTR)
916
PIO Data Register (PCIPDR)
917
Description of Operation
918
Operating Modes
918
Table 22.8 Operating Modes
918
PCI Commands
919
Table 22.9 PCI Command Support
919
PCIC Initialization
920
Local Register Access
921
Host Functions
921
PCI Bus Arbitration in Non-Host Mode
924
PIO Transfers
924
Figure 22.2 PIO Memory Space Access
926
Target Transfers
927
Figure 22.3 PIO I/O Space Access
927
Figure 22.4 Local Address Space Accessing Method
928
DMA Transfers
930
Figure 22.5 Example of DMA Transfer Control Register Settings
932
Figure 22.6 Example of DMA Transfer Flowchart
934
22.3.10 Transfer Contention Within PCIC
936
22.3.11 PCI Bus Basic Interface
937
Figure 22.7 Master Write Cycle in Host Mode (Single)
938
Figure 22.8 Master Read Cycle in Host Mode (Single)
939
Figure 22.9 Master Memory Write Cycle in Non-Host Mode (Burst)
940
Figure 22.10 Master Memory Read Cycle in Non-Host Mode (Burst)
941
Figure 22.11 Target Read Cycle in Non-Host Mode (Single)
943
Figure 22.12 Target Write Cycle in Non-Host Mode (Single)
944
Figure 22.13 Target Memory Read Cycle in Host Mode (Burst)
945
Figure 22.14 Target Memory Write Cycle in Host Mode (Burst)
946
Figure 22.15 Master Memory Write Cycle in Host Mode (Burst, with Stepping)
947
Figure 22.16 Target Memory Read Cycle in Host Mode (Burst, with Stepping)
948
Endians
949
Internal Bus (Peripheral Bus) Interface for Peripheral Modules
949
Figure 22.17 Endian Conversion Modes for Peripheral Bus
949
Figure 22.18 Peripheral Bus PCI Bus Data Alignment
950
Table 22.10 Access Size
950
Endian Control for Local Bus
951
Endian Control in DMA Transfers
951
Figure 22.19 Endian Control for Local Bus
951
Figure 22.20 Data Alignment at DMA Transfer
952
Table 22.11 DMA Transfer Access Size and Endian Conversion Mode
952
Endian Control in Target Transfers (Memory Read/Memory Write)
953
Table 22.12 Target Transfer Access Size and Endian Conversion Mode
953
Figure 22.21(1) Data Alignment at Target Memory Transfer (Big-Endian Local Bus)
954
Figure 22.21(2) Data Alignment at Target Memory Transfer (Little-Endian Local Bus)
955
Endian Control in Target Transfers (I/O Read/I/O Write)
956
Endian Control in Target Transfers (Configuration Read/Configuration Write)
956
Figure 22.22 Data Alignment at Target I/O Transfer (both Big Endian and Little Endian)
956
Figure 22.23 Data Alignment at Target Configuration Transfer (both Big Endian and Little Endian)
957
Resetting
958
Interrupts
959
Interrupts from PCIC to CPU
959
Table 22.13 Interrupts
959
Interrupts from External PCI Devices
960
Error Detection
961
PCIC Clock
961
Power Management
962
Power Management Overview
962
Stopping the Clock
963
Table 22.14 Method of Stopping Clock Per Operating Mode
964
Compatibility with Standby and Sleep
966
Port Functions
966
Version Management
967
Section 23 Electrical Characteristics
968
Absolute Maximum Ratings
968
Table 23.1 Absolute Maximum Ratings
968
DC Characteristics
969
Table 23.2 DC Characteristics (HD6417751RBP240)
969
Table 23.3 DC Characteristics (HD6417751RF240)
971
Table 23.4 DC Characteristics (HD6417751RBP200)
973
Table 23.5 DC Characteristics (HD6417751RF200)
975
Table 23.6 DC Characteristics (HD6417751BP167)
977
Table 23.7 DC Characteristics (HD6417751BP167I)
979
Table 23.8 DC Characteristics (HD6417751F167)
981
Table 23.9 DC Characteristics (HD6417751F167I)
983
Table 23.10 DC Characteristics (HD6417751VF133)
985
AC Characteristics
987
Table 23.11 Permissible Output Currents
987
Table 23.12 Clock Timing (HD6417751RBP240)
987
Table 23.13 Clock Timing (HD6417751RF240)
987
Table 23.14 Clock Timing (HD6417751RBP200)
988
Table 23.15 Clock Timing (HD6417751RF200)
988
Table 23.16 Clock Timing (HD6417751BP167(I), HD6417751F167(I))
988
Table 23.17 Clock Timing (HD6417751VF133)
988
Clock and Control Signal Timing
989
Table 23.18 Clock and Control Signal Timing (HD6417751RBP240)
989
Table 23.19 Clock and Control Signal Timing (HD6417751RF240)
990
Table 23.20 Clock and Control Signal Timing (HD6417751RBP200)
991
Table 23.21 Clock and Control Signal Timing (HD6417751RF200)
992
Table 23.22 Clock and Control Signal Timing
993
Table 23.23 Clock and Control Signal Timing (HD6417751VF133)
994
Figure 23.1 EXTAL Clock Input Timing
995
Figure 23.2(1) CKIO Clock Output Timing
995
Figure 23.2(2) CKIO Clock Output Timing
995
Figure 23.3 Power-On Oscillation Settling Time
996
Figure 23.4 Standby Return Oscillation Settling Time (Return by or )
996
Figure 23.5 Power-On Oscillation Settling Time
997
Figure 23.6 Standby Return Oscillation Settling Time (Return by or )
997
Figure 23.7 Standby Return Oscillation Settling Time (Return by NMI)
998
Figure 23.8 Standby Return Oscillation Settling Time (Return by - )
998
Figure 23.10 PLL Synchronization Settling Time in Case of IRL Interrupt
999
Control Signal Timing
1000
Table 23.24 Control Signal Timing (1)
1000
Table 23.25 Control Signal Timing (2)
1001
Figure 23.11 Control Signal Timing
1002
Figure 23.12 Pin Drive Timing for Standby Mode
1002
Bus Timing
1003
Table 23.26 Bus Timing (1)
1003
Table 23.27 Bus Timing (2)
1005
Figure 23.13 SRAM Bus Cycle: Basic Bus Cycle (no Wait)
1007
Figure 23.14 SRAM Bus Cycle: Basic Bus Cycle (One Internal Wait)
1008
Figure 23.15 SRAM Bus Cycle: Basic Bus Cycle (One Internal Wait + One External Wait)
1009
Figure 23.16 SRAM Bus Cycle: Basic Bus Cycle (no Wait, Address Setup/Hold Time Insertion, Ans = 1, Anh = 1)
1010
Figure 23.17 Burst ROM Bus Cycle (no Wait)
1011
Figure 23.18 Burst ROM Bus Cycle (1St Data: One Internal Wait + One External Wait; 2Nd/3Rd/4Th Data: One Internal Wait)
1012
Figure 23.19 Burst ROM Bus Cycle (no Wait, Address Setup/Hold Time Insertion, Ans = 1, Anh = 1)
1013
Figure 23.20 Burst ROM Bus Cycle (One Internal Wait + One External Wait)
1014
Figure 23.21 Synchronous DRAM Auto-Precharge Read Bus Cycle: Single (RCD [1:0] = 01, CAS Latency = 3, TPC [2:0] = 011)
1015
Figure 23.22 Synchronous DRAM Auto-Precharge Read Bus Cycle: Burst (RCD [1:0] = 01, CAS Latency = 3, TPC [2:0] = 011)
1016
Figure 23.23 Synchronous DRAM Normal Read Bus Cycle: ACT + READ Commands, Burst (RCD [1:0] = 01, CAS Latency = 3)
1017
Figure 23.24 Synchronous DRAM Normal Read Bus Cycle: PRE + ACT + READ Commands, Burst (RCD [1:0] = 01, TPC [2:0] = 001, CAS Latency = 3)
1018
Figure 23.25 Synchronous DRAM Normal Read Bus Cycle: READ Command, Burst (CAS Latency = 3)
1019
Figure 23.26 Synchronous DRAM Auto-Precharge Write Bus Cycle: Single (RCD [1:0] = 01, TPC [2:0] = 001, TRWL [2:0] = 010)
1020
Figure 23.27 Synchronous DRAM Auto-Precharge Write Bus Cycle: Burst (RCD [1:0] = 01, TPC [2:0] = 001, TRWL [2:0] = 010)
1021
Figure 23.28 Synchronous DRAM Normal Write Bus Cycle: ACT + WRITE Commands, Burst (RCD [1:0] = 01, TRWL [2:0] = 010)
1022
Figure 23.29 Synchronous DRAM Normal Write Bus Cycle: PRE + ACT + WRITE Commands, Burst (RCD [1:0] = 01, TPC [2:0] = 001, TRWL [2:0] = 010)
1023
Figure 23.30 Synchronous DRAM Normal Write Bus Cycle: WRITE Command
1024
Figure 23.31 Synchronous DRAM Bus Cycle: Precharge Command (TPC [2:0] = 001)
1025
Figure 23.32 Synchronous DRAM Bus Cycle: Auto-Refresh (tras = 1, TRC [2:0] = 001)
1026
Figure 23.33 Synchronous DRAM Bus Cycle: Self-Refresh (TRC [2:0] = 001)
1027
Figure 23.34(A) Synchronous DRAM Bus Cycle: Mode Register Setting (PALL)
1028
Figure 23.34(B) Synchronous DRAM Bus Cycle: Mode Register Setting (SET)
1029
Figure 23.35 DRAM Bus Cycles
1030
Figure 23.36 DRAM Bus Cycle (EDO Mode, RCD [1:0] = 00, Anw [2:0] = 000, TPC [2:0] = 001)
1031
Figure 23.37 DRAM Bus Cycle (EDO Mode, RCD [1:0] = 00, Anw [2:0] = 000, TPC [2:0] = 001)
1032
Figure 23.38 DRAM Burst Bus Cycle (EDO Mode, RCD [1:0] = 01, Anw [2:0] = 001, TPC [2:0] = 001)
1033
Figure 23.39 DRAM Burst Bus Cycle (EDO Mode, RCD [1:0] = 01, Anw [2:0] = 001, TPC [2:0] = 001, 2-Cycle CAS Negate Pulse Width)
1034
Figure 23.40 DRAM Burst Bus Cycle: RAS down Mode State (EDO Mode, RCD [1:0] = 00, Anw [2:0] = 000)
1035
Figure 23.41 DRAM Burst Bus Cycle: RAS down Mode Continuation (EDO Mode, RCD [1:0] = 00, Anw [2:0] = 000)
1036
Figure 23.42 DRAM Burst Bus Cycle (Fast Page Mode, RCD [1:0] = 00, Anw [2:0] = 000, TPC [2:0] = 001)
1037
Figure 23.43 DRAM Burst Bus Cycle (Fast Page Mode, RCD [1:0] = 01, Anw [2:0] = 001, TPC [2:0] = 001)
1038
Figure 23.44 DRAM Burst Bus Cycle (Fast Page Mode, RCD [1:0] = 01, Anw [2:0] = 001, TPC [2:0] = 001, 2-Cycle CAS Negate Pulse Width)
1039
Figure 23.45 DRAM Burst Bus Cycle: RAS down Mode State (Fast Page Mode, RCD [1:0] = 00, Anw [2:0] = 000)
1040
Figure 23.46 DRAM Burst Bus Cycle: RAS down Mode Continuation (Fast Page Mode, RCD [1:0] = 00, Anw [2:0] = 000)
1041
Figure 23.47 DRAM Bus Cycle: DRAM CAS-Before-RAS Refresh (tras [2:0] = 000, TRC [2:0] = 001)
1042
Figure 23.48 DRAM Bus Cycle: DRAM CAS-Before-RAS Refresh (tras [2:0] = 001, TRC [2:0] = 001)
1043
Figure 23.49 DRAM Bus Cycle: DRAM Self-Refresh (TRC [2:0] = 001)
1044
Figure 23.50 PCMCIA Memory Bus Cycle
1045
Wait
1045
Figure 23.51 PCMCIA I/O Bus Cycle
1046
Wait
1046
Figure 23.52 PCMCIA I/O Bus Cycle (TED [2:0] = 001, TEH [2:0] = 001, One Internal Wait, Bus Sizing)
1047
Figure 23.53 MPX Basic Bus Cycle: Read (1) 1St Data (One Internal Wait) (2) 1St Data (One Internal Wait + One External Wait)
1048
Figure 23.54 MPX Basic Bus Cycle: Write (1) 1St Data (no Wait) (2) 1St Data (One Internal Wait) (3) 1St Data (One Internal Wait + One External Wait)
1049
Figure 23.55 MPX Bus Cycle: Burst Read
1050
Figure 23.56 MPX Bus Cycle: Burst Write (1) no Internal Wait
1051
Figure 23.57 Memory Byte Control SRAM Bus Cycles (1) Basic Read Cycle (no Wait) (2) Basic Read Cycle (One Internal Wait) (3) Basic Read Cycle (One Internal Wait + One External Wait)
1052
Figure 23.58 Memory Byte Control SRAM Bus Cycle: Basic Read Cycle (no Wait, Address Setup/Hold Time Insertion, Ans [0] = 1, Anh [1:0] = 01)
1053
Peripheral Module Signal Timing
1054
Table 23.28 Peripheral Module Signal Timing (1)
1054
Table 23.29 Peripheral Module Signal Timing (2)
1056
Figure 23.59 TCLK Input Timing
1058
Figure 23.60 RTC Oscillation Settling Time at Power-On
1058
Figure 23.61 SCK Input Clock Timing
1058
Figure 23.62 SCI I/O Synchronous Mode Clock Timing
1058
Figure 23.63 I/O Port Input/Output Timing
1059
Figure 23.64(B) / Input Timing and Output Timing
1059
Figure 23.65 TCK Input Timing
1060
Figure 23.67 H-UDI Data Transfer Timing
1060
Figure 23.68 Pin Break Timing
1060
Figure 23.69 NMI Input Timing
1061
Table 23.30 PCIC Signal Timing (in PCIREQ/PCIGNT Non-Port Mode) (1)
1062
Table 23.31 PCIC Signal Timing (in PCIREQ/PCIGNT Non-Port Mode) (2)
1063
Figure 23.70 PCI Clock Input Timing
1064
Figure 23.71 Output Signal Timing
1064
Figure 23.72 Output Signal Timing
1065
Table 23.32 PCIC Signal Timing (with PCIREQ/PCIGNT Port Settings in Non-Host Mode) (1)
1065
Table 23.33 PCIC Signal Timing (with PCIREQ/PCIGNT Port Settings in Non-Host Mode) (2)
1065
Figure 23.73 I/O Port Input/Output Timing
1066
Table 23.34 PCIC Signal Timing (with PCIREQ/PCIGNT Port Settings in Non-Host Mode)
1066
AC Characteristic Test Conditions
1067
Figure 23.74 Output Load Circuit
1067
Change in Delay Time Based on Load Capacitance
1068
Figure 23.75 Load Capacitance Delay Time
1068
Appendix A Address List
1070
Table A.1 Address List
1070
Appendix B Package Dimensions
1078
Figure B.1 Package Dimensions (256-Pin QFP)
1078
Figure B.2 Package Dimensions (256-Pin BGA)
1079
Appendix C Mode Pin Settings
1080
Table C.1 Clock Operating Modes (SH7751)
1080
Table C.2 Clock Operating Modes (SH7751R)
1080
Table C.3 Area 0 Memory Map and Bus Width
1081
Table C.4 Endian
1081
Table C.5 Master/Slave
1081
Table C.6 Clock Input
1081
Table C.7 PCI Mode
1082
Appendix D Pin Functions
1083
Pin States
1083
Table D.1 Pin States in Reset, Power-Down State, and Bus-Released State
1083
Table D.2 Pin States in Reset, Power-Down State, and Bus-Released State (PCI Enable)
1085
Table D.3 Pin States in Reset, Power-Down State, and Bus-Released State (PCI Disable)
1086
Handling of Unused Pins
1087
Table D.4 Handling of Pins When PCI Is Not Used
1088
Appendix E Synchronous DRAM Address Multiplexing Tables
1089
Appendix F Instruction Prefetching and Its Side Effects
1100
Figure F.1 Instruction Prefetch
1100
Appendix G Power-On and Power-Off Procedures
1101
Figure G.1 Power-On and Power-Off Procedures
1101
Appendix H List of Models
1102
Table H.1 SH7751 Series Models
1102
Advertisement
Advertisement
Related Products
Hitachi SH7750R
Hitachi SH7750 series
Hitachi SH7750S
Hitachi SH7751
Hitachi SH7032
Hitachi SH7034
Hitachi SH7709S
Hitachi SH7095
Hitachi SH1-00175-H
Hitachi SH1-02520-H
Hitachi Categories
Projector
Air Conditioner
Drill
Power Tool
TV
More Hitachi Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL