FDC37C669 Standard Microsystems, FDC37C669 Datasheet

no-image

FDC37C669

Manufacturer Part Number
FDC37C669
Description
PC 98/99 compliant super I/O floppy disk controller
Manufacturer
Standard Microsystems
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
FDC37C669
Manufacturer:
SMSG
Quantity:
20 000
Part Number:
FDC37C669-MS
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
FDC37C669-MS
Manufacturer:
SMSC
Quantity:
20 000
Part Number:
FDC37C669-MT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
FDC37C669-MT
Manufacturer:
SMSC
Quantity:
12 059
Part Number:
FDC37C669FRQF
Manufacturer:
SMSC
Quantity:
267
Part Number:
FDC37C669FRQFP
Manufacturer:
SMSC
Quantity:
800
Part Number:
FDC37C669FRTQFP
Manufacturer:
SMSC
Quantity:
14 110
Part Number:
FDC37C669KQFP
Manufacturer:
SMSC
Quantity:
298
Part Number:
FDC37C669KQFP
Manufacturer:
SMSC
Quantity:
20 000
Part Number:
FDC37C669QF
Manufacturer:
SMSC
Quantity:
5 510
Part Number:
FDC37C669QFP
Manufacturer:
SMC
Quantity:
20 000
5 Volt Operation
Intelligent Auto Power Management
16 Bit Address Qualification (Optional)
2.88MB Super I/O Floppy Disk Controller
-
-
-
-
-
-
-
-
-
-
-
-
-
Floppy Disk Available on Parallel Port Pins
Enhanced Digital Data Separator
-
-
Serial Ports
-
-
-
-
-
Licensed CMOS 765B Floppy Disk Controller
Software and Register Compatible with SMSC's
Proprietary 82077AA Compatible Core
Supports Two Floppy Drives Directly
Supports Vertical Recording Format
16 Byte Data FIFO
100% IBM Compatibility
Detects All Overrun and Underrun Conditions
Sophisticated Power Control Circuitry (PCC)
Including Multiple Powerdown Modes for
Reduced Power Consumption
DMA Enable Logic
Data Rate and Drive Control Registers
Swap Drives A and B
Non-Burst Mode DMA option
48 Base I/O Address, Seven IRQ and Three
DMA Options
2 Mbps, 1 Mbps, 500 Kbps, 300 Kbps, 250 Kbps
Data Rates
Programmable Precompensation Modes
Two High Speed NS16C550 Compatible UARTs
with Send/Receive 16 Byte FIFOs
Supports 230k and 460k Baud
Programmable Baud Rate Generator
Modem Control Circuitry
Infrared - IrDA (HPSIR) and Amplitude Shift
Keyed IR (ASKIR)
FDC37C669-MT for 100 pin, TQFP Lead-Free RoHS Compliant Package
FDC37C669-MS for 100 pin, QFP Lead-Free RoHS Compliant Package
PC 98/99 Compliant Super I/O Floppy
Disk Controller with Infrared Support
FDC37C669TQFP for 100 pin, TQFP Package
FDC37C669QFP for 100 pin, QFP Package
ORDER NUMBER(S)
FEATURES
-
-
Multi-Mode Parallel Port with ChiProtect
-
-
-
-
-
-
-
ISA Host Interface
IDE Interface (Optional)
-
-
Game Port Select Logic
-
General Purpose Address Decoder
-
-
100 Pin QFP and TQFP Packages; Lead-Free RoHS
Compliant Packages also available
Alternate IR Pins (Optional)
96 Base I/O Address and Eight IRQ Options
Standard Mode
IBM PC/XT, PC/AT, and PS/2 Compatible
Bidirectional Parallel Port
Enhanced Parallel Port (EPP) Compatible
EPP 1.7 and EPP 1.9 (IEEE 1284 Compliant)
Enhanced Capabilities Port (ECP) Compatible
(IEEE 1284 Compliant)
Incorporates ChiProtect Circuitry for Protection
Against Damage Due to Printer Power-On
192 Base I/O Address, Seven IRQ and Three
DMA Options
On-Chip Decode and Select Logic Compatible
with IBM PC/XT and PC/AT Embedded Hard
Disk Drives
48 Base I/O Address and Seven IRQ Options
48 Base I/O Addresses
16 Byte Block decode
48 Base I/O Address Options
FDC37C669

Related parts for FDC37C669

FDC37C669 Summary of contents

Page 1

... Modem Control Circuitry - Infrared - IrDA (HPSIR) and Amplitude Shift Keyed IR (ASKIR) FDC37C669QFP for 100 pin, QFP Package FDC37C669-MS for 100 pin, QFP Lead-Free RoHS Compliant Package FDC37C669TQFP for 100 pin, TQFP Package FDC37C669-MT for 100 pin, TQFP Lead-Free RoHS Compliant Package FEATURES - ...

Page 2

FEATURES.................................................................................................................................................................. 1 GENERAL DESCRIPTION .......................................................................................................................................... 3 PIN CONFIGURATION ................................................................................................................................................. 4 DESCRIPTION OF PIN FUNCTIONS........................................................................................................................... 6 FUNCTIONAL DESCRIPTION................................................................................................................................... 17 SUPER I/O REGISTERS .......................................................................................................................................17 HOST PROCESSOR INTERFACE ....................................................................................................................... 17 FLOPPY DISK CONTROLLER ............................................................................................................................. 18 FLOPPY DISK CONTROLLER INTERNAL REGISTERS ......................................................................................18 COMMAND SET/DESCRIPTIONS ...

Page 3

