07/20/97 0.60 Explanation of OnNow/ security wake-up
03/19/98 0.62 Typo correction and data calibrated
on
Version
on Web
Main Contents
functions; Repagenating
9
10
Please note that all data and specifications are subject to change without notice. All
the trade marks of products and companies mentioned in this data sheet belong to
their respective owners.
LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or
systems where malfunction of these products can reasonably be expected to result
in personal injury. Winbond customers using or selling these products for use in such
applications do so at their own risk and agree to fully indemnify Winbond for any
damages resulting from such improper use or sales.
W83977TF
TABLE OF CONTENTS
GENERAL DESCRIPTION.......................................................................................................1
1.8 POWER PINS.............................................................................................................................................16
14.1 PARALLEL PORT EXTENSION FDD.................................................................................................147
14.2 PARALLEL PORT EXTENSION 2FDD...............................................................................................147
14.3 FOUR FDD MODE..................................................................................................................................148
The W83977TF is an evolving product from Winbond's most popular I/O chip W83877F --- which
integrates the disk drive adapter, serial port (UART), IrDA 1.0 SIR, parallel port, configurable plug-and-
play registers for the whole chip --- plus additional powerful features:
with PS/2 mouse support, 23 general purpose I/O ports, full 16-bit address decoding, OnNow keyboard
wake-up, OnNow mouse wake-up.
The disk drive adapter functions of W83977TF include a floppy disk drive controller compatible with the
industry standard 82077/ 765, data separator, write pre-compensation circuit, decode logic, data rate
selection, clock generator, drive interface control logic, and interrupt and DMA logic. The wide range of
functions integrated into the W83977TF greatly reduces the number of components required for
interfacing with floppy disk drives. The W83977TF supports four 360K, 720K, 1.2M, 1.44M, or 2.88M
disk drives and data transfer rates of 250 Kb/s, 300 Kb/s, 500 Kb/s,1 Mb/s, and 2 Mb/s.
The W83977TF provides two high-speed serial communication ports (UARTs), one of which supports
serial Infrared communication. Each UART includes a 16-byte send/receive FIFO, a programmable
baud rate generator, complete modem control capability, and a processor interrupt system. Both
UARTs provide legacy speed with baud rate up to 115.2k bps and also advanced speed with baud rates
230k, 460k
of
The W83977TF supports one PC-compatible printer port (SPP), Bi-directional Printer port (BPP) and
also Enhanced Parallel Port (EPP) and Extended Capabilities Port (ECP). Through the printer port
interface pins, also available are: Extension FDD Mode and Extension 2FDD Mode allowing one or two
external floppy disk drives to be connected.
The configuration registers support mode selection, function enable/disable, and power down function
selection. Furthermore, the configurable PnP features are compatible with the plug-and-play feature
demand of Windows 95TM, which makes system resource allocation more efficient than ever.
W83977TF provides functions that comply with
which includes support of legacy and ACPI power management through
W83977TF also has auto power management to reduce power consumption.
The keyboard controller is based on 8042 compatible instruction set with a 2K Byte programmable ROM
and a 256-Byte RAM bank. Keyboard BIOS firmware is available with optional AMIKEY
MultiKey/42TM, or customer code.
The W83977TF provides a set of flexible I/O control functions to the system designer through a set of
General Purpose I/O ports. These GPIO ports may serve as simple I/O or may be individually
configured to provide a predefined alternate function.
W83977TF is made to fully comply with
I/O space resource are flexible to adjust to meet ISA PnP requirement. Moreover W83977TF is made to
meet the specification of PC97's requirement in the power management:
Power Management).
Another benifit is that W83977TF has the same pin assignment as W83977AF, W83977F, W83977ATF.
This makes the design very flexible.
921k bps
, or
which support higher speed modems.
ACPI (Advanced Configuration and Power Interface
Microsoft PC97 Hardware Design Guide
ACPI
, 8042 keyboard controller
or
ACPI
function pins.
TM
. IRQs, DMAs, and
DPM
and
-
2, Phoenix
(Device
),
Publication Release Date: April 1998
-1- Preliminary Revision 0.62
W83977TF
SCI
PRELIMINARY
FEATURES
General
•
Plug & Play 1.0A compatible
• Support 13 IRQs, 4 DMA channels, full 16-bit address decoding
•
Capable of ISA Bus IRQ Sharing
•
Compliant with
•
Support
•
Report ACPI status interrupt by
• Programmable configuration settings
•
Single 24/48 Mhz clock input
FDC
•
Compatible with IBM PC AT disk drive systems
•
Variable write pre-compensation with track selectable capability
• Support vertical recording format
•
DMA enable logic
•
16-byte data FIFOs
•
Support floppy disk drives and tape drives
•
Detects all overrun and underrun conditions
•
Built-in address mark detection circuit to simplify the read electronics
•
FDD anti-virus functions with software write protect and FDD write enable signal (write data signal was
forced to be inactive)
•
Support up to four 3.5-inch or 5.25-inch floppy disk drives
•
Completely compatible with industry standard 82077
•
360K/720K/1.2M/1.44M/2.88M format; 250K, 300K, 500K, 1M, 2M bps data transfer rate
•
Support
Microsoft PC97
DPM
(Device Power Management),
3-mode FDD, and its Win95 driver
Hardware Design Guide
ACPI
signal issued from any of the 13 IQRs pins or GPIO xx
UART
•
Two high-speed 16550 compatible UARTs with 16-byte send/receive FIFOs
Note: Please refer to Section 11.2 DC CHARACTERISTICS for details.
I/O6t - TTL level bi-directional pin with 6 mA source-sink capability
I/O8t - TTL level bi-directional pin with 8 mA source-sink capability
I/O8 - CMOS level bi-directional pin with 8 mA source-sink capability
I/O
- TTL level bi-directional pin with 12 mA source-sink capability
12t
I/O12 - CMOS level bi-directional pin with 12 mA source-sink capability
I/O
- CMOS level bi-directional pin with 16 mA source-sink capability with internal pull-up resistor
16u
I/OD
- CMOS level bi-directional pin open drain output with 16 mA sink capability with internal pull-up resistor
16u
I/O
- TTL level bi-directional pin with 24 mA source-sink capability
24t
OUT8t - TTL level output pin with 8 mA source-sink capability
OUT
- TTL level output pin with 12 mA source-sink capability
12t
OD12 - Open-drain output pin with 12 mA sink capability
OD24 - Open-drain output pin with 24 mA sink capability
INt - TTL level input pin
INc - CMOS level input pin
INcu - CMOS level input pin with internal pull-up resitor
INcs - CMOS level Schmitt-triggered input pin
INts - TTL level Schmitt-triggered input pin
IN
- TTL level Schmitt-triggered input pin with internal pull-up resistor
tsu
PRELIMINARY
1.1 Host Interface
SYMBOL PIN I/O FUNCTION
I/O
I/O
IN
IN
System address bus bits 0-10
t
System address bus bits 11-14
t
System address bus bit 15
t
System data bus bits 0-5
12t
System data bus bits 6-7
12t
CPU I/O read signal
ts
CPU I/O write signal
ts
System address bus enable
ts
In EPP Mode, this pin is the IO Channel Ready output to extend
24
the host read/write cycle.
Master Reset; Active high; MR is low during normal operations.
General purpose I/O port 1bit 7. (CR2C bit 7_6 = 01)
12t
Alternate Function from GP17: Power LED output.
KBC P14 I/O port (CR2C bit 7_6 = 10)
12t
System Control Interrupt (CR2C bit 7_6 = 11)
12t
DMA Channel 1 Acknowledge signal
ts
DMA Channel 1 request signal
12t
DMA Channel 2 Acknowledge signal
ts
DMA Channel 2 request signal
12t
DMA Channel 3 Acknowledge signal
ts
DMA Channel 3 request signal
12t
Terminal Count. When active, this pin indicates termination of a
ts
119 IN
I/O
I/O
121 OUT
I/O
122 IN
GP16
(WDTO)
P15
DRQ0
GP17
(PLEDO)
P14
DRQ1 123 OUT
124 IN
DRQ2 125 OUT
126 IN
DRQ3 127 OUT
TC 128 IN
DMA transfer.
IRQ1 99 OUT
IRQ3 98 OUT
IRQ4 97 OUT
IRQ5 96 OUT
IRQ6 95 OUT
IRQ7 94 OUT
IRQ8 93 OUT
IRQ9 92 OUT
IRQ10 100 OUT
IRQ11 101 OUT
IRQ12 102 OUT
Interrupt request 1
12t
Interrupt request 3
12t
Interrupt request 4
12t
Interrupt request 5
12t
Interrupt request 6
12t
Interrupt request 7
12t
Interrupt request 8
12t
Interrupt request 9
12t
Interrupt request 10
12t
Interrupt request 11
12t
Interrupt request 12
12t
PRELIMINARY
Publication Release Date: April 1998
-6- Revision 0.62
W83977TF
GPACS
GPAWE
SMI
SMI
SCI
PANSWOUT
PANSWIN
1.1 Host Interface, continued
SYMBOL PIN I/O FUNCTION
IRQ14 103 OUT
GP14 I/O
(
)
Alternate Function 1 from GP14: General purpose address
Interrupt request 14. (CR2C bit 1_0 = 00, default)
12t
General purpose I/O port 1 bit 4. (CR2C bit 1_0 = 01)
12t
decode output.
(P17)
PLEDO OUT
IRQ15
GP15
(
)
(P12)
WDT
CLKIN 1 IN
Alternate Function 2 from GP14: KBC P17 I/O port.
Power LED output. (CR2C bit 1_0 = 10)
12t
104 OUT
I/O
Interrupt request 15.(CR2C bit 3_2 = 00, default)
12t
General purpose I/O port 1 bit 5. (CR2C bit 3_2 = 01)
12t
Alternate Function 1 from GP15: General purpose address write
enable output.
Alternate Function 2 from GP15: KBC P12 I/O port. OUT
Watch-Dog timer output. (CR2C bit 3_2 = 10)
12t
24 or 48 MHz clock input, selectable through bit 5 of CR24.
t
1.2 General Purpose I/O Port
SYMBOL PIN I/O FUNCTION
GP20
(KBRST)
GP21
69 I/O
70 OUT
I/O
(P13) Alternate Function from GP21: KBC P13 I/O port.
P16
I/O
72 OUT
GP22
(P14)
GP23
(P15)
Alternate Function from GP22: KBC P14 I/O port.
73 IN
Alternate Function from GP23: KBC P15 I/O port
GP24 40 I/O
(P16) Alternate Function from GP24: KBC P16 I/O port
P13
GP25
(GA20)
39 I/O
Alternate Function from GP25: GATE A20 (KBC P21)
I/O
I/O
I/O
General purpose I/O port 2 bit 0.
12t
Alternate Function from GP20: Keyboard reset (KBC P20)
12t
For the power management, the
is active low by the power
management events, that generate and
(CR2B bit 4_3 = 00, default)
General purpose I/O port 2 bit 1. (CR2B bit 4_3 = 01)
12t
KBC P16 I/O port. (CR2B bit 4_3 = 10)
12t
Panel Switch output. (CR2B bit 5 = 0, default)
12t
General purpose I/O port 2 bit 2. (CR2B bit 5 = 1)
12t
Panel Switch input. (CR2B bit 7_6 = 00, default)
12t
General purpose I/O port 2 bit 3. (CR2B bit 7_6 = 01)
12t
General purpose I/O port 2 bit 4 (CR2A bit 5_4 = 01)
12t
KBC P13 I/O port. (CR2A bit 5_4 = 10)
12t
General purpose I/O port 2 bit 5.
12
in ACPI mode.
PRELIMINARY
Publication Release Date: April 1998
-7 - Revision 0.62
W83977TF
CTSA
CTSB
DSRA
DSRB
RTSA
RTSB
DTRA
PNPCSV
PNPCSV
PNPCSV
DTRB
DCDA
DCDB
1.3 Serial Port Interface
SYMBOL PIN I/O FUNCTION
HEFRAS
41
48
42
49
43
During power-on reset, this pin is pulled down internally and is
50
44
IN
IN
I/O
I/O
I/O
Clear To Send is the modem control input.
t
The function of these pins can be tested by reading Bit 4 of the
handshake status register.
Data Set Ready. An active low signal indicates the modem or data
t
set is ready to establish a communication link and transfer data to
the UART.
UART A Request To Send. An active low signal informs the
8t
modem or data set that the controller is ready to send data.
defined as HEFRAS, which provides the power-on value for CR26
bit 6 (HEFRAS). A 4.7 kΩ is recommended if intends to pull up.
(select 370H as configuration I/O port′s address)
UART B Request To Send. An active low signal informs the
8t
modem or data set that the controller is ready to send data.
UART A Data Terminal Ready. An active low signal informs the
8t
modem or data set that the controller is ready to communicate.
During power-on reset, this pin is pulled down internally and is
defined as
bit 0 (
, which provides the power-on value for CR24
). A 4.7 kΩ is recommended if intends to pull up.
(clear the default value of FDC, UARTs, and PRT)
PRELIMINARY
51
SINA
SINB
SOUTA
45, 52
46
PENKBC
I/O
IN
I/O
UART B Data Terminal Ready. An active low signal informs the
8t
modem or data set that controller is ready to communicate.
Serial Input. Used to receive serial data through the
t
communication link.
UART A Serial Output. Used to transmit serial data out to the
8t
communication link.
During power-on reset, this pin is pulled down internally and is
defined as PENKBC, which provides the power-on value for CR24
bit 2 (ENKBC). A 4.7 kΩ resistor is recommended if intends to pull
up. (enable KBC)
SOUTB
PEN48
53
I/O
UART B Serial Output. During power-on reset, this pin is pulled
8t
down internally and is defined as PEN48, which provides the
power-on value for CR24 bit 6 (EN48). A 4.7 kΩ resistor is
recommended if intends to pull up.
47
54
IN
Data Carrier Detect. An active low signal indicates the modem or
t
data set has detected a data carrier.
Publication Release Date: April 1998
-8- Revision 0.62
W83977TF
RIA RIB
WE2
WE2
WD2
WD
WD2
PRELIMINARY
1.3 Serial Port Interface, continued
SYMBOL PIN I/O FUNCTION
65
66
IN
Ring Indicator. An active low signal indicates that a ring signal is
t
being received from the modem or data set.
1.4 Infrared Interface
SYMBOL PIN I/O FUNCTION
IRRX 37 IN
IRTX 38 OUT
Infrared Receiver input.
cs
Infrared Transmitter Output.
12t
1.5 Multi-Mode Parallel Port
The following pins have alternate functions, which are controlled by CR28 and L3-CRF0.
SYMBOL PIN I/O FUNCTION
PRINTER MODE: SLCT
SLCT 18 IN
OD
OD
PE
19 IN
OD
OD
t
An active high input on this pin indicates that the printer is selected.
This pin is pulled high internally. Refer to description of the
parallel port for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE:
12
This pin is for Extension FDD B; its function is the same as the WE
pin of FDC.
EXTENSION 2FDD MODE:
12
This pin is for Extension FDD A and B; it function is the same as
the WE pin of FDC.
PRINTER MODE: PE
t
An active high input on this pin indicates that the printer has
detected the end of the paper. This pin is pulled high internally.
Refer to description of the parallel port for definition of this pin in
ECP and EPP mode.
12
EXTENSION FDD MODE:
This pin is for Extension FDD B; its function is the same as the
12
pin of FDC.
EXTENSION 2FDD MODE:
This pin is for Extension FDD A and B; its function is the same as
the WD pin of FDC.
Publication Release Date: April 1998
-9 - Revision 0.62
W83977TF
MOB2
MOB
MOB2
MOB
ACK
ACK
DSB2
DSB
DSB2
DSB
ERR
ERR
HEAD
2
HEAD
HEAD
2
HEAD
1.5 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
BUSY
21 IN
22 IN
34
PRINTER MODE: BUSY
t
OD
OD
OD
OD
IN
OD
OD
An active high input indicates that the printer is not ready to receive
data. This pin is pulled high internally. Refer to description of the
parallel port for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE:
12
This pin is for Extension FDD B; the function of this pin is the same
as the
12
EXTENSION 2FDD MODE:
pin of FDC.
This pin is for Extension FDD A and B; the function of this pin is the
same as the
t
PRINTER MODE:
pin of FDC.
An active low input on this pin indicates that the printer has
received data and is ready to accept more data. This pin is pulled
high internally. Refer to description of the parallel port for
definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE:
12
This pin is for the Extension FDD B; its functions is the same as the
pin of FDC.
EXTENSION 2FDD MODE:
12
This pin is for Extension FDD A and B; it functions is the same as
the
t
PRINTER MODE:
pin of FDC.
An active low input on this pin indicates that the printer has
encountered an error condition. This pin is pulled high internally.
Refer to description of the parallel port for definition of this pin in
ECP and EPP mode.
EXTENSION FDD MODE:
12
This pin is for Extension FDD B; its function is the same as the
12
pin of FDC.
EXTENSION 2FDD MODE:
This pin is for Extension FDD A and B; its function is the same as
the
pin of FDC.
PRELIMINARY
Publication Release Date: April 1998
-10- Revision 0.62
W83977TF
SLIN
SLIN
STEP
2
STEP
STEP
2
STEP
INIT
INIT
DIR2
DIR
DIR2
DIR
AFD
AFD
1.5 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
32 OD
33 OD
35 OD
12
PRINTER MODE:
Output line for detection of printer selection. This pin is pulled high
OD
OD
OD
OD
OD
OD
internally. Refer to description of the parallel port for definition of
this pin in ECP and EPP mode.
EXTENSION FDD MODE:
12
This pin is for Extension FDD B; its function is the same as the
pin of FDC.
EXTENSION 2FDD MODE:
12
This pin is for Extension FDD A and B; its function is the same as
the
12
PRINTER MODE:
pin of FDC.
Output line for the printer initialization. This pin is pulled high
internally. Refer to description of the parallel port for definition of
this pin in ECP and EPP mode.
EXTENSION FDD MODE:
12
This pin is for Extension FDD B; its function is the same as the
pin of FDC.
EXTENSION 2FDD MODE:
12
This pin is for Extension FDD A and B; its function is the same as
the
12
PRINTER MODE:
pin of FDC.
An active low output from this pin causes the printer to auto feed a
line after a line is printed. This pin is pulled high internally. Refer
to description of the parallel port for definition of this pin in ECP and
EPP mode.
EXTENSION FDD MODE: DRVDEN0
12
This pin is for Extension FDD B; its function is the same as the
DRVDEN0 pin of FDC.
EXTENSION 2FDD MODE: DRVDEN0
12
This pin is for Extension FDD A and B; its function is the same as
the DRVDEN0 pin of FDC.
PRELIMINARY
Publication Release Date: April 1998
-11 - Revision 0.62
W83977TF
STB
STB
INDEX
2
INDEX
INDEX
2
INDEX
TRAK
02
TRAK
0
TRAK
02
TRAK
0
WP2
WP2
1.5 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
36 OD
12
PRINTER MODE:
An active low output is used to latch the parallel data into the
printer. This pin is pulled high internally. Refer to description of the
parallel port for definition of this pin in ECP and EPP mode.
PD0
31 I/O
- EXTENSION FDD MODE: This pin is a tri-state output.
- EXTENSION 2FDD MODE: This pin is a tri-state output.
PRINTER MODE: PD0
24t
Parallel port data bus bit 0. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
IN
IN
t
EXTENSION FDD MODE:
This pin is for Extension FDD B; the function of this pin is the same
as the
t
EXTENSION 2FDD MODE:
pin of FDC. It is pulled high internally.
This pin is for Extension FDD A and B; the function of this pin is the
PD1
same as the
30 I/O
PRINTER MODE: PD1
24t
IN
IN
Parallel port data bus bit 1. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE:
t
This pin is for Extension FDD B; the function of this pin is the same
as the
EXTENSION. 2FDD MODE:
t
pin of FDC. It is pulled high internally.
pin of FDC. It is pulled high internally.
This pin is for Extension FDD A and B; the function of this pin is the
PD2
same as the
29 I/O
PRINTER MODE: PD2
24t
IN
IN
Parallel port data bus bit 2. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE:
t
This pin is for Extension FDD B; the function of this pin is the same
as the WP pin of FDC. It is pulled high internally.
EXTENSION. 2FDD MODE:
t
pin of FDC. It is pulled high internally.
This pin is for Extension FDD A and B; the function of this pin is the
same as the WP pin of FDC. It is pulled high internally.
PRELIMINARY
Publication Release Date: April 1998
-12- Revision 0.62
W83977TF
RDATA
2
RDATA
RDATA
2
RDATA
DSKCHG
2
DSKCHG
DSKCHG
2
DSKCHG
MOA2
MOA
1.5 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
PD3
28 I/O
IN
IN
24t
PRINTER MODE: PD3
Parallel port data bus bit 3. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
t
EXTENSION FDD MODE:
This pin is for Extension FDD B; the function of this pin is the same
as the
t
EXTENSION 2FDD MODE:
pin of FDC. It is pulled high internally.
This pin is for Extension FDD A and B; this function of this pin is the
PD4
same as the
27 I/O
IN
IN
24t
PRINTER MODE: PD4
Parallel port data bus bit 4. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE:
t
This pin is for Extension FDD B; the function of this pin is the same
as the
EXTENSION 2FDD MODE:
t
pin of FDC. It is pulled high internally.
pin of FDC. It is pulled high internally.
This pin is for Extension FDD A and B; this function of this pin is the
PD5
PD6
same as the
26 I/O
24 I/O
OD
-
-
-
PRINTER MODE: PD5
24t
Parallel port data bus bit 5. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE: This pin is a tri-state output.
EXTENSION 2FDD MODE: This pin is a tri-state output.
PRINTER MODE: PD6
24t
Parallel port data bus bit 6. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE: This pin is a tri-state output.
EXTENSION. 2FDD MODE:
24
This pin is for Extension FDD A; its function is the same as the
pin of FDC. It is pulled high internally.
pin of FDC.
PRELIMINARY
Publication Release Date: April 1998
-13 - Revision 0.62
W83977TF
DSA2
DSA
SCI
HEAD
WE
WD
STEP
DIR
MOB
DSA
DSB
1.5 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
PD7
23 I/O
OD
PRINTER MODE: PD7
24t
Parallel port data bus bit 7. Refer to description of the parallel port
for definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE: This pin is a tri-state output.
EXTENSION 2FDD MODE:
24
This pin is for Extension FDD A; its function is the same as the
pin of FDC.
1.6 FDC Interface
SYMBOL PIN I/O FUNCTION
DRVDEN0 2 OD
DRVDEN1
GP10
(IRQIN1)
P12
3 OD
IOAlternate Function from GP10: Interrupt channel input. IOOUT
5 OD
9 OD
10 OD
11 OD
12 OD
13 OD
14 OD
15 OD
Drive Density Select bit 0.
24
Drive Density Select bit 1. (CR2A bit 1_0 = 00, default)
24
General purpose I/O port 1 bit 0. (CR2A bit 1_0 = 01)
24t
KBC P12 I/O port. (CR2A bit 1_0 = 10)
24t
System Control Interrupt (CR2A bit 1_0 = 11)
12t
Head select. This open drain output determines which disk drive
24
head is active.
Logic 1 = side 0
Logic 0 = side 1
Write enable. An open drain output.
24
Write data. This logic low open drain writes pre-compensation
24
serial data to the selected FDD. An open drain output.
Step output pulses. This active low open drain output produces a
24
pulse to move the head to another track.
Direction of the head step motor. An open drain output.
24
Logic 1 = outward motion
Logic 0 = inward motion
Motor B On. When set to 0, this pin enables disk drive 1. This is
24
an open drain output.
Drive Select A. When set to 0, this pin enables disk drive A. This
24
is an open drain output.
Drive Select B. When set to 0, this pin enables disk drive B. This
24
is an open drain output.
PRELIMINARY
Publication Release Date: April 1998
-14- Revision 0.62
W83977TF
MOA
DSKCHG
RDATA
WP
TRAK0
INDEX
1.6 FDC Interface, continued
SYMBOL PIN I/O FUNCTION
Motor A On. When set to 0, this pin enables disk drive 0. This is
24
an open drain output.
Diskette change. This signal is active low at power on and
cs
whenever the diskette is removed. This input pin is pulled up
16 OD
4 IN
internally by a 1 KΩ resistor. The resistor can be disabled by bit 7
of L0-CRF0 (FIPURDWN).
6 IN
The read data input signal from the FDD. This input pin is pulled
cs
up internally by a 1 KΩ resistor. The resistor can be disabled by
bit 7 of L0-CRF0 (FIPURDWN).
7 IN
Write protected. This active low Schmitt input from the disk drive
cs
indicates that the diskette is write-protected. This input pin is
pulled up internally by a 1 KΩ resistor. The resistor can be
disabled by bit 7 of L0-CRF0 (FIPURDWN).
8 IN
Track 0. This Schmitt-triggered input from the disk drive is active
cs
low when the head is positioned over the outermost track. This
input pin is pulled up internally by a 1 KΩ resistor. The resistor
can be disabled by bit 7 of L0-CRF0 (FIPURDWN).
17 IN
This Schmitt-triggered input from the disk drive is active low when
cs
the head is positioned over the beginning of a track marked by an
index hole. This input pin is pulled up internally by a 1 KΩ resistor.
The resistor can be disabled by bit 7 of L0-CRF0 (FIPURDWN).
General purpose I/O port 1 bit 2. (CR2A bit 7 = 1)
12t
Publication Release Date: April 1998
-15 - Revision 0.62
W83977TF
1.7 KBC Interface, continued
SYMBOL PIN I/O FUNCTION
KBLOCK 58 IN
GP13 I/O
W83C45 KINH (P17) Input. (CR2B bit 0 = 0, default)
ts
General purpose I/O port 1 bit 3. (CR2B bit 0 = 1)
16t
1.8 POWER PINS
SYMBOL PIN FUNCTION
VCC 20, 55, 85,
115
VSB 71 +5V stand-by power supply for the digital circuitry
GND 25, 62, 90,
120
+5V power supply for the digital circuitry
Ground
1.9 ACPI Interface
SYMBOL PIN I/O FUNCTION
VBAT 64 NA
XTAL1 63 IN
XTAL2 61 O
battery voltage input
32.768Khz Clock Input
C
32.768Khz Clock Output
8t
PRELIMINARY
Publication Release Date: April 1998
-16- Revision 0.62
W83977TF
PRELIMINARY
2. FDC FUNCTIONAL DESCRIPTION
2.1 W83977TF FDC
The floppy disk controller of the W83977TF integrates all of the logic required for floppy disk control.
The FDC implements a PC/AT or PS/2 solution. All programmable options default to compatible
values. The FIFO provides better system performance in multi-master systems. The digital data
separator supports up to 2 M bits/sec data rate.
The FDC includes the following blocks: AT interface, Precompensation, Data Rate Selection, Digital
Data Separator, FIFO, and FDC Core.
2.1.1 AT interface
The interface consists of the standard asynchronous signals: RD, WR, A0-A3, IRQ, DMA control, and
a data bus. The address lines select between the configuration registers, the FIFO and control/status
registers. This interface can be switched between PC/AT, Model 30, or PS/2 normal modes. The PS/2
register sets are a superset of the registers found in a PC/AT.
2.1.2 FIFO (Data)
The FIFO is 16 bytes in size and has programmable threshold values. All command parameter
information and disk data transfers go through the FIFO. Data transfers are governed by the RQM and
DIO bits in the Main Status Register.
The FIFO defaults to disabled mode after any form of reset. This maintains PC/AT hardware
compatibility. The default values can be changed through the CONFIGURE command. The advantage
of the FIFO is that it allows the system a larger DMA latency without causing disk errors. The following
tables give several examples of the delays with a FIFO. The data are based upon the following formula:
THRESHOLD # × (1/DATA/RATE) *8 - 1.5 µS = DELAY
FIFO THRESHOLD MAXIMUM DELAY TO SERVICING AT 500K BPS
1 Byte
2 Byte
8 Byte
15 Byte
FIFO THRESHOLD MAXIMUM DELAY TO SERVICING AT 1M BPS
At the start of a command the FIFO is always disabled and command parameters must be sent based
upon the RQM and DIO bit settings in the main status register. When the FDC enters the command
execution phase, it clears the FIFO of any data to ensure that invalid data are not transferred.
An overrun and underrun will terminate the current command and the data transfer. Disk writes will
complete the current sector by generating a 00 pattern and valid CRC. Reads require the host to
remove the remaining data so that the result phase may be entered.
DMA transfers are enabled with the SPECIFY command and are initiated by the FDC by activating the
DRQ pin during a data transfer command. The FIFO is enabled directly by asserting
addresses need not be valid.
Note that if the DMA controller is programmed to function in verify mode a pseudo read is performed by
the FDC based only on
mode (FIFO disabled) and is programmed to do a read. With the FIFO enabled the above operation is
performed by using the new VERIFY command. No DMA operation is needed.
2.1.3 Data Separator
The function of the data separator is to lock onto the incoming serial read data. When a lock is achieved
the serial front end logic of the chip is provided with a clock which is synchronized to the read data. The
synchronized clock, called the Data Window, is used to internally sample the serial data portion of the
bit cell, and the alternate state samples the clock portion. Serial to parallel conversion logic separates
the read data into clock and data bytes.
The Digital Data Separator (DDS) has three parts: control logic, error adjustment, and speed tracking.
The DDS circuit cycles once every 12 clock cycles ideally. Any data pulse input will be synchronized and
then adjusted by immediate error adjustment. The control logic will generate RDD and RWD for every
pulse input. During any cycle where no data pulse is present, the DDS cycles are based on speed. A
digital integrator is used to keep track of the speed changes in the input data stream.
. This mode is only available when the FDC has been configured into byte
and
2.1.4 Write Precompensation
The write precompensation logic is used to minimize bit shifts in the RDDATA stream from the disk
drive. Shifting of bits is a known phenomenon in magnetic media and is dependent on the disk media
and the floppy drive.
The FDC monitors the bit stream that is being sent to the drive. The data patterns that require
precompensation are well known. Depending upon the pattern, the bit is shifted either early or late
relative to the surrounding bits.
2.1.5 Perpendicular Recording Mode
The FDC is also capable of interfacing directly to perpendicular recording floppy drives. Perpendicular
recording differs from the traditional longitudinal method in that the magnetic bits are oriented vertically.
This scheme packs more data bits into the same area.
FDCs with perpendicular recording drives can read standard 3.5" floppy disks and can read and write
perpendicular media. Some manufacturers offer drives that can read and write standard and
perpendicular media in a perpendicular media drive.
A single command puts the FDC into perpendicular mode. All other commands operate as they
normally do. The perpendicular mode requires a 1 Mbps data rate for the FDC. At this data rate the
FIFO eases the host interface bottleneck due to the speed of data transfer to or from the disk.
Publication Release Date: April 1998
-18- Revision 0.62
W83977TF
PRELIMINARY
2.1.6 FDC Core
The W83977TF FDC is capable of performing twenty commands. Each command is initiated by a multibyte transfer from the microprocessor. The result can also be a multi-byte transfer back to the
microprocessor. Each command consists of three phases: command, execution, and result.
Command
The microprocessor issues all required information to the controller to perform a specific operation.
Execution
The controller performs the specified operation.
Result
After the operation is completed, status information and other housekeeping information is provided to
the microprocessor.
2.1.7 FDC Commands
Command Symbol Descriptions:
C: Cylinder number 0 - 256
D: Data Pattern
DIR: Step Direction
DIR = 0, step out
DIR = 1, step in
DS0: Disk Drive Select 0
DS1: Disk Drive Select 1
DTL: Data Length
EC: Enable Count
EOT: End of Track
EFIFO: Enable FIFO
EIS: Enable Implied Seek
EOT: End of track
FIFOTHR: FIFO Threshold
GAP: Gap length selection
GPL: Gap Length
H: Head number
HDS: Head number select
HLT: Head Load Time
HUT: Head Unload Time
LOCK: Lock EFIFO, FIFOTHR, PTRTRK bits prevent affected by software reset
MFM: MFM or FM Mode
MT: Multitrack
N: The number of data bytes written in a sector
NCN: New Cylinder Number
ND: Non-DMA Mode
OW: Overwritten
PCN: Present Cylinder Number
POLL: Polling Disable
PRETRK: Precompensation Start Track Number
Publication Release Date: April 1998
-19 - Revision 0.62
W83977TF
W
W
PRELIMINARY
R: Record
RCN: Relative Cylinder Number
R/W: Read/Write
SC: Sector/per cylinder
SK: Skip deleted data address mark
SRT: Step Rate Time
ST0: Status Register 0
ST1: Status Register 1
ST2: Status Register 2
ST3: Status Register 3
WG: Write gate alters timing of WE
(1) Read Data
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W MT MFM SK 0 0 1 1 0 Command codes
W
W
W
Execution Data transfer between the
Result R
R
W 0 0 0 0 0 HDS DS1 DS0
W
W
R
R
R
R
R
---------------------- C ------------------------
---------------------- H ------------------------
---------------------- R ------------------------
---------------------- N ------------------------
-------------------- EOT -----------------------
-------------------- GPL -----------------------
-------------------- DTL -----------------------
-------------------- ST0 -----------------------
-------------------- ST1 -----------------------
-------------------- ST2 -----------------------
---------------------- C ------------------------
---------------------- H ------------------------
---------------------- R ------------------------
---------------------- N ------------------------
Sector ID information prior
to command execution
FDD and system
Status information after
command execution
Sector ID information after
command execution
Publication Release Date: April 1998
-20- Revision 0.62
W83977TF
W
W
W
PRELIMINARY
(2) Read Deleted Data
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W MT MFM SK 0 1 1 0 0 Command codes
W
W
Execution Data transfer between the
Result R
W 0 0 0 0 0 HDS DS1 DS0
---------------------- C ------------------------
W
W
R
---------------------- H ------------------------
---------------------- R ------------------------
---------------------- N ------------------------
-------------------- EOT -----------------------
-------------------- GPL -----------------------
-------------------- DTL -----------------------
-------------------- ST0 -----------------------
-------------------- ST1 -----------------------
Sector ID information prior
to command execution
FDD and system
Status information after
command execution
R
R
R
R
R
-------------------- ST2 -----------------------
---------------------- C ------------------------
---------------------- H ------------------------
---------------------- R ------------------------
---------------------- N ------------------------
Sector ID information after
command execution
Publication Release Date: April 1998
-21 - Revision 0.62
W83977TF
W
W
PRELIMINARY
(3) Read A Track
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 MFM 0 0 0 0 1 0 Command codes
W 0 0 0 0 0 HDS DS1 DS0 W
W
W
W
W
Execution
Result R
R
---------------------- C ------------------------
---------------------- H ------------------------
---------------------- R ------------------------
---------------------- N ------------------------
-------------------- EOT -----------------------
-------------------- GPL -----------------------
-------------------- DTL ----------------------- Data transfer between the
-------------------- ST0 -----------------------
-------------------- ST1 -----------------------
Sector ID information prior to
command execution
FDD and system; FDD reads
contents of all cylinders from
index hole to EOT
Status information after
command execution
R
R
R
R
R
-------------------- ST2 -----------------------
---------------------- C ------------------------
---------------------- H ------------------------
---------------------- R ------------------------
---------------------- N ------------------------
Sector ID information after
command execution
Publication Release Date: April 1998
-22- Revision 0.62
Loading...
+ 130 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.