ChipFind - документация

Электронный компонент: PC87311A

Скачать:  PDF   ZIP
TL F 11362
PC87311APC87312
(SuperIO
IIIII)
Floppy
Disk
Controller
with
Dual
UARTs
Parallel
Port
and
IDE
Interface
October 1993
PC87311A PC87312 (SuperI O
TM
II III)
Floppy Disk Controller with Dual UARTs
Parallel Port and IDE Interface
General Description
The PC87311A 12 incorporates a floppy disk controller
(FDC) two full function UARTs a bidirectional parallel port
and IDE interface control logic in one chip The PC87311A
includes standard AT XT address decoding for on-chip
functions and a Configuration Register offering a single
chip solution to the most commonly used IBM
PC
PC-XT
and PC-AT
peripherals The PC87312 includes
standard AT address decoding for on-chip functions and a
Configuration Register set offering a single chip solution to
the most commonly used ISA EISA and Micro Channel pe-
ripherals
The on-chip FDC is software compatible to the PC8477
which contains a superset of the DP8473 and NEC mPD765
and the N82077 floppy disk controller functions The on-
chip analog data separator requires no external compo-
nents and supports the 4 Mb drive format as well as the
other standard floppy drives used with 5 25
and 3 5
me-
dia
In the PC87311A
the UARTs are equivalent to two
INS8250N-Bs or NS16450s The bidirectional parallel port
maintains complete compatibility with the IBM PC XT and
AT In the PC87312 the UARTs are equivalent to two
NS16450s or PC16550s The bidirectional parallel port
maintains complete compatibility with the ISA EISA and Mi-
cro Channel parallel ports
The IDE control logic provides a complete IDE interface ex-
cept for the signal buffers The Configuration Registers con-
sist of three byte-wide registers An Index and a Data Regis-
ter which can be relocated within the ISA I O address space
access the Configuration Registers
Features
Y
100% compatible with IBM PC XT and AT architec-
tures (PC87311A) or ISA EISA and Micro Channel ar-
chitectures (PC87312)
Y
FDC
Software compatible with the DP8473 the 765A and
the N82077
16-byte FIFO (default disabled)
Burst and Non-Burst modes
Perpendicular Recording drive support
High performance internal analog data separator (no
external filter components required)
Low power CMOS with power down mode
Y
UARTs
Software compatible with the INS8250N-B and the
NS16450 (PC87311A) or PC16550A and PC16450
(PC87312)
Y
Parallel Port
Bidirectional under either software or hardware
control
Compatible with all IBM PC XT and AT architectures
(PC87311A) or all ISA EISA and Micro Channel ar-
chitectures (PC87312)
Back Voltage protection circuit against damage
caused when printer is powered up
Y
IDE Control Logic
Provides a complete IDE interface except for option-
al buffers
Y
Address Decoder
Provides selection of all primary and secondary ISA
addresses including COM 1 4
Y
100-pin PQFP package
The PC87311A and PC87312 are pin compatible
Block Diagram
TL F 11362 1
TRI-STATE
is a registered trademark of National Semiconductor Corporation
SuperI O
TM
is a trademark of National Semiconductor Corporation
IBM
PC
PC-AT
PC-XT
and PS 2
are registered trademarks of International Business Machines Corporation
C1995 National Semiconductor Corporation
RRD-B30M75 Printed in U S A
Table of Contents
1 0 PIN DESCRIPTION
6
2 0 CONFIGURATION REGISTERS
12
2 1 Overview
12
2 2 Software Configuration
12
2 3 Hardware Configuration
12
2 4 Index and Data Registers
14
2 5 Base Configuration Registers
14
2 5 1 Function Enable Register (FER)
14
2 5 2 Function Address Register (FAR)
16
2 5 3 Power and Test Register (PTR)
16
2 6 Power Down Options
16
2 7 Power Up Procedure and Considerations
17
2 7 1 Crystal Stabilization
17
2 7 2 UART Power-Up
17
2 7 3 FDC Power-Up
17
3 0 FDC REGISTER DESCRIPTION
17
3 1 Status Register A (SRA)
18
3 1 1 SRA
PS 2 Mode
19
3 1 2 SRA
Model 30 Mode
19
3 2 Status Register B (SRB)
19
3 2 1 SRB
PS 2 Mode
19
3 2 2 SRB
Model 30 Mode
19
3 3 Digital Output Register (DOR)
20
3 4 Tape Drive Register (TDR)
20
3 5 Main Status Register (MSR)
20
3 6 Data Rate Select Register (DSR)
21
3 7 Data Register (FIFO)
22
3 8 Digital Input Register (DIR)
22
3 8 1 DIR
PC-AT Mode
22
3 8 2 DIR
PS 2 Mode
22
3 8 3 DIR
Model 30 Mode
22
3 9 Configuration Control Register (CCR)
23
3 9 1 CCR
PC-AT and PS 2 Modes
23
3 9 2 CCR
Model 30 Mode
23
3 10 Result Phase Status Registers
23
3 10 1 Status Register 0 (ST0)
23
3 10 2 Status Register 1 (ST1)
23
3 10 3 Status Register 2 (ST2)
24
3 10 4 Status Register 3 (ST3)
24
4 0 FDC COMMAND SET DESCRIPTION
24
4 1 Command Set Summary
24
4 2 Command Description
28
4 2 1 Configure Command
28
4 2 2 Dumpreg Command
29
4 2 3 Format Track Command
29
4 2 4 Invalid Command
32
4 2 5 Lock Command
32
4 2 6 Mode Command
32
4 2 7 NSC Command
33
4 2 8 Perpendicular Mode Command
33
4 2 9 Read Data Command
34
4 2 10 Read Deleted Data Command
36
4 2 11 Read ID Command
36
4 2 12 Read A Track Command
36
4 2 13 Recalibrate Command
36
4 2 14 Relative Seek Command
36
4 2 15 Scan Commands
37
4 2 16 Seek Command
37
4 2 17 Sense Drive Status Command
37
4 2 18 Sense Interrupt Command
37
4 2 19 Set Track Command
38
4 2 20 Specify Command
38
4 2 21 Verify Command
39
4 2 22 Version Command
39
4 2 23 Write Data Command
39
4 2 24 Write Deleted Data Command
40
5 0 FDC FUNCTIONAL DESCRIPTION
40
5 1 Microprocessor Interface
40
5 2 Modes of Operation
41
5 3 Controller Phases
41
5 3 1 Command Phase
41
5 3 2 Execution Phase
41
5 3 2 1 DMA Mode
FIFO Disabled
41
5 3 2 2 DMA Mode
FIFO Enabled
42
5 3 2 3 Interrupt Mode
FIFO Disabled
42
5 3 2 4 Interrupt Mode
FIFO Enabled
43
5 3 2 5 Software Polling
43
5 3 3 Result Phase
43
5 3 4 Idle Phase
43
5 3 5 Drive Polling Phase
43
5 4 Data Separator
43
5 5 Crystal Oscillator
45
5 6 Perpendicular Recording Mode
46
5 7 Data Rate Selection
47
5 8 Write Precompensation
47
5 9 FDC Low Power Mode Logic
47
5 10 Reset Operation
47
6 0 SERIAL PORTS
48
6 1 Introduction
48
6 2 PC87311A Serial Ports
48
6 2 1 Serial Port Registers
48
6 2 2 Line Control Register (LCR)
48
6 2 3 Programmable Baud Rate Generator
51
6 2 4 Line Status Register (LSR)
51
6 2 5 Interrupt Identification Register (IIR)
52
6 2 6 Interrupt Enable Register (IER)
52
6 2 7 MODEM Control Register (MCR)
52
6 2 8 MODEM Status Register (MSR)
53
6 2 9 Scratchpad Register (SCR)
53
6 3 PC87312 Serial Ports
53
6 3 1 Serial Port Registers
53
6 3 2 Line Control Register (LCR)
53
6 3 3 Programmable Baud Rate Generator
56
2
Table of Contents
6 3 4 Line Status Register (LSR)
56
6 3 5 FIFO Control Register (FCR)
57
6 3 6 Interrupt Identification Register (IIR)
57
6 3 7 Interrupt Enable Register (IER)
57
6 3 8 MODEM Control Register (MCR)
58
6 3 9 MODEM Status Register (MSR)
59
6 3 10 Scratchpad Register (SCR)
59
7 0 PARALLEL PORT
59
7 1 Introduction
59
7 2 Data Register (DTR)
60
7 3 Status Register (STR)
60
7 4 Control Register (CTR)
60
8 0 INTEGRATED DEVICE ELECTRONICS
INTERFACE (IDE)
61
8 1 Introduction
61
8 2 IDE Signals
61
9 0 DEVICE DESCRIPTION
62
9 1 DC Electrical Characteristics
62
9 2 AC Electrical Characteristics
64
9 2 1 AC Test Conditions
64
9 2 2 Clock Timing
64
9 2 3 Microprocessor Interface Timing
65
9 2 4 Baudout Timing
66
9 2 5 Transmitter Timing
67
9 2 6 Receiver Timing
68
9 2 7 MODEM Control Timing
69
9 2 8 DMA Timing
70
9 2 9 Reset Timing
71
9 2 10 Write Data Timing
71
9 2 11 Drive Control Timing
72
9 2 12 Read Data Timing
72
9 2 13 IDE Timing
72
9 2 14 Parallel Port Timing
73
10 0 REFERENCE SECTION
74
10 1 Mnemonic Definitions for FDC Commands
74
10 2 Example Four Drive Circuit
Using the PC87311A 12
75
List of Figures
FIGURE 2-1
PC87311A 87312 Configuration Registers
12
FIGURE 3-1
FDC Functional Block Diagram
18
FIGURE 4-1
IBM Perpendicular and ISO Formats Supported by Format Command
30
FIGURE 5-1
FDC Data Separator Block Diagram
44
FIGURE 5-2
PC87311A 87312 Dynamic Window Margin Performance
45
FIGURE 5-3
Read Data Algorithm
State Diagram
46
FIGURE 5-4
Perpendicular Recording Drive R W Head and Pre-Erase Head
46
FIGURE 6-1
PC87311A Composite Serial Data
48
FIGURE 6-2
PC87312 Composite Serial Data
54
FIGURE 9-1
Clock Timing
64
FIGURE 9-2
Microprocessor Read Timing
65
FIGURE 9-3
Microprocessor Write Timing
66
FIGURE 9-4
Baudout Timing
66
FIGURE 9-5
Transmitter Timing
67
FIGURE 9-6a
Receiver Timing
68
FIGURE 9-6b
PC87312 FIFO Mode Receiver Timing
68
FIGURE 9-6c
PC87312 Timeout Receiver Timing
69
FIGURE 9-7
MODEM Control Timing
69
FIGURE 9-8
DMA Timing
70
FIGURE 9-9
Reset Timing
71
FIGURE 9-10
Write Data Timing
71
FIGURE 9-11
Drive Control Timing
72
FIGURE 9-12
Read Data Timing
72
FIGURE 9-13
IDE Timing
72
FIGURE 9-14
Parallel Port Interrupt Timing (Compatible Mode)
73
FIGURE 9-15
Parallel Port Interrupt Timing (Extended Mode)
73
FIGURE 9-16
Typical Parallel Port Data Exchange
73
FIGURE 10-1
PC87311A 87312 Four Floppy Drive Circuit
75
FIGURE 10-2
IDE Interface Signal Equations
75
FIGURE 10-3
PC87311A 87312 Adapter Card Schematic
76
3
List of Tables
TABLE 2-1
Default Configurations Controlled by Hardware
13
TABLE 2-2
Index and Data Register Optional Locations
14
TABLE 2-3
Primary and Secondary Drive Address Selection
15
TABLE 2-4
Encoded Drive and Motor Pin Information
15
TABLE 2-5
Parallel Port Addresses
16
TABLE 2-6a
COM Port Selection for UART1
16
TABLE 2-6b
COM Port Selection for UART2
16
TABLE 2-7
Address Selection for COM3 and COM4
16
TABLE 3-1
Register Description and Addresses
18
TABLE 3-2
Drive Enable Values
20
TABLE 3-3
Tape Drive Assignment Values
20
TABLE 3-4
Write Precompensation Delays
21
TABLE 3-5
Default Precompensation Delays
21
TABLE 3-6
Data Rate Select Encoding
22
TABLE 4-1
Typical Format Gap Length Values
31
TABLE 4-2
DENSEL Encoding
33
TABLE 4-3
DENSEL Default Encoding
33
TABLE 4-4
Effect of Drive Mode and Data Rate on Format and Write Commands
34
TABLE 4-4a
Effect of GAP and WG on Format and Write Commands
34
TABLE 4-5
Sector Size Selection
34
TABLE 4-6
SK Effect on Read Data Command
35
TABLE 4-7
Result Phase Termination Values with No Error
35
TABLE 4-8
SK Effect on Read Deleted Data Command
36
TABLE 4-9
Maximum Recalibrate Step Pulses Based on R255 and ETR
36
TABLE 4-10
Scan Command Termination Values
37
TABLE 4-11
Status Register 0 Termination Codes
38
TABLE 4-12
Set Track Register Address
38
TABLE 4-13
Step Rate (SRT) Values
38
TABLE 4-14
Motor Off Time (MFT) Values
39
TABLE 4-15
Motor On Time (MNT) Values
39
TABLE 4-16
Verify Command Result Phase Table
40
TABLE 6-1
PC87311A UART Register Addresses (AEN
e
0)
48
TABLE 6-2
PC87311A Register Summary for an Individual UART Channel
49
TABLE 6-3
PC87311A UART Reset Configuration
50
TABLE 6-4
PC87311A UART Divisors Baud Rates and Clock Frequencies
51
TABLE 6-5
PC87311A Interrupt Control Functions
52
TABLE 6-6
PC87312 UART Register Addresses (AEN
e
0)
53
TABLE 6-7
PC87312 Register Summary for an Individual UART Channel
54
TABLE 6-8
PC87312 UART Reset Configuration
55
TABLE 6-9
PC87312 UART Divisors Baud Rates and Clock Frequencies
56
TABLE 6-10
PC87312 Interrupt Control Functions
58
TABLE 7-1
Parallel Interface Register Addresses
59
TABLE 7-2
Data Register Read and Write Modes
59
TABLE 7-3
Parallel Port Mode of Operation
59
TABLE 7-4
Parallel Port Reset States
60
TABLE 8-1
IDE Registers and Their ISA Addresses
61
TABLE 9-1
Nominal t
ICP
t
DRP
Values
64
TABLE 9-2
Minimum t
WDW
Values
71
TABLE 10-1
PC87311A 87312 Four Floppy Drive Encoding
75
4
Basic Configuration
TL F 11362 2
Note
PC87311A only
5