... The SMSC FDC37C669 PC 95 Compatible Super I/O Floppy Disk Controller with Infrared Support utilizes SMSC's proven SuperCell technology for increased product reliability and functionality. The FDC37C669 is PC95 compliant and is optimized for motherboard applications. The FDC37C669 supports both 1 Mbps and 2 Mbps data rates and vertical vertical recording operation at 1 Mbps Data Rate ...

Page 4

... RXD2/IRRX 89 TXD2/IRTX nDSR2 90 nRTS2 91 nCTS2 92 nDTR2 93 DRV2/ADRX/IRQ_B 94 95 VSS nDACK_C 96 97 A10 DRQ_C IOCHRDY 100 PIN CONFIGURATION FDC37C669 100 PIN QFP VSS 46 AEN 45 nIOW 44 nIOR IRQ_F 40 IRQ_E 39 IRQ_D 38 IRQ_C 37 36 ...

Page 5

... DRVDEN0 1 nMTR0 2 nDS1 3 nDS0 4 nMTR1 5 VSS 6 nDIR 7 nSTEP 8 nWDATA 9 FDC37C669 nWGATE 10 nHDSEL 11 nINDEX 12 nTRK0 100 PIN TQFP 13 nWRTPRT 14 VCC 15 nRDATA 16 nDSKCHG 17 DRVDEN1 18 IRQ_A 19 CLK14 20 DRQ_A 21 nDACK_A 22 IRQIN 23 nIDEEN/IRQ_H 24 nHDCS0/IRRX2 ...

Page 6

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL HOST PROCESSOR INTERFACE 48-51 Data Bus 0-7 D0-D7 53-56 44 nI/O Read nIOR 45 nI/O Write nIOW 46 Address Enable AEN 28-34 I/O Address A0-A10 41-43, 97 21,52, DMA Request ...

Page 7

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL 19, Interrupt Request IRQ_A 37-40 IRQ_C E, F, IRQ_D IRQ_E IRQ_F 27 Chip Select Input nCS 57 Reset RESET 16 nRead Disk Data nRDATA 10 nWrite nWGATE ...

Page 8

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL 8 nStep Pulse nSTEP 17 Disk Change nDSKCHG 4,3 nDrive Select O,1 nDS0,1 2,5 nMotor On 0,1 nMTR0,1 1 DRVDEN0 DRVDEN0 14 nWrite nWRTPRT Protected 13 wTrack 00 nTRK00 12 ...

Page 9

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL 81,91 nRequest to nRTS1 Send nRTS2 (SYSOPT) (System Option) 83,93 nData Terminal nDTR1 Ready nDTR2 82,92 nClear to Send nCTS1 nCTS2 BUFFER TYPE DESCRIPTION O4 Active low Request to Send ...

Page 10

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL 80,90 nData Set Ready nDSR1 nDSR2 85,87 nData Carrier nDCD1 Detect nDCD2 84,86 nRing Indicator nRI1 nRI2 PARALLEL PORT INTERFACE BUFFER TYPE DESCRIPTION I Active low Data Set Ready inputs ...

Page 11

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL 73 nPrinter Select nSLCTIN Input 74 nInitiate Output nINIT 76 nAutofeed Output nAUTOFD 77 nStrobe Output nSTROBE 61 Busy BUSY 62 nAcknowledge nACK BUFFER TYPE DESCRIPTION OD24 This active low ...

Page 12

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL 60 Paper End PE 59 Printer Selected SLCT Status 75 nError nERROR 63-66 Port Data PD0-PD7 68-71 100 IOCHRDY IOCHRDY 24 nIDE Enable nIDEEN Interrupt Request IRQ_H H BUFFER TYPE ...

Page 13

Chip nHDCS0 Select 0 IRRX2 IRRX2 26 nIDE Chip nHDCS1 Select 1 IR Transmit 2 IRTX2 20 CLOCK 14 CLK14 O24P This is the Hard (Note 1) corresponding to the eight control block addresses. I Alternate IR Receive ...

Page 14

DESCRIPTION OF PIN FUNCTIONS QFP/ TQFP PIN NO. NAME SYMBOL 94 Drive 2 DRV2 Address X nADRX Interrupt Request IRQ_B B 23 IRQIN 58 PWRGD nGAMECS 98 I/O Power NC 15,72 Power V CC BUFFER TYPE DESCRIPTION I In PS/2 ...

Page 15

QFP/ TQFP PIN NO. NAME 6,47, Ground 67,95 Note 1: Refer to Configuration Register 00 for information on the pull-ups for these pins! Note IDE does not decode for 377, 3F7 Note RI and the Serial interrupt is always active ...

Page 16

... INTERFACE nDACK_A-C TC IRQA IRQ_C-F RESET IRQIN CLOCK IOCHRDY GEN nINDEX nTRK0 14.318 nDSKCHG CLOCK nWRPRT nWGATE FIGURE 1 - FDC37C669 BLOCK DIAGRAM PWRGD POWER DATA BUS CONFIGURATION REGISTERS CONTROL BUS WDATA WCLOCK SMSC DIGITAL DATA PROPRIETARY SEPARATOR 82077 COMPATIBLE WITH WRITE VERTICAL PRECOM- ...

Page 17

... Access to status registers A and B of the floppy disk is disabled in configuration mode. Note 2: The base addresses must be set in the configuration registers before accessing the logical devices. HOST PROCESSOR INTERFACE The host processor communicates with the FDC37C669 through a series of read/write registers. addresses for these registers are shown in Table 1. ...

Page 18

... 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 FDC37C669 is compatible using SMSC's proprietary floppy disk controller core. Table 2 - Status, Data and Control Registers ...

Page 19

