Sign In
Upload
Manuals
Brands
Hitachi Manuals
Controller
HD64465
Hitachi HD64465 Peripheral Controller Manuals
Manuals and User Guides for Hitachi HD64465 Peripheral Controller. We have
1
Hitachi HD64465 Peripheral Controller manual available for free PDF download: User Manual
Hitachi HD64465 User Manual (410 pages)
Windows CE Intelligent Peripheral Controller
Brand:
Hitachi
| Category:
Controller
| Size: 1.68 MB
Table of Contents
Table of Contents
7
Section 1 Features
20
CPU Interface
20
PCMCIA Controller
20
AFE Interface
20
GPIO Function(Port Interrupt)
20
Interrupt Controller
21
Power Management
21
Timer
21
Keyboard Controller Interface
21
Uart
21
Printer Interface
22
Audio CODEC Interface
22
Irda
22
Clock Generator and PLL
22
USB Host Controller
23
10-Bit ADC
23
Package
23
Section 2 General Description
24
System Block Diagram
26
Application Circuit
26
Section 3 System Block Diagram
26
System Block Diagram
27
Physical Address Space
28
HD64465 Memory Address
29
Pin Configuration
30
HD64465BP Top View
30
HD64465BP Bottom View
31
HD64465BQ Top View
32
HD64465BQ Bottom View
33
Section 4 Pin Description
34
Tables
36
Table 4-1. HD64465BP Signal Names (by Pin Numbers in Alphabetical Order)
36
Table 4-2. HD64465BQ Signal Names (by Pin Numbers in Alphabetical Order)
39
Table 4.3 Pin Descriptions of Test Mode Select
44
Table 4.4 Pin Descriptions of CPU Interface
44
Table 4.5 Pin Descriptions of PCMCIA 0 Interface
46
Table 4.6 Pin Descriptions of PCMCIA 1 Interface
48
Table 4-7. Pin Descriptions of UART 0
50
Table 4.8 Pin Description of Irda
50
Table 4.9 Pin Descriptions of Printer Port Interface
51
Table 4.10 Pin Descriptions of AFE Interface
52
Table 4.11 Pin Descriptions of CODEC Interface
53
Table 4.12 Pin Descriptions of USB Interface
53
Table 4.13 Pin Descriptions of Keyboard Interface
54
Table 4.14 Pin Descriptions of IO Port a
54
Table 4.15 Pin Description of IO Port B
55
Table 4.16 Pin Descriptions of IO Port C
55
Table 4.17 Pin Descriptions of IO Port D
56
Table 4.18 Pin Descriptions of IO Port E
56
Table 4.19 Pin Descriptions of 10-Bit ADC Interface
56
Table 4.20 Pin Descriptions of PS/2 Interface
57
Table 4.21 Pin Descriptions of System Reset Interface
57
Table 4.22 Pin Descriptions of Crystal Interface
57
Table 4.23 Pin Description of Miscellaneous Interface
57
Table 4-24. Pin Descriptions of LCD Interface
58
Table 4.25 Pin Descriptions of Power/Ground
58
Section 5 Internal CPU Interface
60
Introduction
60
CPU Interface Signal Description
61
System Bus Interface Signals
61
Internal Bus Interface Signals
62
Figure 5.1 CPU Interface Module Interconnection Diagram
63
Figures
63
Function Description
63
Signal Timing Description
64
Low Speed Timing
64
Figure 5.2 Low-Speed Basic Internal Peripheral Bus Access Timing
64
Figure 5.3 Low-Speed Internal Peripheral Bus Access Timing with Twe Phase
65
High Speed Timing
66
Figure 5.4 High-Speed Basic Internal Peripheral Bus Access Timing
66
Figure 5.5 High-Speed Internal Peripheral Bus Access Timing with Twe Phase
67
Internal Bus Data Swap Rules
68
Internal Peripheral Bus AC Timing Specification
69
Section 6 Power Management and System Configuration
70
Overview
70
Features
70
Register Description
71
System Module Standby Control Register (SMSCR)
71
Table 6.1 the Register List of Power Management and System Configuration
71
System Configuration Register (SCONFR)
73
System Bus Control Register (SBCR)
74
System Peripheral Clock Control Register (SPCCR)
76
Figure 6.1 AFECK Related Clock Diagram
78
Figure 6.2 UCK Related Clock Diagram
79
System Peripheral S/W Reset Control Register (SPSRCR)
80
System PLL Control Register (SPLLCR)
82
System Revision Register (SRR)
83
System Device ID Register (SDID)
83
System Hardware Reset Timing
84
Power-On Reset Output
84
Figure 6.3 System Hardware Reset Related Pins
84
Figure 6.4 Power-On Reset Diagram, Tporst=10Ms
84
Manual Reset Output
85
Figure 6.5 SH4 Manual Reset Diagram, Tm2Ps=Tm2Ph=80Ns, Tmarst=10Ms
85
Figure 6.6 SH3 Manual Reset Diagram, Tmarst=10Ms
85
Section 7 General Purpose I/O Port
86
Overview
86
Features
86
Table 7.1 the List of I/O Port Pin Function Configurations
86
Register Configuration
88
Table 7-2. the List of Register Configurations
88
Register Descriptions
89
Port Data Register
89
Figure 7.1 Pin Configuration of All Ports
89
Port Control Register
91
Table 7-3. Control Bits Definition of the Port X Control Register and Its Relevant READ/WRITE Operation of Port Data Register
92
Port Interrupt Control Register
93
Port Interrupt Status Register
95
Interrupt Controller (INTC)
98
Overview
98
Features
98
Block Diagram
99
Pin Configuration
99
Register Configuration
99
Figure 8.1 Block Diagram of the Interrupt Controller
99
Interrupt Sources
100
On-Chip Module Interrupt
100
Interrupt Exception Processing and Priority
100
NIRR: Interrupt Request Register
101
NIMR: Interrupt Mask Register
103
NITR: Interrupt Trigger Mode Register
105
Section 9 Timer
108
Overview
108
Features
108
Block Diagram
109
Figure 9.1 Block Diagram of Timer
109
Pin Configuration
110
Register Configuration
110
Table 9.1 the Register List of Timer Module
110
Timer Register
111
TCVR1: Timer 1 Constant Value Register
111
TCVR0: Timer 0 Constant Value Register
112
TRVR1: Timer 1 Read Value Register
112
TRVR0: Timer 0 Read Value Register
113
TCR1: Timer 1 Control Register
114
TCR0: Timer 0 Control Register
115
TIRR: Timer Interrupt Request Register
116
TIDR*: Timer Interrupt Disable Register
117
PWM1CS: PWM 1 Clock Scale Register
118
PWM1LPC: PWM 1 Low Pulse Width Counter Register
119
PWM1HPC: PWM 1 High Pulse Width Counter Register
120
PWM0CS: PWM 0 Clock Scale Register
121
PWM0LPC: PWM 0 Low Pulse Width Counter Register
122
PWM0HPC: PWM 0 High Pulse Width Counter Register
123
Special Register Programming Sequence
123
Interrupt Timing
123
Figure 9-2. Interrupt Request Timer1/0R Timing Diagram in Case Prescale *1
124
Figure 9-3. Interrupt Request Timer1/0R Timing Diagram in Case Prescale*1/4
124
A/D Trigger Signal ADTRIG
125
Figure 9-4. Interrupt Request Timer1/0R Timing Diagram in Case Prescale*1/8
125
Figure 9-5. Interrupt Request Timer1/0R Timing Diagram in Case Prescale*1/16
125
Figure 9.6 A/D Trigger Signal ADTRIG# Timing Diagram in Case Prescale 1, Timer0_Clk=Ckio
126
Figure 9.7 A/D Trigger Signal ADTRIG# Timing Diagram in Case Prescale 1/4, Timer0_Clk=Ckio/4
126
Figure 9.8 A/D Trigger Signal ADTRIG# Timing Diagram in Case Prescale 1/8, Timer0_Clk=Ckio/8
126
Figure 9.9 A/D Trigger Signal ADTRIG# Timing Diagram in Case Prescale 1/16, Timer0_Clk=Ckio/16
126
DMA Request Enable Function
127
PWM Operation
127
Figure 9.10 PWM Signals
127
Section 10 PC Card Controller (PCC)
128
Overview
128
Features
128
Register Configuration
128
Table 10.1 PC Card Controller Registers
128
Register Description
129
PCC0 Interface Status Register (PCC0ISR)
129
PCC0 General Control Register (PCC0GCR)
131
PCC0 Card Status Change Register (PCC0CSCR)
133
PCC0 Card Status Change Interrupt Enable Register (PCC0CSCIER)
135
PCC0 Software Control Register (PCC0SCR)
137
PCC Serial Power Switch Control Register (PCCPSR)
138
PCC1 Interface Status Register (PCC1ISR)
138
PCC1 General Control Register (PCC1GCR)
140
PCC1 Card Status Change Register (PCC1CSCR)
142
PCC1 Card Status Change Interrupt Enable Register (PCC1CSCIER)
144
PCC1 Software Control Register (PCC1SCR)
146
Section 11 FIR Module
148
Overview
148
Features
148
Functional Block Diagram of FIR
149
Figure 11.1 Functional Block Diagram of FIR
149
FIR Controller Register Description
151
UART Register of FIR Portion
151
FIR Controller Register
152
Table 11.1 Summary of FIR Controller Registers
152
Register Description
153
FIR Transmit Operation
172
FIR Receive Operation
173
Example of Initialization and Programming Procedure for HP-SIR
175
Section 12 UART
176
Overview
176
Features
176
Serial Channel Register Description
177
Data Register
177
Table 12.1 Serial Channel Registers
177
Control Registers: UIER, UIIR, UFCR, UDLL, UDLM, ULCR, UMCR
178
Table 12.2 Interrupt Identification Register
179
Table 12.3 Baud Rates Using (9.216Mhz/5) Clock
181
Table 12.4 Modem Control Register Bits
182
Status Register ULSR and UMSR
183
Table 12.5 Line Status Register Bits
184
Table 12.6 Modem Status Register Bits
185
Reset
186
Table 12.7 Reset Control of Register and Pinout Signals
186
Programming
187
Programming Sequence
187
Software Reset
187
Clock Input Operation
187
FIFO Interrupt Mode Operation
188
Caution
189
Section 13 Parallel Port
190
Overview
190
Features
190
Parallel Port Register Description
190
Table 13.1 the Register List of Parallel Port
191
Table 13.2 Bit Map of the EPP Registers
191
SPP and EPP Modes
192
Table 13.3 Status Port Register Description
192
Table 13.4 Control Port Register Description
192
ECP Mode
193
Table 13.5 Bit Map of the ECP Mode Register
193
Table 13.6 ECP Register Definition
194
Table 13.7 ECP Mode Description
194
Section 14 Serial CODEC Interface
200
Overview
200
Features
200
Block Diagram
201
Figure 14.1 the Block Diagram of Serial CODEC Interface
201
Register Description
202
Table 14.1 Pin Function of Serial CODEC Interface Module
202
Table 14.2 Registers of SCDI
202
Transmit Data Register (TDR)
203
Receive Data Register (RDR)
204
Control Register (CR)
205
Status Register (SR)
206
Frequency Select Register
208
Command/Status Address Register (CSAR)
209
Command/Status Data Register (CSDR)
210
PCM Playback/Record Left Channel (PCML)
211
PCM Playback/Record Right Channel (PCMR)
212
Line 1 Data Register (LINE1)
213
PCM Center Playback/MIC ADC Channel (PCMC)
214
PCM Left Surround Channel Data Register (PCMLS)
215
PCM Right Surround Channel Data Register (PCMRS)
216
PCMLFE Data Register (PCMLFE)
217
Line 2 Channel Data Register (LINE2)
218
HSET Data Register (HSET)
219
IO Control/Status Data Register (IOCS)
220
AC97 Transmit Interrupt Enable Register (ATIER)
221
14.2.19 AC97 TX FIFO Status Register
224
AC97 RX FIFO Interrupt Enable Register (ARIER)
227
AC97 RX Status Register (ARSR)
230
AC97 Control Register (ACR)
232
AC97 TAG Register (ATAGR)
234
Slot Request Active Register (SRAR)
235
Function Description
236
Internal Bus Interface
236
Clock Generator
236
CS4218 or CS4271 TX Controller
237
CS4218 or CS4271 RX Controller
237
AC97 TX Controller
237
AC97 RX Controller
238
Miscellaneous Function Block
238
Data Structure of Memory in DMA Mode
238
Figure 14.2 Data Transfer Scheme in DMA TX Mode
238
Program Flow
239
Figure 14.3 CS4218 or CS4271 TX Controller
239
Figure 14.4 CS4218 or CS4271 RX Controller
239
Figure 14.5 AC97 TX Controller
240
Figure 14.6 AC97 RX Controller
241
Figure 14.7 TX Flow in PIO Mode for CS4218 or CS4271
242
Figure 14.8 RX Flow in PIO Mode for CS4218 or CS4271
243
Figure 14.9 AC97 DMA Program Flow
244
Figure 14.10 Warm/Cold Reset Timing
245
Figure 14.11 Serial Data Setup, Hold and Output Delay Timing
245
Table 14.3 AC97 Timing
246
Section 15 AFE Interface
248
Overview
248
Features
248
Block Diagram
249
Figure 15.1 AFE Interface Block Diagram
249
Register Description
250
Table 15.1 Pin Function of AFE Interface Module
250
Table 15.2 Registers of AFE Interface
250
Control Register (CTR)
251
Status Register (STR)
252
Receive Data Register (RXDR)
255
Transmit Data Buffers (TXDB0,1)
255
Transmit Data Register (TXDR)
255
Transmit Shift Register (TSFTR)
255
Receive Data Buffers (RXDB0,1)
256
Receive Shift Register (RSFTR)
256
Data Transfer
256
Data Transmit
256
Data Receive
257
Divider
258
Figure 15.2 Divider Configuration
258
External Chip Control Signal
259
Figure 15.3 HC1 Pin and Control Data Outputs
259
Interrupt
260
Figure 15.4 TDEI Output Timing
260
How to Use the Special Pin (RLYCNT, RING)
261
How to Use the RLYCNT Pin
261
How to Use the RING Pin
261
Figure 15.5 RDFI Output Timing
261
Section 16 Keyboard Controller Interface
262
Overview
262
Features
262
Block Diagram
263
Figure 16.1 H8 Keyboard Controller Interface Block Diagram
263
Register Description
264
Control Register (CR)
264
Table 16.1 Pin Function of Keyboard Controller Interface Module
264
Status Register (SR)
265
H8 Control 1 Register (H8C1R)
266
H8 Control 2 Register (H8C2R)
266
Function Description
266
Timing Diagram
266
Figure 16.2 Keyboard Controller Interface Read Timing
266
Figure 16.3 Keyboard Controller Interface Write Timing
266
Table 16.2 Keyboard Controller Interface Read Cycle AC Timing
267
Table 16.3 Keyboard Controller Interface Write Cycle AC Timing
267
Section 17 PS/2 Interface
268
Overview
268
Pin Configuration
268
Registers Description
268
Table 17.1 PS/2 Interface Control Registers
268
Keyboard Control/Status Register (KBCSR)
269
Keyboard Interrupt Status Register (KBISR)
270
Mouse Control/Status Register (MSCSR)
271
Mouse Interrupt Status Register (MSISR)
272
Block Diagram
273
Figure 17.1 PS/2 Keyboard/Mouse Interface Block Diagram
273
Operation
274
Serial Data Format
274
Software Operational Sequence
274
Figure 17.2 Keyboard Serial Data Format
274
Communication Protocol
275
Table 17.2 Data Receive Timing Parameters
276
Figure 17.3 Data Receive Timing
276
Caution
277
Table 17.3 Data Send Timing Parameters
277
Figure 17.4 Data Send Timing
277
Section 18 USB Host Controller
278
Introduction
278
Device Description / Purpose
278
Reference Information
278
Function Description
279
System Architecture
279
USB Host Controller
280
Figure 18.1 USB States
280
Figure 18.2 List Priority Within a USB Frame
283
Figure 18-3. Example of Control/Bulk Service Ratio of 4:1
284
Figure 18.4 List Service Flow
287
Figure 18.5 Endpoint Descriptor Service Flow
290
Figure 18.6 Endpoint Descriptor
292
Figure 18.7 Transfer Description Service Flow
293
Table 18.1 Example Calculation of R and Host Controller Action
294
Table 18.2 ITD Packet Offset Location
295
Table 18.3 Completion Codes
298
Table 18.4 Dword0 GTD Fields
301
Table 18.5 Dword0 ITD Fields
301
Table 18.6 Dword1 GTD Fields
301
Table 18.7 Dword1 ITD Fields
302
Table 18.8 Dword2 Fields
302
Table 18.9 Dword3 GTD Fields
302
Table 18.10 Dword3 ITD Fields
302
Table 18.11 Offset0 Field Description
303
Table 18.12 List Processor Control Signals
304
USB Interface
312
Table 18.13 Transaction Control Information
313
Table 18.14 PID Encoding
314
Figure 18.8 Standard Token Packet Format
315
Figure 18.9 SOF Token Packet Format
315
Figure 18.10 Data Packet Format
316
Figure 18.11 Handshake Packet Format
316
Figure 18.12 Preamble Packet Format
317
Figure 18.13 Serializer
318
Figure 18.14 CRC Logic
319
Figure 18.15 Non-Isochronous Bus Transaction
323
Table 18.15 Bus Time-Out Periods
324
Figure 18.16 Isochronous Bus Transaction
324
Table 18.16 SIE EOF Timing Requirements
325
Table 18.17 SIE Completion Status
327
Table 18.18 in Transaction Error Response
328
Table 18.19 out Transaction Error Response
328
Table 18.20 Hub / Port Commands
329
Table 18.21 Power Switching Configurations
330
Power Management
334
Register/Address Summary
335
Table 18.22 HC Operational Register Summary
335
Table 18.23 Hcrevision Register
336
Table 18.24 Hccontrol Register
337
Table 18.25 Hccommandstatus Register
338
Table 18.26 Hcinterruptstatus Register
339
Table 18.27 Hcinterrutpenable Register
340
Table 18.28 Hcinterruptdisable Register
341
Table 18.29 Hchcca Register
342
Table 18.30 Hcperiodcurrented Register
342
Table 18.31 Hccontrolheaded
342
Table 18.32 Hccontrolcurrented Register
343
Table 18.33 Hcbulkheaded Register
343
Table 18.34 Hcbulkcurrented Register
343
Table 18.35 Hcdonehead Register
344
Table 18.36 Hcfminterval Register
344
Table 18.37 Hcframeremaining Register
345
Table 18.38 Hcfmnumberb Register
345
Table 18.39 Hcperiodicstart Register
345
Table 18.40 Hclsthreshold Register
346
Table 18.41 Hcrhdescriptora Register
347
Table 18.42 Hcrhdescriptorb Register
348
Table 18.43 Hcrhstatus Register
349
Table 18.44 Hcrhportstatus Register
350
Section 19 A/D Converter
352
Overview
352
Features
352
Block Diagram
353
Input Pins
353
Table 19.1 A/D Converter Pins
353
Figure 19.1 A/D Converter Block Diagram
353
Register Configuration
354
Table 19.2 A/D Converter Registers
354
Register Descriptions
355
A/D Data Registers a to D (ADDRA to ADDRD, ADCAL)
355
Table 19.3 Analog Input Channels and A/D Data Registers
355
A/D Control/Status Register (ADCSR)
356
A/D Calibration Sample Control Register (ADCALCR)
357
Operation
358
Single Mode (SCAN = 0)
358
Figure 19.2 Example of A/D Converter Operation (Single Mode, Channel 1 Selected)
359
Scan Mode (SCAN = 1)
360
Figure 19.3 Example of A/D Converter Operation (Scan Mode, Channels AN0 to AN2 Selected)
361
Input Sampling and A/D Conversion Time
362
Figure 19.4 A/D Conversion Timing
362
A/D External Trigger Input Timing
363
Interrupts
363
Table 19.4 A/D Conversion Time (Single Mode)
363
Figure 19.5 External Trigger Input Timing
363
Usage Notes
364
A/D Conversion Characteristics
364
Table 19.5 A/D Conversion Characteristics
364
Analog Input Pin Characteristics
365
Table 19.6 Analog Input Pin Characteristics
365
Figure 19.6 Analog Input Pin RC Equivalent Circuit
365
Section 20 Electrical Characteristics
366
C to 70 ° C, Unit : Ns)
366
DC Electrical Characteristics
366
Table 20-1. DC Electrical Characteristics (Ta=0°C to 70°C)
366
AC Characteristics
368
Table 20-2. CPU Interface AC Timing Spec
368
Table 20-3. Crystal/Oscillator and PLL Settle AC Timing Spec
368
Table 20-4. GPIO AC Timing Spec
368
Table 20-5. I/O Port Interrupt AC Timing Spec
369
Table 20-6. PCMCIA AC Timing Spec
369
Table 20-7. UART AC Timing Spec
369
Table 20-8. Parallel Port AC Timing Spec
370
Table 20-9. SCDI AC Timing Spec
370
Table 20-10. AFE Interface AC Timing Spec
371
Table 20-11. KBC AC Timing Spec
371
Table 20-12. USB Host AC Timing Spec
371
Table 20-13. AFECK Clock Input AC Timing Spec. (PLL1 : Bypass)
371
Table 20-14. AFECK Clock Input AC Timing Spec. (PLL1 : Operating)
372
Table 20-15. UCK Clock Input AC Timing Spec. (PLL2 : Bypass)
372
Table 20-16. UCK Clock Input AC Timing Spec. (PLL2 : Operating)
372
Figure 20.1 CPU Write Cycle Timing Diagram
373
Figure 20.2 CPU Read Cycle Timing Diagram
373
Figure 20.3 Crystal/Oscillator and PLL Settle Timing Diagrams
374
Figure 20.4 I/O Port Interrupt Timing (Falling Edge Trigger)
374
Figure 20.5 I/O Port Interrupt Timing (Rising Edge Trigger)
375
Figure 20.6 IRQ0#/TMO0# Timing for Timer
375
Figure 20.7 IRQ0#/TMO1# Timing for Timer
375
Figure 20.8 DREQ0# / DREQ1# Timing
375
Figure 20.9 PCMCIA I/O Bus Cycle (no Wait)
376
Figure 20.10 PCMCIA Memory Bus Cycle (no Wait)
377
Figure 20.11 UART DTR, RTS Timing
377
Figure 20.12 UART Rx Timing
378
Figure 20.13 Control Signal Delay Time of Parallel Port Timing
378
Figure 20.14 EPP Address or Data Write Timing
378
Figure 20.15 EPP Address or Data Read Timing
379
Figure 20.16 ECP Parallel Port Forward Timing
379
Figure 20.17 ECP Parallel Port Backward Timing
379
Figure 20.18 SCDI DMA Request Timing
380
Figure 20.19 Cold Reset Timing
380
Figure 20.20 Warm Reset Timing
380
Figure 20.21 SCDI Sync and Data Timing
381
Figure 20.22 AFE Interface Access Timing
381
Figure 20.23 Keyboard Controller Interface Read Timing
382
Figure 20.24 Keyboard Controller Interface Write Timing
382
Figure 20.25 USB Over-Current Detect to Power down Timing
382
Figure 20.26 AFECK Clock Input Timing
382
Figure 20.27 UCK Clock Input Timing
383
Section 21 Recommended Reflow Condition
384
Section 22 Package Information
386
Figure 22.1 HD64465BP Package Dimensions
386
Figure 22.2 HD64465BQ Package Dimensions
387
Section 23 Ordering Information
388
Appendix
390
Advertisement
Advertisement
Related Products
Hitachi HIDIC MICRO-EH
Hitachi HIDIC EH-150
Hitachi H25-T
Hitachi HS25-T
Hitachi H100C
Hitachi H150C-T
Hitachi H250C-T
Hitachi H300C
Hitachi HX-CP1H16M-0
Hitachi HX Series
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