Standard Microsystems is a registered trademark of Standard Microsystems Corporation, and SMSC, ChiProtect, SuperCell and Multi-Mode are
trademarks of Standard Microsystems Corporation. Product names and company names are the trademarks of their respective holders. Circuit
diagrams utilizing SMSC products are included as a means of illustrating typical applications; consequently complete information sufficient for
construction purposes is not necessarily given. Although the information has been checked and is believed to be accurate, no responsibility is
assumed for inaccuracies. SMSC reserves the right to make changes to specifications and product descriptions at any time without notice. Contact
your local SMSC sales office to obtain the latest specifications before placing your product order. The provision of this information does not convey
to the purchaser of the semiconductor devices described any licenses under the patent rights of SMSC or others. All sales are expressly conditional
on your agreement to the terms and conditions of the most recently dated version of SMSC's standard Terms of Sale Agreement dated before the
date of your order (the "Terms of Sale Agreement"). The product may contain design defects or errors known as anomalies which may cause the
product's functions to deviate from published specifications. Anomaly sheets are available upon request. SMSC products are not designed,
intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or
severe property damage. Any and all such uses without prior written approval of an Officer of SMSC and further testing and/or modification will be
fully at the risk of the customer. Copies of this document or other SMSC literature, as well as the Terms of Sale Agreement, may be obtained by
visiting SMSC’s website at http://www.smsc.com.
SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT, AND ANY AND ALL WARRANTIES
ARISING FROM ANY COURSE OF DEALING OR USAGE OF TRADE.
IN NO EVENT SHALL SMSC BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES;
OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON
CONTRACT; TORT; NEGLIGENCE OF SMSC OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT
ANY REMEDY IS HELD TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
SMSC DS – FDC37N869Page 2Rev. 11/09/2000
GENERAL DESCRIPTION
The SMSC FDC37N869 is a 5v/3.3v PC 99-compliant Super I/O Controller with Infrared support. The FDC37N869
utilizes SMSC’s proven SuperCell technology and is optimized for motherboard applications. The FDC37N869
incorporates SMSC’s true CMOS 765B floppy disk controller, advanced digital data separator, 16-byte data FIFO,
two 16C550 compatible UARTs, one Multi-Mode parallel port with ChiProtect circuitry plus EPP and ECP support,
game port chip select logic and one floppy direct drive support. The FDC37N869 does not require any external
filter components, is easy to use and offers lower system cost and reduced board area. The FDC37N869 is
software and register compatible with SMSC’s proprietary 82077AA core.
The true CMOS 765B core provides 100% compatibility with IBM PC/XT and PC/AT architectures and provides data
overflow and underflow protection. The SMSC advanced digital data separator incorporates SMSC’s patented data
separator technology allowing for ease of testing and use. The FDC37N869 supports both 1Mbps and 2Mbps data
rates and vertical recording operation at 1Mbps Data Rate.
The FDC37N869 also features a full 16-bit internally decoded address bus, a Serial IRQinterface with PCI
nCLKRUN support, relocatable configuration ports and four DMA channel options.
Both on-chip UARTs are compatible with the NS16C550. One UART includes additional support for a Serial
Infrared Interface that complies with IrDA v1.2 (Fast IR), HPSIR, and ASKIR formats (used by Sharp, Apple Newton,
and other PDAs), as well as Consumer IR.
The parallel port and the game port select logic are compatible with IBM PC/AT architectures. The parallel port
ChiProtect circuitry prevents damage caused by an attached powered printer when the FDC37N869 is not
powered.
The FDC37N869 incorporates sophisticated power control circuitry (PCC). The PCC supports multiple low power
down modes. The FDC37N869 also features Software Configurable Logic (SCL) for ease of use. SCL allows
programmable system configuration of key functions such as the FDC, parallel port, and UARTs.
SMSC DS – FDC37N869Page 3Rev. 11/09/2000
TABLE OF CONTENTS
GENERAL DESCRIPTION ...................................................................................................................3
Table 1 - DESCRIPTION OF PIN FUNCTIONS
TQFP
PIN #NAMESYMBOL
46-49
Data Bus 0-7D0-D7IO12The data bus connection used by the host
51-54
42nI/O ReadnIORISThis active low signal is issued by the host
43nI/O WritenIOWISThis active low signal is issued by the host
44Address
AENISActive high Address Enable indicates DMA
Enable
26-32
39-41,
Address
Bus
A0-A15IThese host address bits determine the I/O
95,35,
36,1,
3,25
19,50,
97,17
DMA
Request
A, B, C, D
DRQ_A
DRQ_B
DRQ_C
DRQ_D
20,34,
94,22
nDMA
Acknowledge
A, B, C, D
33Terminal
nDACK_A
nDACK_B
nDACK_C
nDACK_D
TCISThis signal indicates that DMA data transfer is
Count
37Serial IRQSIRQIO12Serial IRQ pin used with the CLK33 pin to
38PCI ClockCLK33ICLK33MHz PCI clock input, used with the SIRQ and
55ResetRESET_
DRV
98I/O Channel
IOCHRDYOD12This pin is pulled low to extend the read/write
Ready
(Note4)
14nRead Disk
nRDATAISRaw serial bit stream from the disk drive, low
Data
BUFFER
6
MODE
DESCRIPTION
HOST PROCESSOR INTERFACE
microprocessor to transmit data to and from the
chip. These pins are in a high-impedance state
when not in the output mode.
microprocessor to indicate an I/O read
operation.
microprocessor to indicate an I/O write
operation.
operations on the host data bus. Used internally
to qualify appropriate address decodes.
address to be accessed during nIOR and nIOW
cycles. These bits are latched internally by the
leading edge of nIOR and nIOW. All internal
address decodes use the full A0 to A15 address
bits.
O12These active high outputs are the DMA request
for byte trans fers of data between the host and
the chip. These signals are cleared on the last
byte of the data transfer by the nDACK signal
going low (or by nIOR going low if nDACK was
already low as in demand mode).
ISThese are active low inputs acknowledging the
request for a DMA transfer of data between the
host and the chip. These inputs enable the DMA
read or write internally.
complete. TC is only accepted when nDACK_x
is low. In AT and PS/2 model 30 modes, TC is
active high and in PS/2 mode, TC is active low.
transfer FDC37N869 interrupts to the host.
the nCLKRUN pins to serially transfer
FDC37N869 interrupts to the host.
ISThis active high signal resets the chip and must
be valid for 500ns minimum. The effect on the
internal registers is described in the appropriate
section. The configuration registers are not
affected by this reset.
command. IOCHRDY can used by the IRCC and
by the Parallel Port in EPP mode.
FLOPPY DISK INTERFACE
active. Each falling edge represents a flux
transition of the encoded data.
SMSC DS – FDC37N869Page 9Rev. 11/09/2000
TQFP
PIN #NAMESYMBOL
8nWrite
nWGATE(O12/
Gate
BUFFER
MODE
OD12)
6
DESCRIPTION
This active low high current driver allows current
to flow through the write head. It becomes active
just prior to writing to the diskette.
7nWrite
Data
nWDATA(O12/
OD12)
This active low high current driver provides the
encoded data to the disk drive. Each falling
edge causes a flux transition on the media.
9nHead
Select
nHDSEL(O12/
OD12)
This high current output selects the floppy disk
side for reading or writing. A logic “1” on this pin
means side 0 will be accessed, while a logic “0”
means side 1 will be accessed.
5Direction
Control
nDIR(O12/
OD12)
This high current low active output determines
the direction of the head movement. A logic “1”
on this pin means outward motion, while a logic
“0” means inward motion.
6nStep Pulse nSTEP(O12/
OD12)
This active low high current driver issues a low
pulse for each track-to-track movement of the
head.
15Disk
Change
nDSKCHGISThis input senses that the drive door is open or
that the diskette has possibly been changed
since the last drive selection. This input is
inverted and read via bit 7 of I/O address 3F7H.
The nDSKCHG bit also depends upon the state
of the Force Disk Change bits in the Force FDD
Status Change configuration register (see
section CR17 on page 109).
2nDrive
Select 0
100nMotor On 0 nMTR0(O12/
nDS0(O12/
OD12)
Active low output selects drive 0.
These active low output selects motor drive 0.
OD12)
99Drive
Density 0
12nWrite
Protected
DRVDEN0(O12/
OD12)
Indicates the drive and media selected. Refer to
configuration registers CR03, CR0B, CR1F.
nWRTPRTISThis active low Schmitt Trigger input senses
from the disk drive that a disk is write protected.
Any write command is ignored. The nWRPRT bit
also depends upon the state of the Force Write
Protect bit in the Force FDD Status Change
configuration register (see section CR17 on
page 109).
11wTrack 00nTRK0ISThis active low Schmitt Trigger input senses
from the disk drive that the head is positioned
over the outermost track.
10nIndexnINDEXISThis active low Schmitt Trigger input senses
from the disk drive that the head is positioned
over the beginning of a track, as marked by an
index hole.
16Drive
Density 1
DRVDEN 1(O12/
OD12)
Indicates the drive and media selected. Refer to
configuration registers CR03, CR0B, CR1F.
SERIAL PORTS INTERFACE
86Receive
Data 2
87Transmit
Data 2
RXD2ISReceiver serial data input for port 2. IR Receive
Data
TXD2O12PDTransmit serial data output for port 2. IR
transmit data.
(Note5)
76Receive
RXD1IReceiver serial data input for port 1.
Data 1
SMSC DS – FDC37N869Page 10Rev. 11/09/2000
TQFP
PIN #NAMESYMBOL
77Transmit
TXD1O12Transmit serial data output for port 1.
Data 1
79,89nRequest to
nRTS1
Send
nRTS2
(System
(SYSOPT)
Option)
81,91nData
nDTR1
Terminal
Ready
80,90nClear to
nDTR2
nCTS1
Send
nCTS2
78,88nData Set
nDSR1
Ready
nDSR2
83,85nData
nDCD1
Carrier
Detect
nDCD2
BUFFER
6
MODE
DESCRIPTION
O6Active low Request to Send outputs for the Serial
Port. Handshake output signal notifies modem
that the UART is ready to transmit data. This
signal can be programmed by writing to bit 1 of
the Modem Control Register (MCR). The
hardware reset will reset the nRTS signal to
inactive mode (high). nRTS is forced inactive
during loop mode operation.
At the trailing edge of hardware reset the nRTS2
inputs is latched to determine the configuration
base address: 0 = INDEX Base I/O Address 3F0
Hex; 1 = INDEX Base I/O Address 370 Hex.
O6Active low Data Terminal Ready outputs for the
serial port. Handshake output signal notifies
modem that the UART is ready to establish data
communication link. This signal can be
programmed by writing to bit 0 of Modem Control
Register (MCR). The hardware reset will reset
the nDTR signal to inactive mode (high). nDTR
is forced inactive during loop mode operation.
IActive low Clear to Send inputs for the serial port.
Handshake signal which notifies the UART that
the modem is ready to receive data. The CPU
can monitor the status of nCTS signal by reading
bit 4 of Modem Status Register (MSR). A nCTS
signal state change from low to high after the
last MSR read will set MSR bit 0 to a 1. If bit 3 of
the Interrupt Enable Register is set, the interrupt
is generated when nCTS changes state. The
nCTS signal has no effect on the transmitter.
Note: Bit 4 of MSR is the complement of nCTS.
IActive low Data Set Ready inputs for the serial
port. Handshake signal which notifies the UART
that the modem is ready to establish the
communication link. The CPU can monitor the
status of nDSR signal by reading bit 5 of Modem
Status Register (MSR). A nDSR signal state
change from low to high after the last MSR read
will set MSR bit 1 to a 1. If bit 3 of Interrupt
Enable Register is set, the interrupt is generated
when nDSR changes state. Note: Bit 5 of MSR
is the complement of nDSR.
IActive low Data Carrier Detect inputs for the
serial port. Handshake signal which notifies the
UART that carrier signal is detected by the
modem. The CPU can monitor the status of
nDCD signal by reading bit 7 of Modem Status
Register (MSR). A nDCD signal state change
from low to high after the last MSR read will set
MSR bit 3 to a 1. If bit 3 of Interrupt Enable
Register is set, the interrupt is generated when
nDCD changes state. Note: Bit 7 of MSR is the
complement of nDCD.
SMSC DS – FDC37N869Page 11Rev. 11/09/2000
TQFP
PIN #NAMESYMBOL
82,84nRing
nRI1
Indicator
nRI2
BUFFER
MODE
I
(Note1)
6
DESCRIPTION
Active low Ring Indicator inputs for the serial
port. Handshake signal which notifies the UART
that the telephone ring signal is detected by the
modem. The CPU can monitor the status of nRI
signal by reading bit 6 of Modem Status Register
(MSR). A nRI signal state change from low to
high after the last MSR read will set MSR bit 2 to
a 1. If bit 3 of Interrupt Enable Register is set,
the interrupt is generated when nRI changes
state. Note: Bit 6 of MSR is the complement of
nRI.
TQFP
PIN #NAMESYMBOL
71nPrinter
nSLCT
Select
Input/FDC
nStep
Pulse
(Note3)
72nInitiate
nSTEP
nINIT
Output/
FDC
nDirection
Control
(Note3)
74nAutofeed
nDIR
nAUTOFD
Output/
FDC
nDensity
Select
(Note3)
nDENSEL
75nStrobe
nSTROBE
Output/
FDC
nDrive
Select 0
(Note3)
nDS0
59Busy/
BUSY
FDC
nMotor On
1
nMTR1
BUFFER
6
MODE
DESCRIPTION
PARALLEL PORT INTERFACE (NOTE 2)
(OD14/OP14)/OD12 This active low output selects the printer.
This is the complement of bit 3 of the
Printer Control Register.
Refer to Parallel Port description for use
of this pin in ECP and EPP mode.
See FDC Pin definition.
(OD14/OP14)/OD12 This output is bit 2 of the printer control
register. This is used to initiate the printer
when low.
Refer to Parallel Port description for use
of this pin in ECP and EPP mode.
See FDC Pin definition.
(OD14/OP14)/OD12 This output goes low to cause the printer
to automatically feed one line after each
line is printed. The nAUTOFD output is
the complement of bit 1 of the Printer
Control Register.
Refer to Parallel Port description for use
of this pin in ECP and EPP mode.
See FDC Pin definition.
(OD14/OP14)/OD12 An active low pulse on this output is used
to strobe the printer data into the printer.
The nSTROBE output is the complement
of bit 0 of the Printer Control Register.
Refer to Parallel Port description for use
of this pin in ECP and EPP mode.
See FDC Pin definition.
I/OD12This is a status output from the printer, a
high indicating that the printer is not ready
to receive new data. Bit 7 of the Printer
Status Register is the complement of the
BUSY input. Refer to Parallel Port
description for use of this pin in ECP and
EPP mode.
See FDC Pin definition.
SMSC DS – FDC37N869Page 12Rev. 11/09/2000
TQFP
PIN #NAMESYMBOL
60nAcknowl-
nACK
edge/FDC
nDrive
Select 1
BUFFER
6
MODE
I/OD12A low active output from the printer
indicating that it has received the data and
is ready to accept new data. Bit 6 of the
Printer Status Register reads the nACK
input. Refer to Parallel Port description for
nDS1
use of this pin in ECP and EPP mode.
See FDC Pin definition.
58Paper End/
FDC
nWrite
Data
PE
I/OD12Another status output from the printer, a
high indicating that the printer is out of
paper. Bit 5 of the Printer Status Register
reads the PE input. Refer to Parallel Port
description for use of this pin in ECP and
nWRDATA
EPP mode.
See FDC Pin definition.
57Printer
Selected
Status/
FDC
nWrite
Gate
73nError/FDC
nHead
Select
SLCT
nWGATE
nERROR
I/OD12This high active output from the printer
indicates that it has power on. Bit 4 of the
Printer Status Register reads the SLCT
input. Refer to Parallel Port description for
use of this pin in ECP and EPP mode.
See FDC Pin definition.
I/OD12A low on this input from the printer
indicates that there is a error condition at
the printer. Bit 3 of the Printer Status
register reads the nERR input. Refer to
Parallel Port description for use of this pin
nHDSEL
in ECP and EPP mode.
See FDC Pin definition.
69Port Data
PD0
IOP14/ISPort Data 0
0/FDC
nIndex
68Port Data
nINDEX
PD1
See FDC Pin definition.
IOP14/ISPort Data 1
1/FDC
nTrack 0
67Port Data
nTRK0
PD2
See FDC Pin definition.
IOP14/ISPort Data 2
2/FDC
nWrite
nWRTPRT
See FDC Pin definition.
Protected
66Port Data
PD3
IOP14/ISPort Data 3
3/FDC
nRead
nRDATA
See FDC Pin definition.
Disk Data
64Port Data
PD4
IOP14/ISPort Data 4
4/FDC
nDisk
nDSKCHG
See FDC Pin definition.
Change
63Port Data 5 PD5IOP14Port Data 5
62Port Data
PD6
IOP14/ OD12Port Data 6
6/FDC
nMotor On
nMTR0
See FDC Pin definition.
0
61Port Data 7 PD7IOP14Port Data 7
DESCRIPTION
SMSC DS – FDC37N869Page 13Rev. 11/09/2000
TQFP
STBY
PIN #NAMESYMBOL
BUFFER
MODE
6
ALTERNATE IR PINS/MISC
1814.318 MHz
Input Clock
CLK14ICLKThe external connection to a single source 14.318
MHz clock.
23IR Receive 2IRRX2ISIR Receive input
DESCRIPTION
24IR Transmit 2
IRTX2O12PDIR transmit output
(Note5)
92Address X/
PCI Clock
Controller
nADRX/
nCLKRU
N
OD12/
IOD12
The active-low address decoder output nADRX can
be asserted on 1, 8, or 16-byte address
boundaries (an external pull-up is required). Refer
to configuration registers CR03, CR08, and CR09
for more information.nCLKRUN is used to
indicate the PCI clock status and to request that a
stopped clock be started.
21IR Mode/ IR
Receive 3
IRMODE/
IRRX3
O6/ISIR mode
IR Receive 3
56Power Good/
nGame Port
Chip Select
PWRGD
I/O4This active high input indicates that the power
(VCC) is valid. For device operation PWRGD must
be active. When PWRGD is inactive, all inputs are
disconnected and put into a low power mode; all
outputs are put into high impedance. The contents
of all registers are preserved as long as VCC is
valid. The output driver current drain when
PWRGD is inactive mode drops to I
current.
nGAMEC
S
This is the Game Port Chip Select output - active
low. It will go active when the I/O address, qualified
by AEN, matches that selected in Configuration
register CR1E.
96External
Interrupt
IRQINISThis pin is used to steer an interrupt signal from
an external device onto one of 15 IRQs.
Input
POWER INTERFACE
13,70PowerVCCPositive Supply Voltage. (5V or 3.3V)
4,45,
GroundVSSGround Supply.
65,93
- standby
Note 1:nRI and the UART interrupts are active when PWRGD is active and the UARTS are either fully powered
or in AUTOPOWER DOWN mode.
Note 2:The FDD output pins multiplexed in the PARALLEL PORT INTERFACE are OD drivers only and are not
affected by the FDD Output Driver Controls (see section CR05 on page 108).
Note 3:Active (push-pull) output drivers are required on these pins in the enhanced parallel port
modes.
Note 4:An external pull-up must be provided for IOCHRDY.
Note 5:The pull-down on this pin is always active including when the output driver is tristated and regardless of
the state of PWRGD.
Note 6:Buffer Modes describe the pad driver properties per function. Buffer Modes on multiplexed pins are
separated by a slash “/”. For example, the Buffer Modes for a multiplexed pin with two functions where
the primary function is an input and the secondary function is an 8mA bidirectional driver is “I/IO8”.
Buffer Modes in parenthesis represent multiple Buffer Modes for a single pin function.
SMSC DS – FDC37N869Page 14Rev. 11/09/2000
Buffer Type Summary
Table 2 below describes the buffer types shown in Table 1. All values are specified at V
= +3.3v, ±10%
cc
Table 2 - FDC37N869 Buffer Type Summary (See Note)
BUFFER TYPEDESCRIPTION
IO12Input/Output. 12mA sink; 6mA source
O12Output. 12mA sink; 6mA source
O12PDOutput. 12mA sink; 6mA source with 30µa pull-down
ICLKInput to Crystal Oscillator Circuit (TTL levels)
IInput TTL Compatible
ISInput with Schmitt Trigger
IOD12Input/Open Drain Output. 12mA sink
Note: These are minimum ratings guaranteed at 5V and 3.3V.
Output Drivers
Active output drivers in the FDC37N869 will always achieve the minimum specified DC Electrical Characteristics
shown in Table 120.
Note: If there is a pull-up on an external node driven by an active output driver the FDC37N869 may sink current
from the pull-up through the low impedance source.
Table 3 shows the addresses of the various device blocks of the Super I/O immediately after power up. The base
addresses must be set in the configuration registers before accessing these devices. The base addresses of the
FDC, Serial and Parallel Ports can be moved via the configuration registers.
Host Processor Interface
The host processor communicates with the FDC37N869 using the Super I/O registers. Register access is
accomplished through programmed I/O or DMA transfers. All registers are 8 bits wide. All host interface output
buffers are capable of sinking a minimum of 12 mA.
Table 3 - FDC37N869 Block Addresses
ADDRESSBLOCK NAMENOTES
3F0, 3F1 or 370, 371ConfigurationWrite only; Note 1
Base +[0:7]Floppy DiskDisabled at power up; Note 2
Base +[0:7]Serial Port Com 1Disabled at power up; Note 2
Base1 +[0:7]
Base2 +[0:7]
Base +[0:3] all modes
Base +[4:7] for EPP
Base +[400:403] for ECP
Serial Port Com 2
Parallel PortDisabled at power up; Note 2
Disabled at power up; Note 2
Note 1: Configuration registers can only be modified in the configuration state, refer to section CONFIGURATION
on page 101 for more information. All logical blocks in the FDC37N869 can operate normally in the Configuration
State.
Note 2: The base addresses must be set in the configuration registers before accessing the logical device
blocks.
FLOPPY DISK CONTROLLER
The Floppy Disk Controller (FDC) provides the interface between a host microprocessor and the floppy disk drives.
The FDC integrates the functions of the Formatter/Controller, Digital Data Separator, Write Precompensation and
Data Rate Selection logic for an IBM XT/AT compatible FDC. The true CMOS 765B core guarantees 100% IBM PC
XT/AT compatibility in addition to providing data overflow and underflow protection.
The FDC37N869 is compatible with the 82077AA using SMSC’s proprietary floppy disk controller core. For
information about the floppy disk on the Parallel Port pins refer to section Parallel Port Floppy Disk Controller on
page 57.
Modes Of Operation
The FDC37N869 Floppy Disk Controller has two Floppy modes and three Interface modes. Each of the three
Interface modes are available in each of the two Floppy modes.
Floppy Modes
The Floppy modes are used to select alternate configurations for the Tape Drive register. The active Floppy mode
is determined by the Enhanced Floppy Mode 2 bit in Configuration Register 3 (see section CR03 on page 106).
When the Enhanced Floppy Mode 2 bit is 0 Normal Floppy mode is selected, otherwise Enhanced Floppy Mode 2
(OS/2 mode) is selected. See section TAPE DRIVE REGISTER (TDR) on page 24 for the affects of the EnhancedFloppy Mode 2 bit on the Tape Drive register.
SMSC DS – FDC37N869Page 17Rev. 11/09/2000
Interface Modes
The Interface modes are determined by the MFM and IDENT configuration bits in Configuration Register 3 (see
section CR03 on page 106).
PC/AT Interface Mode
When both IDENT and MFM are high the PC/AT register set is enabled, the DMA enable bit of the Digital Output
Register becomes valid, FINTR and DRQ can be hi-Z, and TC and DENSEL become active high.
PS/2 Interface Mode
When IDENT is low and MFM is high PS/2 Interface mode is selected. This mode supports the PS/2 models
50/60/80 configuration and register set. The DMA bit of the Digital Output Register becomes a “don’t care,” FINTR
and DRQ are always valid, TC and DENSEL become active low.
Model 30 Interface Mode
When both IDENT and MFM are low Model 30 Interface Mode is selected. This mode supports PS/2 Model 30
configuration and register set. The DMA enable bit of the Digital Output Register becomes valid, FINTR and DRQ
can be hi-Z, TC is active high and DENSEL is active low.
Floppy Disk Controller Internal Registers
The Floppy Disk Controller contains eight internal registers that provide the interface between the host
microprocessor and the floppy disk drives. Table 4 shows the addresses required to access these registers.
Registers other than the ones shown are not supported.
Table 4 - Status, Data and Control Registers
BASE I/O
ADDRESSREGISTER
+0
+1
+2
+3
+4
+4
+5
+6
+7
+7
R
R
R/W
R/W
R
W
R/W
R
W
Status Register A
Status Register B
Digital Output Register
Tape Drive Register
Main Status Register
Data Rate Select Register
Data (FIFO)
Reserved
Digital Input Register
Configuration Control Register
SRA
SRB
DOR
TDR
MSR
DSR
FIFO
DIR
CCR
STATUS REGISTER A (SRA)
Status Register A (Base Address + 0) monitors the state of the FINTR pin and several disk interface pins in PS/2
interface mode (Table 5) and Model 30 interface mode (Table 6). SRA is read-only and can be accessed at any
time when in these modes. During a read in the PC/AT interface mode the data bus pins D0 - D7 are held in a
high impedance state.
SMSC DS – FDC37N869Page 18Rev. 11/09/2000
PS/2 Interface Mode
Table 5 - SRA PS/2 Mode
76543210
INT
nDRV2STEPnTRK0HDSELnINDXnWPDIR
PENDING
RESET
010N/A0N/AN/A0
CONDITION
Direction, Bit 0
Active high status indicating the direction of head movement. A logic “1” indicating inward direction, a logic “0”
outward.
nWRITE PROTECT, Bit 1
Active low status of the WRITE PROTECT disk interface input. A logic “0” indicating that the disk is write protected.
The nWRITE PROTECT bit also depends upon the state of the Force Write Protect bits in the Force FDD Status
Change configuration register (see section CR17 on page 109).
nINDEX, Bit 2
Active low status of the INDEX disk interface input.
Head Select, Bit 3
Active high status of the HDSEL disk interface input. A logic “1” selects side 1 and a logic “0” selects side 0.
nTRACK 0, Bit 4
Active low status of the TRK0 disk interface input.
Step, Bit 5
Active high status of the STEP output disk interface output pin.
nDRV2, Bit 6
The nDRV2 bit is always “1”.
Interrupt Pending, Bit 7
Active high bit indicating the state of the Floppy Disk Interrupt output.
SMSC DS – FDC37N869Page 19Rev. 11/09/2000
PS/2 Model 30 Interface Mode
Table 6 - SRA PS/2 Model 30 Mode
76543210
INT
DRQSTEP F/FTRK0nHDSELINDXWPnDIR
PENDING
RESET
000N/A1N/AN/A1
CONDITION
nDIRECTION, Bit 0
Active low status indicating the direction of head movement. A logic “0” indicating inward direction a logic “1”
outward.
Write Protect, Bit 1
Active high status of the WRITE PROTECT disk interface input. A logic “1” indicating that the disk is write protected.
The nWRITE PROTECT bit also depends upon the state of the Force Write Protect bits in the Force FDD Status
Change configuration register (see section CR17 on page 109).
Index, Bit 2
Active high status of the INDEX disk interface input.
nHEAD SELECT, Bit 3
Active low status of the HDSEL disk interface input. A logic “0” selects side 1 and a logic “1” selects side 0.
Track, Bit 4
Active high status of the TRK0 disk interface input.
Step, Bit 5
Active high status of the latched STEP disk interface output pin. This bit is latched with the STEP output going
active, and is cleared with a read from the DIR register, or with a hardware or software reset.
DMA Request, Bit 6
Active high status of the DRQ output pin. Interrupt Pending, Bit 7 Active high bit indicating the state of the Floppy
Disk Interrupt output.
SMSC DS – FDC37N869Page 20Rev. 11/09/2000
STATUS REGISTER B (SRB)
Status Register B (Base Address + 1) is read-only and monitors the state of several disk interface pins in PS/2
interface mode (Table 7) and Model 30 interface mode (Table 8). SRB can be accessed at any time when in these
modes. During a read in PC/AT interface mode the data bus pins D0 - D7 are held in a high impedance state.
PS/2 Interface Mode
Table 7 - SRB PS/2 Mode
76543210
RESET
11DRIVE
SEL0
11000000
WDATA
TOGGLE
RDATA
TOGGLE
WGATE MOT EN1 MOT EN0
CONDITION
Motor Enable 0, Bit 0
Active high status of the MTR0 disk interface output pin. This bit is low after a hardware reset and unaffected by a
software reset.
Motor Enable 1, Bit 1
Active high status of the MTR1 disk interface output pin. This bit is low after a hardware reset and unaffected by a
software reset.
Write Gate, Bit 2
Active high status of the WGATE disk interface output.
Read Data Toggle, Bit 3
Every inactive edge of the RDATA input causes this bit to change state.
Write Data Toggle, Bit 4
Every inactive edge of the WDATA input causes this bit to change state.
Drive Select 0, Bit 5
Reflects the status of the Drive Select 0 bit of the DOR (address 3F2 bit 0). This bit is cleared after a hardware
reset, it is unaffected by a software reset.
Reserved, Bits 6 - 7
Always read as a logic “1”.
SMSC DS – FDC37N869Page 21Rev. 11/09/2000
PS/2 Model 30 Interface Mode
Table 8 - SRB PS/2 Model 30 Mode
76543210
nDRV2nDS1nDS0WDATA F/F RDATA F/FWGATE
nDS3nDS2
F/F
RESET
N/A1100011
CONDITION
nDRIVE SELECT 2, Bit 0
Active low status of the DS2 disk interface output.
nDRIVE SELECT 3, Bit 1
Active low status of the DS3 disk interface output.
Write Gate, Bit 2
Active high status of the latched WGATE output signal. This bit is latched by the active going edge of WGATE and is
cleared by the read of the DIR register.
Read Data, Bit 3
Active high status of the latched RDATA output signal. This bit is latched by the inactive going edge of RDATA and
is cleared by the read of the DIR register.
Write Data, Bit 4
Active high status of the latched WDATA output signal. This bit is latched by the inactive going edge of WDATA and
is cleared by the read of the DIR register. This bit is not gated with WGATE.
nDRIVE SELECT 0, Bit 5
Active low status of the DS0 disk interface output.
nDRIVE SELECT 1, Bit 6
Active low status of the DS1 disk interface output.
nDRV2, Bit 7
The nDRV2 bit is always “1”.
SMSC DS – FDC37N869Page 22Rev. 11/09/2000
DIGITAL OUTPUT REGISTER (DOR)
The Digital Output register (Base Address + 2) controls the drive select and motor enables of the disk interface
outputs (Table 9 and Table 10). The DOR also contains the DMA logic enable and a software reset bit. The DOR
is read/write and unaffected by a software reset.
Table 9 - Digital Output Register
76543210
RESET
MOT EN3 MOT EN2 MOT EN1 MOT EN0 DMAEN nRESETDRIVE
SEL1
00000000
DRIVE
SEL0
CONDITION
DOR Bit Descriptions
DRIVE SELECT, Bits 0 - 1
These two bits are binary encoded for the four drive selects DS0-DS3, there by allowing only one drive to be
selected at one time.
nRESET, Bit 2
A logic “0” written to this bit resets the Floppy disk controller. This reset will remain active until a logic “1” is written
to this bit. This software reset does not affect the DSR and CCR registers, nor does it affect the other bits of the
DOR register. The minimum reset duration required is 100ns, therefore toggling this bit by consecutive writes to
this register is a valid method of issuing a software reset.
DMAEN, Bit 3
PC/AT and Model 30 Interface Mode
In PC/AT and Model 30 mode writing this bit to logic “1” will enable the DRQ, nDACK, TC and FINTR outputs. This
bit being a logic “0” will disable the nDACK and TC inputs, and hold the DRQ and FINTR outputs in a high
impedance state. In PC/AT and Model 30 mode the DMAEN bit is a logic “0” after a reset.
PS/2 Interface Mode
In PS/2 mode the DRQ, nDACK, TC and FINTR pins are always enabled. During a reset the DRQ, nDACK, TC, and
FINTR pins will remain enabled, but the DMAEN bit will be cleared to a logic “0”.
MOTOR ENABLE 0, Bit 4
This bit controls the MTR0 disk interface output. A logic “1” in this bit will cause the output pin to go active.
MOTOR ENABLE 1, Bit 5
This bit controls the MTR1 disk interface output. A logic “1” in this bit will cause the output pin to go active.
MOTOR ENABLE 2, Bit 6
The MOTOR ENABLE 2 bit controls the MTR2 disk interface output. A logic “1” in this bit will cause the output pin to
go active.
MOTOR ENABLE 3, Bit 7
The MOTOR ENABLE 3 bit controls the MTR3 disk interface output. A logic “1” in this bit causes the output to go
active.
The Tape Drive register (Base Address + 3) is included for 82077 software compatibility and allows the user to
assign tape support to a particular drive during initialization. Any future reference to that drive automatically invokes
tape support. The Tape Select bits TDR.[1:0] determine the tape drive number. Table 12 illustrates the Tape Select
bit encoding. Note that drive 0 is the boot device and cannot be assigned tape support.
The encoding of the TDR depends on the Floppy mode (see section Floppy Modes on page 17). The TDR is
unaffected by a software reset.
Table 12 - Tape Select Bits
TAPE SEL1
(TDR.1)
TAPE SEL0
(TDR.0)
DRIVE
SELECTED
00NONE
011
102
113
Normal Floppy Mode
In Normal mode the TDR contains only bits 0 and 1 (Table 13). During a read in Normal mode TDR bits 2 - 7 are
high impedance. The Tape Select Bits are Read/Write.
The configuration of the TDR in the Enhanced Floppy Mode 2 (OS/2 mode) is shown in Table 14.
Table 14 - TDR Enhanced Floppy Mode 2
DB7DB6DB5DB4DB3DB2DB1DB0
TDRReservedDrive Type ID
Floppy Boot DriveTape
Sel1
Tape
Sel0
Reserved, Bits 6 - 7
Bits 6 and 7 are RESERVED. Reserved bits cannot be written and return 0 when read.
Drive Type ID, Bits 4 - 5
The Drive Type ID bits depend on the last drive selected in the Digital Output Register and the Drive Type IDs that
are programmed in configuration register 6 (Table 15).
Table 15 - Drive Type ID
DIGITAL OUTPUT REGISTERTDR - DRIVE TYPE ID
Bit 1Bit 0Bit 5Bit 4
00CR6 - Bit 1CR6 - Bit 0
01CR6 - Bit 3CR6 - Bit 2
10CR6 - Bit 5CR6 - Bit 4
11CR6 - Bit 7CR6 - Bit 6
Floppy Boot Drive, Bits 2 - 3
The Floppy Boot Drive bits come from Configuration Register 7: TDR Bit 3 = CR7 Bit 1; TDR Bit 2 = CR7 Bit 0.
Tape Drive Select, Bits 0 - 1
The Tape Drive Select bits are the same as in Normal mode. These bits are Read/Write.
MAIN STATUS REGISTER (MSR)
The Main Status Register (Base Address + 4: Read-only) indicates the status of the disk controller ( Table 16). The
Main Status Register is valid in all modes and can be read at any time. The MSR indicates when the disk
controller is ready to receive data via the Data Register. It should be read before transferring each byte to or from
the data register, except in DMA mode. No delay is required when reading the MSR after a data transfer.
Table 16 - Main Status Register
76543210
MSRRQMDIONON DMACMD
BUSY
DRV3
BUSY
DRV2
BUSY
DRV1
BUSY
DRV0
BUSY
DRVx Busy, Bits 0 - 3
These bits are set to a “1” when a drive is in the seek portion of a command, including implied and overlapped
seeks and recalibrates.
SMSC DS – FDC37N869Page 25Rev. 11/09/2000
Command Busy, Bit 4
This bit is set to a “1” when a command is in progress. This bit will go active after the command byte has been
accepted and goes inactive at the end of the results phase. If there is no result phase (Seek, Recalibrate
commands), this bit is returned to a “0” after the last command byte.
Non-DMA, Bit 5
This mode is selected in the SPECIFY command and will be set to a “1” during the execution phase of a
command. This is for polled data transfers and helps to differentiate between the data transfer phase and the
reading of result bytes.
DIO, Bit 6
Indicates the direction of a data transfer once an RQM is set. A “1” indicates a read and a “0” indicates a write is
required.
RQM, Bit 7
Indicates that the host can transfer data if set to a “1”. No access is permitted if set to a “0”.
DATA RATE SELECT REGISTER (DSR)
The Data Rate Select Register (Base Address + 4: Write-only) is used to program the data rate, amount of write
precompensation, power down status, and software reset (Table 17). Note: the data rate is programmed using
the Configuration Control Register (CCR) not the DSR, for PC/AT and PS/2 Model 30 and Microchannel
applications. Other applications can set the data rate in the DSR. The data rate of the floppy controller is the most
recent write of either the DSR or CCR. The DSR is unaffected by a software reset. A hardware reset will set the
DSR to 02H, which corresponds to the default precompensation setting and 250 Kbps.
Table 17 - Data Rate Select Register
76543210
RESET
S/W
RESET
00000010
POWER
DOWN
0PRE-
COMP2
PRE-
COMP1
PRE-
COMP0
DRATE
SEL1
DRATE
SEL0
CONDITION
Data Rate Select, Bits 0 - 1
These bits control the data rate of the floppy controller. See Table 19 for the settings corresponding to the
individual data rates. The data rate select bits are unaffected by a software reset and are set to 250 Kbps after a
hardware reset.
Precompensation Select, Bits 2 - 4
These three bits select the value of write precompensation that will be applied to the WDATA output signal.
Table 18 shows the precompensation values for the combination of these bits settings. Track 0 is the default
starting track number to start precompensation. The starting track number can be changed using the Configure
command.
Undefined, Bit 5
Should be written as a logic “0”.
SMSC DS – FDC37N869Page 26Rev. 11/09/2000
Low Power, Bit 6
A logic “1” written to this bit will put the floppy controller into Manual Low Power mode. The floppy controller clock
and data separator circuits will be turned off. The controller will come out of manual low power mode after a
software reset or following access to the Data Register or Main Status Register.
Software Reset, Bit 7
This active high bit has the same function as the DOR RESET (DOR bit 2) except that this bit is self clearing.
The Data Register (Base Address + 5) is used to transfer all command parameter information, disk data and
result status between the host processor and the floppy disk controller. The Data Register is Read/Write. Data
transfers are governed by the RQM and DIO bits in the Main Status Register.
The Data Register defaults to FIFO disabled mode after any form of reset. This maintains PC/AT hardware
compatibility. The default values can be changed through the Configure command (enable full FIFO operation with
threshold control). The advantage of the FIFO is that it allows the system a larger DMA latency without causing a
disk error.
Table 22 gives several examples of service delays with a FIFO. The data is based upon the following formula:
Threshold# × (8 ÷ Data Rate) - 1.5µS = DELAY
At the start of a command the FIFO action is always disabled and command parameters must be sent based upon
the RQM and DIO bit settings. As the command execution phase is entered, the FIFO is cleared of any data to
ensure that invalid data is not transferred.
An overrun or underrun will terminate the current command and the transfer of data. 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.
Table 22 - Example FIFO Service Delays
EXAMPLE DATA RATES
FIFO
THRESHOLD
2Mbps1Mbps500Kbps
EXAMPLES
1 byte1 x 4µs - 1.5µs = 2.5µs1 x 8µs - 1.5µs = 6.5µs1 x 16µs - 1.5µs = 14.5µs
2 bytes2 x 4µs - 1.5µs = 6.5µs2 x 8µs - 1.5µs = 14.5µs2 x 16µs - 1.5µs = 30.5µs
8 bytes8 x 4µs - 1.5µs = 30.5µs8 x 8µs - 1.5µs = 62.5µs8 x 16µs - 1.5µs = 126.5µs
15 bytes15 x 4µs - 1.5µs = 58.5µs15 x 8µs - 1.5µs = 118.5µs15 x 16µs - 1.5µs = 238.5µs
DIGITAL INPUT REGISTER (DIR)
The Digital Input Register (Bass Address + 7: Read-only) is read-only in all modes. Table 23 shows the DIR in
PC/AT mode, Table 24 shows the DIR in PS/2 mode, and Table 25 shows the DIR in Model 30 mode.
PC-AT Interface Mode
Table 23 - DIR PC/AT Interface Mode
76543210
DSK CHG
RESET
N/AN/AN/AN/AN/AN/AN/AN/A
CONDITION
Undefined, Bits 0 - 6
The data bus outputs D0 - 6 will remain in a high impedance state during a read of this register.
DSK CHG, Bit 7
The DSK CHG bit monitors the state of the pin of the same name and reflects the opposite value seen on the disk
cable. The DSK CHG bit also depends upon the Force Disk Change bits in the Force FDD Status Change register
(see section CR17 on page 109).
SMSC DS – FDC37N869Page 29Rev. 11/09/2000
PS/2 Interface Mode
Table 24 - DIR PS/2 Interface Mode
76543210
RESET
DSK CHG1111DRATE
SEL1
N/AN/AN/AN/AN/AN/AN/A1
DRATE
SEL0
nHIGH
DENS
CONDITION
nHIGH DENS, Bit 0
This bit is low whenever the 500 Kbps or 1 Mbps data rates are selected, and high when 250 Kbps and 300 Kbps
are selected.
Data Rate Select, Bits 1 - 2
These bits control the data rate of the floppy controller. See Table 19 for the settings corresponding to the
individual data rates. The data rate select bits are unaffected by a software reset, and are set to 250 Kbps after a
hardware reset.
Undefined, Bits 3 - 6
Always read as a logic “1”
DSK CHG, Bit 7
The DSK CHG bit monitors the pin of the same name and reflects the opposite value seen on the disk cable. The
DSK CHG bit also depends upon the Force Disk Change bits in the Force FDD Status Change register (see
section CR17 on page 109).
Model 30 Interface Mode
Table 25 - DIR Model 30 Interface Mode
76543210
DSK CHG000DMAENNOPREC DRATE SEL1 DRATE SEL0
RESET
N/A0000010
CONDITION
Data Rate Select, Bits 0 - 1
These bits control the data rate of the floppy controller. See Table 19 for the settings corresponding to the
individual data rates. The data rate select bits are unaffected by a software reset, and are set to 250kb/s after a
hardware reset
Noprec, Bit 2
This bit reflects the value of the NOPREC bit set in the CCR register.
DMAEN, Bit 3
This bit reflects the value of DMAEN bit set in the DOR register bit 3.
Undefined, Bits 4 - 6
Always read as a logic “0”
SMSC DS – FDC37N869Page 30Rev. 11/09/2000
Loading...
+ 117 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.