STATUS REGISTER A (SRA) Address 3F0 READ ONLY This register is read-only and monitors the state of the FINTR pin and several disk PS/2 Mode 7 INT nDRV2 PENDING RESET 0 COND. BIT 0 DIRECTION Active high status indicating the ...

Page 20

PS/2 Model 30 Mode 7 INT DRQ PENDING RESET 0 COND. BIT 0 nDIRECTION Active low status indicating the direction of head movement. A logic "0" indicating inward direction a logic "1" outward. BIT 1 WRITE PROTECT Active high status ...

Page 21

STATUS REGISTER B (SRB) Address F1 READ ONLY This register is read-only and monitors the state of several disk interface pins, in PS/2 and Model PS/2 Mode RESET 1 1 COND. BIT 0 MOTOR ENABLE 0 ...

Page 22

PS/2 Model 30 Mode 7 6 nDRV2 nDS1 RESET N/A 1 COND. BIT 0 nDRIVE SELECT 2 Active low status of the DS2 disk interface output. BIT 1 nDRIVE SELECT 3 Active low status of the DS3 disk interface output. ...

Page 23

DIGITAL OUTPUT REGISTER (DOR) Address 3F2 READ/WRITE The DOR controls the drive select and motor enables of the disk interface outputs. It also 7 6 MOT MOT EN3 EN2 RESET 0 0 COND. BIT 0 and 1 DRIVE SELECT These ...

Page 24

... This register is included for 82077 software compatability. The robust digital data separator FDC37C669 does not require its characteristics modified for tape support. The contents of this register are not used internal to the device. The TDR is unaffected by a software reset. Bits 2-7 are tri-stated when read in this mode. ...

Page 25

Table 7 - External Drive Decode - Normal DIGITAL OUTPUT REGISTER Bit 7 Bit 6 Bit 5 Bit ...

Page 26

Normal Floppy Mode Normal mode. Register 3F3 contains only bits 0 and 1. When this register is read, bits are a high impedance. DB7 DB6 REG 3F3 Tri-state Tri-state Enhanced Floppy Mode 2 (OS2) Register 3F3 for ...

Page 27

DATA RATE SELECT REGISTER (DSR) Address 3F4 WRITE ONLY This register is write only used to program the data rate, amount of write precompensation, power down status, and software reset. The data rate is programmed using the Configuration ...

Page 28

DRIVE RATE DATA RATE DRT1 DRT0 SEL1 ...

Page 29

MAIN STATUS REGISTER Address 3F4 READ ONLY The Main Status Register is a read-only register and indicates the status of the disk controller. The Status Register can RQM DIO NON DMA BIT DRV ...

Page 30

DATA REGISTER (FIFO) Address 3F5 READ/WRITE All command parameter information, disk data and result status are transferred between the host processor and the floppy disk controller through the Data Register. Data transfers are governed by the RQM and DIO bits ...

Page 31

DIGITAL INPUT REGISTER (DIR) Address 3F7 READ ONLY This register is read-only in all modes. PC-AT Mode 7 6 DSK CHG RESET N/A N/A COND. BIT UNDEFINED The data bus outputs will remain in ...

Page 32

Model 30 Mode 7 6 DSK 0 CHG RESET N/A 0 COND. BITS DATA RATE SELECT These bits control the data rate of the floppy controller. See Table 13 for the settings corresponding to the individual data ...

Page 33

CONFIGURATION CONTROL REGISTER (CCR) Address 3F7 WRITE ONLY PC/AT and PS/2 Modes 7 6 RESET N/A N/A COND. BIT 0 and 1 DATA RATE SELECT 0 and 1 These bits determine the data rate of the floppy controller. See Table ...

Page 34

STATUS REGISTER ENCODING During the Result Phase of certain commands, the Data Register contains data bytes that give the status of the command just executed. BIT NO. SYMBOL 7 1,0 DS1,0 Table ...

Page 35

Table 15 - Status Register 1 BIT NO. SYMBOL NAME 7 EN End of Cylinder Data Error 4 OR Overrun/ Underrun Data 1 NW Not Writeable 0 MA Missing Address Mark DESCRIPTION The ...

Page 36

Table 16 - Status Register 2 BIT NO. SYMBOL NAME Control Mark 5 DD Data Error in Data Field 4 WC Wrong Cylinder Bad Cylinder 0 MD Missing Data Address Mark DESCRIPTION Unused. ...

Page 37

... DS1,0 RESET There are three sources of system reset on the FDC: The RESET pin of the FDC37C669, a reset generated via a bit in the DOR, and a reset generated via a bit in the DSR. At power on, a Power On Reset initializes the FDC. All resets take the FDC out of the power down state ...

Page 38

PS/2 mode - (IDENT low, MFM high) This mode supports the PS/2 configuration and register set. The DMA bit of the DOR becomes a "don't care", (FINTR and DRQ are always valid), TC and DENSEL become active low. Model 30 ...

Page 39

A low threshold value (i.e. 2) results in longer periods of time between service requests, but requires faster servicing of the request for both read and write cases. The host reads (writes) from (to) the FIFO until empty (full), then ...

Page 40

If the last sector to be transferred is a partial sector, the host can stop transferring the data in mid-sector, and the FDC will continue to complete the sector hardware TC was received. The only difference between ...

Page 41

COMMAND SET/DESCRIPTIONS Commands can be written whenever the FDC is in the command phase. Each command has a unique set of needed parameters and status results. The FDC checks to see that the first byte is a valid command and, ...

Page 42

Table 18 - Description of Command Symbols SYMBOL NAME GPL Gap Length The Gap 3 size. (Gap 3 is the space between sectors excluding the VCO synchronization field). H/HDS Head Address Selected head (disk side 0 or ...

Page 43

Table 18 - Description of Command Symbols SYMBOL NAME NCN New Cylinder The desired cylinder number. Number ND Non-DMA Mode When set to 1, indicates that the FDC is to operate in the non-DMA Flag mode. In this mode, the ...

Page 44

INSTRUCTION SET Table 19 - Instruction Set PHASE R Command W MT MFM Execution Result READ DATA DATA BUS D5 D4 ...

Page 45

PHASE R Command W MT MFM Execution Result READ DELETED DATA DATA BUS ...

Page 46

PHASE R Command W MT MFM Execution Result WRITE DATA DATA BUS ...

Page 47

PHASE R Command W MT MFM Execution Result WRITE DELETED DATA DATA BUS ...

Page 48

PHASE R Command W 0 MFM Execution Result READ A TRACK DATA BUS ...

Page 49

PHASE R Command W MT MFM Execution Result PHASE R Command Result VERIFY ...

Page 50

PHASE R Command W 0 MFM Execution for W Each Sector Repeat Result FORMAT A TRACK DATA BUS ...

Page 51

PHASE R Command Execution PHASE R Command Result R R PHASE R Command ─── SRT ─── W ────── HLT ────── W RECALIBRATE ...

Page 52

PHASE R Command Result R PHASE R Command Execution PHASE R Command EIS ...

Page 53

PHASE R Command W 1 DIR PHASE R/W D7 Command W 0 Execution Result ──── SRT ──── LOCK R 0 EIS EFIFO R RELATIVE SEEK DATA ...

Page 54

PHASE R Command W 0 MFM Execution Result READ ID DATA BUS HDS DS1 ...

Page 55

... ST0 ─────── LOCK DATA BUS LOCK 0 55 REMARKS Command Codes GAP WGATE REMARKS D0 Invalid Command Codes ( FDC37C669 goes into Standby State) ST0 = 80H REMARKS Command Codes ...

Page 56

DATA TRANSFER COMMANDS All of the Read Data, Write Data and Verify type commands use the same parameter bytes and return the same results information, the only difference being the coding of bits 0-4 in the first byte. An implied ...

Page 57

Register 0 to "01" indicating abnormal termination, sets the ND bit in Status Register 1 to "1" indicating a sector not found, and terminates the Read Data Command. After reading the ID and Data Fields in each Table 21 - ...

Page 58

Read Deleted Data This command is the same as the Read Data command, only it operates on sectors that contain a Deleted Data Address Mark at the beginning of a Data Field. Table 23 - Skip Bit vs. Read Deleted ...

Page 59

FINAL SECTOR HEAD TRANSFERRED TO HOST MT 0 Less than EOT Equal to EOT 0 1 Less than EOT Equal to EOT 0 Less than EOT Equal to EOT 1 1 Less than EOT Equal to EOT NC: No Change, ...

Page 60

The Verify command is used to verify the data stored on a disk. This command acts exactly like a Read Data command except that no data is transferred to the host. Data is read from the disk and CRC is ...

Page 61

Format A Track The Format command allows an entire track to be formatted. After a pulse from the IDX pin is detected, the FDC starts writing data on the disk including gaps, address marks, ID fields, and data fields per ...

Page 62

Table 26 - Typical Values for Formatting FORMAT SECTOR SIZE 128 128 512 FM 1024 2048 5.25" 4096 Drives ... 256 256 512* MFM 1024 2048 4096 ... 128 3.5" FM 256 Drives 512 256 MFM 512** 1024 GPL1 = ...

Page 63

CONTROL COMMANDS Control commands differ from the other commands in that no data transfer takes place. Three commands generate an interrupt when complete: Read ID, Recalibrate, and Seek. The other control commands do not generate an interrupt. Read ID The ...

Page 64

Note that if implied seek is not enabled, the read and write commands should be preceded by: 1) Seek command - Step to the proper track 2) Sense Interrupt Status command - Terminate the Seek command 3) Read ID - ...

Page 65

The values change with the data rate speed selection and are documented in Table 30. The 128 112 F 60 120 0 ...

Page 66

PRETRK - Pre-Compensation Start Track Number. Programmable from track 0 to 255. Defaults to track 0. A "00" selects track 0; "FF" selects track 255. Version The Version command checks to see if the controller is an enhanced type or ...

Page 67

Selection of the 500 Kbps and 1 Mbps perpendicular modes is independent of the actual data rate selected in the Data Rate Select Register. The user must ensure that these two data rates remain consistent. The Gap2 and VCO timing ...

Page 68

The write pre-compensation given to a perpendicular mode drive wil be 0ns. 3. For D0-D3 programmed to "0" for conventional mode drives any data written will be at the currently programmed write pre-compensation. Table 29 - Effects ...

Page 69

... DUMPREG command has been modified to contain the additional data from these two commands. COMPATIBILITY The FDC37C669 compatibility in mind fully backwards-compatible solution with the older generation 765A/B disk controllers. The FDC also implements on-board registers for compatibility with the PS/2, as well as PC/AT and PC/XT, software floppy disk controller subsystems ...

Page 70

PARALLEL PORT FLOPPY DISK CONTROLLER In this mode, the Floppy Disk Control signals are available on the parallel port pins. When this mode is selected, the parallel port is not available. There are two modes of operation, PPFD1 and PPFD2. ...

Page 71

Table 30 - FDC Parallel Port Pins CONNECTOR PIN # CHIP PIN # ...

Page 72

... The UARTs each contain a programmable baud rate generator that is capable of dividing the input clock or crystal by a number from 1 to 65535. The UARTs are also capable of supporting the MIDI data rate. Refer to the FDC37C669 Configuration Registers Table 31 - Addressing the Serial Port DLAB* ...

Page 73

... Disabling the interrupt system inhibits the Interrupt Identification Register and disables any Serial Port interrupt out of the FDC37C669. All other system functions operate in their normal manner, including the Line Status and MODEM Status Registers. ...

Page 74

Bit 2 Setting this bit to a logic "1" clears all bytes in the XMIT FIFO and resets its counter logic to 0. The shift register is not cleared. This bit is self-clearing. Bit 3 Writing to this bit has ...

Page 75

Table 32 - Interrupt Control Table FIFO INTERRUPT MODE IDENTIFICATION ONLY REGISTER PRIORITY LEVEL BIT 3 BIT 2 BIT 1 BIT Highest Second ...

Page 76

LINE CONTROL REGISTER (LCR) Address Offset = 3H, DLAB = 0, READ/WRITE This register contains the format information of the serial line. The bit definitions are: Bits 0 and 1 These two bits specify the number of bits in each ...

Page 77

Bit 0 This bit controls the Data Terminal Ready (nDTR) output. When bit 0 is set to a logic "1", the nDTR output is forced to a logic "0". When bit logic "0", the nDTR output is ...

Page 78

The FE is reset to a logic "0" whenever the Line Status Register is read. In the FIFO mode this error is associated with the particular character in the ...

Page 79

Bit 0 Delta Clear To Send (DCTS). Bit 0 indicates that the nCTS input to the chip has changed state since the last time the MSR was read. Bit 1 Delta Data Set Ready (DDSR). Bit 1 indicates that the ...

Page 80

FIFO INTERRUPT MODE OPERATION When the RCVR FIFO and receiver interrupts are enabled (FCR bit 0 = "1", IER bit 0 = "1"), RCVR interrupts occur as follows: A. The receive data available interrupt will be issued when the FIFO ...

Page 81

XMITTER are controlled separately, either one or both can be in the polled mode of operation. In this mode, the user's program will check RCVR and XMITTER status via the LSR. LSR definitions for the FIFO Polled Mode are as ...

Page 82

Table 34 - Reset Function Table REGISTER/SIGNAL Interrupt Enable Register RESET Interrupt Identification Reg. RESET FIFO Control RESET Line Control Reg. RESET MODEM Control Reg. RESET Line Status Reg. RESET MODEM Status Reg. RESET TXD1, TXD2 RESET INTRPT (RCVR errs) ...

Page 83

Table 35 - Register Summary for an Individual UART Channel REGISTER ADDRESS* ADDR = 0 Receive Buffer Register (Read Only) DLAB = 0 ADDR = 0 Transmitter Holding Register (Write DLAB = 0 Only) ADDR = 1 Interrupt Enable Register ...

Page 84

Table 35 - Register Summary for an Individual UART Channel (continued) BIT 2 BIT 3 Data Bit 2 Data Bit 3 Data Bit 2 Data Bit 3 Enable Enable Receiver Line MODEM Status Status Interrupt Interrupt (ELSI) (EMSI) Interrupt ID ...

Page 85

NOTES ON SERIAL PORT OPERATION FIFO MODE OPERATION: GENERAL The RCVR FIFO will hold bytes regardless of which trigger level is selected. TX AND RX FIFO OPERATION The Tx portion of the UART transmits data through TXD ...

Page 86

... The FDC37C669's infrared interface provides a two- way wireless communications port using infrared as a transmission medium. Two infrared implementations have been provided in the FDC37C669, IrDA and Amplitude Shift Keyed IR. IrDA allows serial communication at baud rates up to 115K Baud. Each word is sent serially beginning with a zero value start bit ...

Page 87

... The FDC37C669 incorporates an compatible parallel port. The FDC37C669 supports the optional PS/2 type bi-directional parallel port (SPP), the Enhanced Parallel Port (EPP) and the Extended Capabilities Port (ECP) parallel port modes. Refer to the FDC37C669 Configuration Registers and FDC37C669 Hardware Configuration description for information on disabling, power down, changing the base address of the parallel port, and selecting the mode of operation ...

Page 88

Table 36 - Parallel Port Connector HOST CONNECTOR PIN NUMBER 1 77 2-9 71-68, 66- (1) = Compatible Mode (3) = High Speed Mode ...

Page 89

IBM XT/AT COMPATIBLE, BI-DIRECTIONAL AND EPP MODES DATA PORT ADDRESS OFFSET = 00H The Data Port is located at an offset of '00H' from the base address. The data register is cleared at initialization by RESET. During a WRITE operation, ...

Page 90

BIT 0 STROBE - STROBE This bit is inverted and output onto the nSTROBE output. BIT 1 AUTOFD - AUTOFEED This bit is inverted and output onto the nAUTOFD output. A logic 1 causes the printer to generate a line ...

Page 91

If no EPP Read, Write or Address cycle is currently executing, then the PDx bus is in the standard or bi-directional mode, and all output signals (STROBE, AUTOFD, INIT) are as ...

Page 92

If the EPP bus is ready (nWAIT is inactive high) then the chip must wait for active low before changing the state of WRITE or before nDATASTB goes active. The read can complete once nWAIT is ...

Page 93

EPP 1.7 Read The timing for a read operation (data) is shown in timing diagram EPP 1.7 Read Data cycle. IOCHRDY is driven active low when nWAIT is active low during the EPP cycle. This can be used to extend ...

Page 94

EPP SIGNAL EPP NAME TYPE ADDRSTB nAddress O Strobe PE Paper End I SLCT Printer Selected I Status nERR Error I PDIR Parallel Port O Direction Note 1: SPP and EPP can use 1 common register. Note 2: nWrite is ...

Page 95

EXTENDED CAPABILITIES PARALLEL PORT ECP provides a number of advantages, some of which are listed below. The individual features are explained in greater detail in the remainder of this section. • High performance half-duplex forward and reverse channel • Interlocked ...

Page 96

For a description of the ECP Protocol, please refer to the IEEE 1284 Extended Capabilities Port Protocol and ISA Interface Standard, Rev. 1.09, Jan.7, 1993. document is available from Microsoft. Description The port is software and hardware compatible with existing ...

Page 97

Table 38 - ECP Pin Descriptions NAME TYPE nStrobe O During write operations nStrobe registers data or address into the slave on the asserting edge (handshakes with Busy). PData 7:0 I/O Contains address or data or RLE data. nAck I ...

Page 98

Register Definitions The register definitions are based on the standard IBM addresses for LPT. All of the standard printer ports are supported. The additional registers attach to an upper bit decode of the standard LPT port definition to Table 39 ...

Page 99

DATA and ecpAFifo PORT ADDRESS OFFSET = 00H Modes 000 and 001 (Data Port) The Data Port is located at an offset of '00H' from the base address. The data register is cleared at initialization by RESET. During a WRITE ...

Page 100

Parallel Port to the CPU due to a low to high transition on the nACK input. Refer to the description of the interrupt under Operation, Interrupts. BIT 5 DIRECTION If mode=000 or mode=010, this bit has no ...

Page 101

Data bytes are always read from the head of tFIFO regardless of the value of the direction bit. For example if 44h, 33h, 22h is written to the FIFO, then reading the tFIFO will return 44h, 33h, 22h in the ...

Page 102

Table 41 - Extended Control Register R/W 000: Standard Parallel Port mode . In this mode the FIFO is reset and common collector drivers are used on the control lines (nStrobe, nAutoFd, nInit and nSelectIn). Setting the direction bit will ...

Page 103

OPERATION Mode Switching/Software Control Software will execute P1284 negotiation and all operation prior to a data transfer phase under programmed I/O control (mode 000 or 001). Hardware provides an automatic control line handshake, moving data between the FIFO and the ...

Page 104

... HostAck is low. Forward Channel Commands (HostAck Low) Reverse Channel Commands (PeripAck Low) Data Compression The FDC37C669 supports run length encoded (RLE) decompression in hardware and can transfer compressed data to a peripheral. Run length encoded (RLE) compression in hardware is not supported. To transfer ...

Page 105

PS/2 mode using program control of the control signals. Interrupts The interrupts are enabled by serviceIntr in the ecr register. serviceIntr = 1 Disables the DMA and all of the service interrupts. serviceIntr = ...

Page 106

A high value of threshold (i.e. 12) is used with a "sluggish" system by affording a long latency period after a service request, but results in more frequent service requests. DMA TRANSFERS Note: PDRQ - Currently selected Parallel Port DRQ ...

Page 107

The ECP requests programmed I/O transfers from the host by activating the PINTR pin. The programmed I/O will empty or fill the FIFO using the appropriate direction and mode. Note: A threshold equivalent to a threshold of ...

Page 108

... During the countdown of the powerdown timer, any operation of read MSR or read/write data (FIFO) will reinitiate the timer. Disabling the auto powerdown mode cancels the timer and holds the FDC37C669 out of auto powerdown. DSR From Powerdown by using the ...

Page 109

... This makes the behavior of the pins during powerdown very important. The pins of the FDC37C669 can be divided into two major categories: system interface and floppy disk drive interface. The floppy disk drive pins are disabled so that ...

Page 110

Table 43 - PC/AT and PS/2 Available Registers Base + Address Access to these registers DOES NOT wake up the part 00H 01H 02H 03H 04H 06H 07H 07H 04H 05H Note 1: Writing to the DOR or DSR does ...

Page 111

FDD Interface Pins All pins in the FDD interface which can be connected directly to the floppy disk drive itself are either DISABLED or TRISTATED. Table 45 - State of Floppy Disk Drive Interface Pins in Powerdown used for local ...

Page 112

UART Power Management Direct power management is controlled by CR2 bits 3 and 7. Refer to CR2 bits 3 and 7 for more information. Auto Power Management is enabled by CR7 bits 5 and 6. When set, these bit allows ...

Page 113

... These registers are not implemented in the FDC37C669. Access to these registers is controlled by the FDC37C669. For more information, refer to the IDE pin descriptions and the ATA specification. HOST FILE REGISTERS The HOST FILE REGISTERS are accessed by the AT Host, rather than the Local Processor. There are two groups of registers, the AT Task File, and the Miscellaneous AT Registers ...

Page 114

COMMAND RESTORE (RECALIBRATE) SEEK READ SECTOR WRITE SECTOR FORMAT TRACK READ VERIFY DIAGNOSE SET PARAMETERS Bit definitions: r: specifies the step rate to be used for the command set, 16 bit DMA used for the ...

Page 115

ADD R 000H DATA REGISTER (REDIRECTED TO FIFO) ADDR R 001H R BB CRC - ID - 001H W CYLINDER ...

Page 116

ADD 3F6H R BSY RDY WF SC DRQ /376H 3F6H W RESERVED HS3E N /376H 3F7H nHS nHS nHS /377H 3F7H ...

Page 117

The configuration of the chip is programmable through software selectable configuration registers. CONFIGURATION REGISTER ADDRESS The address at which the Configuration Registers are located is controlled by the nRTS2 pin. The state of the nRTS2 pin is latched by the ...

Page 118

ENTER CONFIGURATION MODE ;-----------------------------' MOV DX,3F0H MOV AX,055H ; CLI ; disable interrupts OUT DX,AL OUT DX,AL STI ; enable interrupts ;-----------------------------. ; CONFIGURE REGISTERS CR0-CRx ;-----------------------------' MOV DX,3F0H MOV AL,00H OUT DX,AL ; Point to CR0 MOV ...

Page 119

Default DB7 DB6 28H CR00 Valid 9CH CR01 Lock CRx 88H CR02 UART2 PWR 78H CR03 ADRX/ IDENT DRV2/ IRQ_B 00H CR04 ALT I/O EPP Type 00H CR05 Reserved EXTx4 FFH CR06 Floppy Drive D 00H CR07 Auto Power Management ...

Page 120

Configuration Register Description The configuration registers consist of the Configuration Select Register (CSR) and Configuration Registers CR- 00 -CR-29. The configuration select register is written to by writing to port 3F0H (or 370H). The Configuration Registers CR-00; CR-29 are accessed ...

Page 121

CR01 This register can only be accessed in the Configuration Mode and after the BIT NO. BIT NAME 0,1 Reserved 2 Parallel Port Power (see note _PWRDN) 3 Parallel Port Mode 4 Reserved 5,6 Reserved 7 Lock CRx CR02 This ...

Page 122

CR03 This register can only be Configuration Mode and the CSR has been BIT NO. BIT NAME 0 PWRGD/ GAMECS 1 Enhanced Floppy Mode 2 3 Reserved 4 DRVDEN1 5 MFM 6 IDENT 7,2 ADRx/ DRV2 EN/ IRQ_B accessed in ...

Page 123

CR04 This register can only be Configuration Mode and the CSR has been Table 51 - CR04 - Parallel and Serial Extended Setup Register BIT NO. BIT NAME 1,0 Parallel Port Extended Modes 2,3 Parallel Port FDC 4 MIDI 1 ...

Page 124

CR05 This register can only be accessed in the Configuration Mode and the CSR Table 52 - CR05- Floppy Disk and IDE Extended Setup Register BIT NO. BIT NAME 0,1 Reserved 2 FDC DMA Mode 4,3 DenSel 5 Swap Drv ...

Page 125

CR07 This register can only be accessed in the Configuration Mode and after the CSR has been initialized to 07H. The default BIT NO. BIT NAME 0,1 Floppy Boot 2 Reserved 3 Reserved 4 Parallel Port Enable 5 UART 2 ...

Page 126

CR08 This register can only be accessed in the Configuration Mode and after the CSR has been initialized to 08H. The default value of this register after power up is 00H. This is the lower 4 bits (ADRA7:4) for the ...

Page 127

CR0C This register can only be accessed in the Configuration Mode and after the CSR has been initialized to 0CH. The default value BIT NO UART 2 Duplex This bit is used to define the FULL/HALF 3, ...

Page 128

CR0F This register can only be Configuration Mode and BIT NO accessed in the CSR has been initialized to 0FH. The default value of after the this register after power up is ...

Page 129

CR10 This register can only be Configuration Mode and after the CSR has been BIT NO. BIT NAME Reserved 3 Pll Gain 4 Pll Stop 5 ACE_STOP 6 PLL Clock Control 7 Infra Red Test CR11 This ...

Page 130

CR12-CR1D These registers are reserved. The default value of these registers after power up is 00H. CR1E This register can only be Configuration Mode and after the CSR has been DB7 DB6 DB5 ADR9 ADR8 ADR7 Upper Address Decode requirements: ...

Page 131

CR1F This register can only be accessed in the Configuration Mode and after the CSR has been initialized 1FH. The default value FDD3 DT0 DT1 DT0 DTx = Drive Type select DT0 DT1 ...

Page 132

CR21 This register can only be accessed in the Configuration Mode and after the CSR has been initialized to 21H. The default value of this register after 3CH. This register is used to select the base address of the IDE ...

Page 133

CR24 This register can only be accessed in the Configuration Mode and after the CSR has been initialized to 25H. The default value of this register after power up is 00H. This register is used to select the base address ...

Page 134

CR27 This register can only be accessed in the Configuration Mode and after the CSR has been initialized The default value of this register after power up is 00H. This register is used to select the IRQ for the FDC ...

Page 135

Table 60 - UART Interrupt Operation Table UART1 UART1 UART1 IRQ OUT2 bit Output State OUT2 bit asserted 1 de-asserted asserted 1 asserted 1 de-asserted 1 de-asserted asserted 1 ...

Page 136

OPERATIONAL DESCRIPTION MAXIMUM GUARANTEED RATINGS* Operating Temperature Range.....................................................................................................0 Storage Temperature Range ..................................................................................................... -55 Lead Temperature Range (soldering, 10 seconds) ...............................................................................+325 Positive Voltage on any pin, with respect to Ground ......................................................................... V Negative Voltage on any pin, with respect to Ground............................................................................... ...

Page 137

PARAMETER SYMBOL Input Leakage (All I and IS buffers except PWRGD) Low Input Leakage I IL High Input Leakage I IH Input Current I OH PWRGD I/O24 Type Buffer Low Output Level V OL High Output Level V OH Output ...

Page 138

PARAMETER SYMBOL OD24 Type Buffer Low Output Level V OL Output Leakage I OL OD24P Type Buffer Low Output Level V OL High Output Level V OH Output Leakage I OL OP24 Type Buffer V OL Low Output Level V ...

Page 139

TIMING DIAGRAMS A X, AEN, nIOCS16 nIOR t 4 DATA (D0-D7) P D0-PD7, nERR SLCT, nACK, BUSY FINTR nIOR/nIOW PINTR NOTE: P INTR is the interrupt assigned to the Parallel Port FINTR is the ...

Page 140

EN S16 t1 nIOW DAT A (D0-D7) FINTR PI NTR NOTE: PINTR is the interrupt assigned to the Paral lel Port FINTR is the interrupt assigned to the Floppy Disk Parameter t1 A0-A9, AEN , ...

Page 141

AEN FD RQ, P DRQ t1 FDA CKX PDA CKX t14 t11 t6 nIOR t5 or nIOW DATA (DO-D7) TC NOTE: FDRQ refers to the DRQ assigned to the Floppy Disk PDRQ refers to the DRQ assigned to the Parall ...

Page 142

X1K nRE SET Des cription Name Clo ck Cycl eTime for 14.318MHZ t1 Clock Hig h Time/Low Time for t2 1 4.318MHZ Clo ck Cycl e Time for 32KHZ t1 t2 Clo ck High Time/Low Time for 3 2KHz Clock ...

Page 143

nSTEP nDS0-3 nI NDEX nRDATA nWDAT A nIOW t 9 nDS0-1, nM TR0-1 (AT Mode timin g only) Parameter t1 nDIR Set Up to nSTEP Low t2 nSTEP Active Time Low t3 nDIR Hol d Time ...

Page 144

IRQx nCTSx, nD SRx, nDCDx t2 IRQx nIOW IRQx nIOR nR Ix Parameter t1 nRTSx, nDTRx Delay from nIOW t2 IRQx Active Del ay from nC TSx, n DSRx, nDC Inactive De lay ...

Page 145

AEN, nIOCS nIDEEN, nHDCS x Par ameter t1 n IDEENL O, nIDEEN HI, nH DCSx Delay from AEN, nIOC S1 6 nIDEENLO, nIDEENH I, nHDCSx Delay t2 from AX n IDEEN LO De lay from nIDEENH ...

Page 146

DATA IRRX n IRRX Parameter t1 Pul se Wid 115 kbau d t1 Pulse Width kbau d t1 Pulse Width kbau d t1 ...

Page 147

DATA IRTX nIRTX Parameter t1 Pu lse Width at 1 15kba ud t1 Pulse Width at 57.6kba ud t1 Pulse Width at 38.4kba ud t1 Pulse Width at 19.2kba ud t1 Pulse ...

Page 148

DATA IRTX nIRTX t3 t4 MIRTX t5 t6 nMIRTX Parameter t1 Mod ulated Output Bit Time t2 Off Bit Time t3 Modul ated Output " On" t4 Modul ated Outp ut "Off" t5 Modul ated ...

Page 149

DATA MIR nMIR RX Parameter t1 Mo dula ted Ou tpu t Bit Time t2 Off Bit Time t3 Modu lated Output "On" t4 Modu ...

Page 150

PD0 nINIT, nSTROBE. nAUTOFD, SLCTIN PIN TR (SP P) nACK t2 PI NTR (ECP or EPP E nabled) nF AULT (ECP) nERROR (E CP) PI NTR Par ameter t1 nINIT, n STROBE, nAUTOFD Dela ...

Page 151

AX SD<7:0> nIOW RDY nWR ITE t1 PD<7: 0> nDATAST nADDRSTB nWAIT Parameter t1 nIOW Ass erted t o PDA T A Valid t2 ...

Page 152

AX t19 IOR SD<7:0> t8 IOCHRDY t9 t21 nWRITE t2 t25 PD<7:0> t28 t1 t14 DATASTB ADDRSTB nWAIT Timin g paramete r tabl the EPP Data or Addre ss Read Cycl e is found on next pag ...

Page 153

Parameter t1 PDATA Hi-Z to Comman d Asserted t2 nIOR Asserted to PD ATA nWAIT Deasser ted to Comma nd Dea sserted t4 Comma nd Dea sserted to PDATA Hi-Z C ommand Asser ted to PDATA Val ...

Page 154

A X SD<7:0> t17 t 8 nIOW t10 t20 IOCHRD Y t13 nWRITE t 1 PD<7:0> t16 t 3 nDATAST nAD DRSTB nWAIT Param eter t1 nIOW Ass erted t o PDA alid t2 Command D esssert ...

Page 155

AX t19 nIOR S D<7:0> IOCHRDY nWRITE P D<7:0> t23 nDATAS TB nADD RS TB nWAIT Parameter t 2 nIOR Deas sert ed to Command Deass erted t 3 nWAIT Asserted to IOC HRDY D eass erted t ...

Page 156

ECP PARALLEL PORT TIMING Parallel Port FIFO (Mode 101) The standard parallel port is run at or near the peak 500 Kbps allowed in the forward direction using DMA. The state machine does not examine nAck and begins the next ...

Page 157

Compatible Mode (the control signals, by tradition, as open-collector), the drivers are dynamically changed from open-collector to totem-pole. The timing for the dynamic driver change is specified PDATA nS T ROBE BUSY Parameter t1 DATA Vali d ...

Page 158

PDA TA<7:0> TROBE t6 BUSY Parameter t1 n AUTOFD Va lid to nSTROBE Asserted t2 PDATA Va lid to nSTROBE Asserted t3 BUSY Deasserted to nAUTOFD Cha nged Deasser ted to PDATA ...

Page 159

PDATA<7: 0> nACK t 4 nAUTOFD Parameter t1 PDATA Va lid to nACK Asserted t2 nAUTOFD Deasserte d to PDATA C hang ed t3 nACK Asse rte AUTOFD Deasserted t4 nACK D easser te d ...

Page 160

-C- MIN MAX MIN 0 24 ...

Page 161

-C- DIM Notes: Coplanarity is 0.100mm maximum. 1 Tolerance on the position of the ...

Page 162

... 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 OF BUYER IS HELD TO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. FDC37C669 Rev. 06/29/2007 162 ...

Related keywords