W83697HF Winbond, W83697HF Datasheet

no-image

W83697HF

Manufacturer Part Number
W83697HF
Description
WINBOND I/O, UART, infrared, parallel port, game port, MIDI port, flash ROM interface, general purpose I/O ports, FDC, hardware monitor functions
Manufacturer
Winbond
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W83697HF
Manufacturer:
Winbond
Quantity:
228
Part Number:
W83697HF
Manufacturer:
WINBOND
Quantity:
8
Part Number:
W83697HF
Manufacturer:
WINBOND
Quantity:
8
Part Number:
W83697HF
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Company:
Part Number:
W83697HF
Quantity:
500
Company:
Part Number:
W83697HF
Quantity:
500
W83697HF/F
WINBOND I/O

Related parts for W83697HF

W83697HF Summary of contents

Page 1

... W83697HF/F WINBOND I/O ...

Page 2

... W83697HF/F Data Sheet Revision History Pages Dates 1 n.a. 08/23/99 2 98, 107, 116 11/15/99 3 All 11/15/2000 All 4 9/3/2001 2/19/2002 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 ...

Page 3

... HARDWARE MONITOR INTERFACE ........................................................................................................................ 15 1.8 GAME PORT & MIDI PORT........................................................................................................................................... 16 1.9 POWER PINS..................................................................................................................................................................... 17 2. LPC (LOW PIN COUNT) INTERFACE.....................................................................18 3. FDC FUNCTIONAL DESCRIPTION........................................................................19 3.1 W83697HF FDC................................................................................................................................................................. 19 3.1.1 AT interface...............................................................................................................................................................19 3.1.2 FIFO (Data)..............................................................................................................................................................19 3.1.3 Data Separator.........................................................................................................................................................20 3.1.4 Write Precompensation...........................................................................................................................................20 3.1.5 FDC Core ..................................................................................................................................................................21 3.1.6 FDC Commands .......................................................................................................................................................21 3 ...

Page 4

... Bank1.Reg2 - Version ID Regiister I (VID) ....................................................................................................... 62 5.1.11 Bank0~3.Reg3 - CIR Control Register 0/Bank Select Register (CTR0/BSR) (BANK0~3) .....................62 5.1.12 Bank1.Reg4 - Timer Low Byte Register (TMRL)..............................................................................................62 5.1.13 Bank1.Reg5 - Timer High Byte Register (TMRH) ............................................................................................ 62 6. PARALLEL PORT...................................................................................................... 63 6.1 PRINTER INTERFA CE LOGIC........................................................................................................................................ 63 W83697HF/F Publication Release Date: Feb. 2002 - II - Revision 0.70 ...

Page 5

... Programmed I/O (NON-DMA) Mode .................................................................................................................77 6.4 EXTENSION FDD MODE (EXTFDD)............................................................................................................................ 77 6.5 EXTENSION 2FDD MODE (EXT2FDD)........................................................................................................................ 77 7. GENERAL PURPOSE I/O...........................................................................................78 8. ACPI REGISTERS FEATURES .................................................................................81 9. HARDWARE MONITOR ..........................................................................................82 9.1 GENERAL DESCRIPTION............................................................................................................................................... 82 9.2 ACCESS INTERFACE...................................................................................................................................................... 82 W83697HF/F Publication Release Date: Feb. 2002 - III - Revision 0.70 ...

Page 6

... SMI# INTERRUPT MODE.............................................................................................................................................. 90 9.5.1 Voltage SMI# mode :...............................................................................................................................................90 9.5.2 Fan SMI# mode :......................................................................................................................................................90 9.5.3 Temperature SMI# mode.........................................................................................................................................91 9.5.4 The W83697HF temperature sensor 2 and sensor 3 SMI# interrupt has two modes and it is programmed at CR[4Ch] bit 6......................................................................................................................................................92 9.6 OVT# INTERRUPT MODE.............................................................................................................................................. 93 9.7 REGISTERS AND RAM................................................................................................................................................... 94 9 ...

Page 7

... FAN 1 Pre-Scale Register ndex00h............................................................................................................. 117 9.7.51 FAN 1 Duty Cycle Select Register-- 01h (Bank 0)....................................................................................... 118 9.7.52 FAN 2 Pre-Scale Register-- Index 02h............................................................................................................ 118 9.7.53 FAN2 Duty Cycle Select Register-- Index 03h .............................................................................................. 119 9.7.54 FAN Configuration Register-- Index 04h ....................................................................................................... 119 W83697HF/F Publication Release Date: Feb. 2002 - V - Revision 0.70 ...

Page 8

... LOGICAL DEVICE 7 (GAME PORT GPIO PORT 1)............................................................................................... 139 10.11 LOGICAL DEVICE 8 (MIDI PORT AND GPIO PORT 5)....................................................................................... 140 10.12 LOGICAL DEVICE 9 (GPIO PORT 2 ~ GPIO PORT 4 ).......................................................................................... 142 10.13 LOGICAL DEVICE A (ACPI)..................................................................................................................................... 144 10.14 LOGICAL DEVICE B (HARDWARE MONITOR).................................................................................................. 148 W83697HF/F Publication Release Date: Feb. 2002 - VI - Revision 0.70 ...

Page 9

... ORDERING INSTRUCTION...................................................................................149 12. HOW TO READ THE TOP MARKING..................................................................149 13. PACKAGE DIMENSIONS.......................................................................................150 W83697HF/F Publication Release Date: Feb. 2002 - VII - Revision 0.70 ...

Page 10

... The W83697HF is made to fully comply with Microsoft PC98 and PC99 Hardware Design Guide, and meet the requirements of ACPI. The W83697HF contains a game port and a MIDI port. The game port is designed to support 2 joysticks and can be applied to all standard PC game control devices, They are very important for a entertainment or consumer computer ...

Page 11

... The W83697HF provides Flash ROM interface. That can support legacy flash ROM. The W83697HF support hardware status monitoring for personal computers. It can be used to monitor several critical hardware parameters of the system, including power supply voltages, fan speeds, and temperatures, which are very important for a high-end computer system to work stably and properly. ...

Page 12

... Support every Joystick two axes (X,Y) and two buttons (S1,S2) controllers MIDI Port The baud rate is 31.25 Kbaud 16-byte input FIFO 16-byte output FIFO Compatible with IEEE 1284 specification Compatible with IEEE 1284 specification Publication Release Date:Feb. 2002 - 3 - W83697HF 16 -1) Revision 0.70 ...

Page 13

... Over temperature indicate output Automatic Power On voltage detection Beep Issue SMI#, IRQ, OVT# to activate system protection Winbond Hardware Doctor TM Intel LDCM / Acer ADM Package 128-pin PQFP TM ” and “Speed Cruise TM Support TM compatible - 4 - W83697HF TM ” TM II/III thermal Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 14

... GPAY/GP15 124 GPBY/GP14 125 GPBX/GP13 126 GPAX/GP12 127 GPBS1/GP11 128 GPAS1/GP10 W83697HF W83697HF IRRX 64 RIB# 63 DCDB# 62 SOUTB 61 GND 60 SINB 59 DTRB# 58 RTSB# 57 DSRB# 56 CTSB# 55 RIA# 54 DCDA# 53 SOUTA 52 SINA 51 DTRA RTSA# 48 DSRA# CTSA# 47 STB# 46 VCC 45 44 AFD# 43 INIT# 42 PD0 41 PD1 PD2 40 39 PD3 ...

Page 15

... These signal lines communicate address, control, and data information over the LPC bus between a host and a peripheral. Indicates start of a new cycle or termination of a broken cycle. Reset signal. It can connect to PCIRST# signal on the host W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 16

... This input pin is pulled up internally resistor. The resistor can be disabled by bit 7 of L0-CRF0 (FIPURDWN). The read data input signal from the FDD. This input pin is pulled up internally resistor. The resistor can be disabled by bit 7 of L0-CRF0 (FIPURDWN W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 17

... ECP and EPP mode. EXTENSION FDD MODE: WD2# This pin is for Extension FDD B; its function is the same as the WD# pin of FDC. EXTENSION 2FDD MODE: WD2# This pin is for Extension FDD A and B; its function is the same as the WD# pin of FDC W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 18

... EXTENSION FDD MODE: HEAD2# This pin is for Extension FDD B; its function is the same as the HEAD#pin of FDC. EXTENSION 2FDD MODE: HEAD2# This pin is for Extension FDD A and B; its function is the same as the HEAD# pin of FDC W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 19

... EXTENSION FDD MODE: DRVDEN0 This pin is for Extension FDD B; its function is the same as the DRVDEN0 pin of FDC. EXTENSION 2FDD MODE: DRVDEN0 This pin is for Extension FDD A and B; its function is the same as the DRVDEN0 pin of FDC W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 20

... This pin is for Extension FDD B; its function is the same as the WP# pin of FDC pulled high internally. EXTENSION. 2FDD MODE: WP2# This pin is for Extension FDD A and B; its function is the same as the WP# pin of FDC pulled high internally W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 21

... ECP and EPP mode. EXTENSION FDD MODE: This pin is a tri-state output. EXTENSION 2FDD MODE: DSA2# This pin is for Extension FDD A; its function is the same as the DSA# pin of FDC W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 22

... CR24 bit 6 (EN48). A 4.7 k resistor is recommended if intends to pull up. Data Carrier Detect. An active low signal indicates the modem or data set has detected a data carrier. Ring Indicator. An active low signal indicates that a ring signal is being received from the modem or data set W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 23

... General purpose I/O port 2 bit3-0 Flash ROM interface Chip Select General purpose I/O port 5 bit4 Flash ROM interface Memory Read Enable General purpose I/O port 5 bit3 Flash ROM interface Memory Write Enable General purpose I/O port 5 bit2 - 14 - W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 24

... Fan speed control. Use the Pulse Width Modulatuion (PWM) technic knowledge to control the Fan's RPM. Over temperature Shutdown Output. It indicated the VTIN1 or VTIN2 is over temperature limit. System Management Interrupt. Beep function for hardware monitor. This pin is low after system reset W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 25

... General purpose I/O port 1 bit 2. Active-low, Joystick II switch input 1. This pin has an internal pull- up resistor. (Default) General purpose I/O port 1 bit 1. Active-low, Joystick I switch input 1. This pin has an internal pull- up resistor. (Default) General purpose I/O port 1 bit W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 26

... Analog VCC input. Internally supplier to all analog circuitry. Internally connected to all analog circuitry. The ground reference for all analog inputs.. Ground W83697HF Publication Release Date:Feb. 2002 Revision 0.70 ...

Page 27

... Comparing to its ISA counterpart, LPC implementation saves pin counts free for integrating more devices on a single chip. The transition from ISA to LPC is transparent in terms of software which means no BIOS or device driver update is needed except chip-specific configuration. Publication Release Date:Feb. 2002 - 18 - W83697HF Revision 0.70 ...

Page 28

... FDC FUNCTIONAL DESCRIPTION 3.1 W83697HF FDC The floppy disk controller of the W83697HF integrates all of the logic required for floppy disk control. The FDC implements a PC/AT or PS/2 solution. values. The FIFO provides better system performance in multi-master systems. The digital data separator supports bits/sec data rate. ...

Page 29

... The FDC monitors the bit stream t hat 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. W83697HF/F Publication Release Date: Feb. 2002 - 20 - Revision 0.70 ...

Page 30

... FDC Core The W83697HF FDC is capable of performing twenty commands. Each command is initiated by a multi- byte 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. ...

Page 31

... 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 W83697HF/F Publication Release Date: Feb. 2002 - 22 - Revision 0.70 ...

Page 32

... HDS ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ -------------------- EOT ----------------------- -------------------- GPL ----------------------- -------------------- DTL ----------------------- -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ - 23 - W83697HF REMARKS 1 0 Command codes DS1 DS0 Sector ID information prior to command execution Data transfer between the FDD and system Status information after command execution Sector ID information after command execution Publication Release Date: Feb. 2002 ...

Page 33

... HDS ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ -------------------- EOT ----------------------- -------------------- GPL ----------------------- -------------------- DTL ----------------------- -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ - 24 - W83697HF REMARKS 0 0 Command codes DS1 DS0 Sector ID information prior to command execution Data transfer between the FDD and system Status information after command execution Sector ID information after command execution Publication Release Date: Feb. 2002 ...

Page 34

... HDS ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ -------------------- EOT ----------------------- -------------------- GPL ----------------------- -------------------- DTL ----------------------- -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------------- C ------------------------ ---------------------- H -------------- ---------- ---------------------- R ------------------------ ---------------------- N ------------------------ - 25 - W83697HF REMARKS 1 0 Command codes DS1 DS0 Sector ID information prior to command execution Data transfer between the FDD and system; FDD reads contents of all cylinders from index hole to EOT Status information after ...

Page 35

... HDS -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ - 26 - W83697HF REMARKS 1 0 Command codes DS1 DS0 The first correct ID information on the cylinder is stored in Data Register Status information after command execution Disk status after the command has been completed Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 36

... HDS ---------------------- C -------------- ---------- ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ -------------------- EOT ----------------------- -------------------- GPL ----------------------- -------------------- DTL/SC ------------------- -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ - 27 - W83697HF REMARKS 1 0 Command codes DS1 DS0 Sector ID information prior to command execution No data transfer takes place Status information after command execution Sector ID information after command execution Publication Release Date: Feb. 2002 ...

Page 37

... HDS ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ -------------------- EOT ----------------------- -------------------- GPL ----------------------- -------------------- DTL ----------------------- -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ---------------------- -- ---------------------- N ------------------------ - 28 - W83697HF REMARKS 0 0 Command code 0 0 Enhanced controller D1 D0 REMARKS 0 1 Command codes DS1 DS0 Sector ID information prior to Command execution Data transfer between the FDD and system Status information after ...

Page 38

... HDS ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ -------------------- EOT ----------------------- -------------------- GPL ----------------------- -------------------- DTL ----------------------- -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ - 29 - W83697HF REMARKS 0 1 Command codes DS1 DS0 Sector ID information prior to command execution Data transfer between the FDD and system Status information after command execution Sector ID information after command execution Publication Release Date: Feb. 2002 ...

Page 39

... D ------------------------ ---------------------- C ------------------------ ---------------------- H ------------------------ ---------------------- R ------------------------ ---------------------- N ------------------------ -------------------- ST0 ----------------------- -------------------- ST1 ----------------------- -------------------- ST2 ----------------------- ---------------- Undefined ------------------- ---------------- Undefined ------------------- ---------------- Undefined ------------------- ---------------- Undefined ------------------- W83697HF REMARKS 0 1 Command codes DS1 DS0 Bytes/Sector Sectors/Cylinder Gap 3 Filler Byte Input Sector Parameters Status information after command execution D1 D0 REMARKS 1 1 Command codes DS1 DS0 Head retracted to Track 0 Interrupt Publication Release Date: Feb ...

Page 40

... HDS -------------------- NCN ----------------------- EIS EFIFO POLL | ------ FIFOTHR ----| - 31 - W83697HF REMARKS 0 0 Command code D1 D0 REMARKS 1 1 Command codes D1 D0 REMARKS 1 1 Command codes DS1 DS0 Head positioned over proper cylinder on diskette D1 D0 REMARKS 1 1 Configure information 0 0 Internal registers written Publication Release Date: Feb. 2002 ...

Page 41

... Lock PHASE R Command W LOCK 0 Result HDS EIS EFIFO POLL | ------ FIFOTHR -------- LOCK W83697HF REMARKS 1 1 Command codes DS1 DS0 D1 D0 REMARKS 1 0 Registers placed in FIFO GAP REMARKS 1 0 Command Code GAP REMARKS Command Code Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 42

... Result R (20) Invalid PHASE R Command W Result HDS ---------------- ST3 ------------------------- ------------- Invalid Codes ----------------- -------------------- ST0 ---------------------- - 33 - W83697HF REMARKS Command Code 0 0 DS1 DS0 Status information about disk drive D1 D0 REMARKS Invalid codes (no operation- FDC goes to standby state) ST0 = 80H Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 43

... Register Descriptions There are several status, data, and control registers in W83697HF. These registers are defined below: ADDRESS OFFSET base address + 0 base address + 1 base address + 2 base address + 3 base address + 4 base address + 5 base address + 7 3.2.1 Status Register A (SA Register) (Read base address + 0) This register is used to monitor several disk interface pins in PS/2 and Model 30 modes ...

Page 44

... This bit indicates the value of DRQ output pin. STEP F/F (Bit 5): This bit indicates the complement of latched STEP# output. TRAK0 (Bit 4): This bit indicates the complement of TRAK0# input. output W83697HF/F DIR WP INDEX HEAD TRAK0 STEP F/F DRQ INIT PENDING Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 45

... RDATA Toggle (Bit 3): This bit changes state at every rising edge of the RDATA# output pin. WE (Bit 2): This bit indicates the complement of the WE# output pin. output MOT EN A MOT RDATA Toggle WDATA Toggle Drive SEL0 - 36 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 46

... DSD# (Bit 1): 0 Drive D has been selected 1 Drive D has not been selected DSC# (Bit 0): 0 Drive C has been selected 1 Drive C has not been selected W83697HF/F DSC DSD WE F/F RDATA F/F WD F/F DSA DSB DRV2 Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 47

... Motor Enable D. Motor D on when active high W83697HF/F 01 select drive B 10 select drive C 11 select drive D Tape sel 0 Tape sel 1 Tape Sel 0 Tape Sel 1 Floppy boot drive 0 Floppy boot drive 1 Drive type ID0 Drive type ID1 Media ID0 Media ID1 Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 48

... Transition to LOW state indicates execution phase has ended. DATA INPUT/OUTPUT, (DIO). If DIO= HIGH then transfer is from Data Register to the processor. If DIO = LOW then transfer is from processor to Data Register. Request for Master (RQM). A high on this bit indicates Data Register is ready to send or receive data to or from the processor W83697HF/F None Publication Release Date: Feb ...

Page 49

... PRECOMP1 PRECOMP2 POWER DOWN S/W RESET PRECOMPENSATION DELAY 250K - 1 Mbps Default Delays 41.67 nS 83.34 nS 125.00 nS 166.67 nS 208.33 nS 250.00 nS 0.00 nS (disabled W83697HF/F 2 Mbps Tape drive Default Delays 20.8 nS 41.17 nS 62.5nS 83.3 nS 104.2 nS 125.00 nS 0.00 nS (disabled) Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 50

... This register stores data, commands, and parameters and provides diskette-drive status information. Data bytes are passed through the data register to program or obtain results after a command. In the W83697HF, this register defaults to FIFO disabled mode after reset. The FIFO can change its value and enable its operation through the CONFIGURE command. ...

Page 51

... DE (data Error).1 When the FDC detects a CRC error in either the ID field or the data field. Not used. This bit is always 0. EN (End of track). 1 When the FDC tries to access a sector beyond the final sector of a cylinder W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 52

... No error CM (Control Mark) 1 During execution of the read data or scan command 0 No error Not used. This bit is always W83697HF/F US0 Unit Select 0 US1 Unit Select 1 HD Head Address TS Two-Side TO Track 0 RY Ready WP Write Protected FT Fault Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 53

... In the PS/2 Model 30 mode, the bit definitions are as follows Reserved for the hard disk controller During a read of this register, these bits are in tri-state DSKCHG W83697HF/F HIGH DENS DRATE0 DRATE1 DSKCHG DRATE0 DRATE1 NOPREC DMAEN DSKCHG Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 54

... Bit 7-3: Reserved. These bits should be set to 0. NOPREC (Bit 2): This bit indicates no precompensation. It has no function and can be set by software. DRATE1 DRATE0 (Bit 1, 0): These two bits select the data rate of the FDC Reserved Reserved - 45 - W83697HF/F 0 DRATE0 DRATE1 DRATE0 DRATE1 NOPREC Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 55

... Data length select bit 1(DLS1) Multiple stop bits enable (MSBE) Parity bit enable (PBE) Even parity enable (EPE) Parity bit fixed enable (PBFE) Set silence enable (SSE) Baudrate divisor latch access bit (BDLAB W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 56

... CTS DSR RI Falling Toggling Toggling Edge (TCTS) (TDSR) (FERI) Bit 0 Bit 1 Bit 2 Bit 0 Bit 1 Bit 2 Bit 8 Bit 9 Bit W83697HF Data RX Data RX Data Bit 3 Bit 4 Bit 5 TX Data TX Data TX Data Bit 3 Bit 4 Bit 5 HSR 0 0 Interrupt Enable (EHSRI) Interrupt ...

Page 57

... RBR Data ready (RDR) Overrun error (OER) Parity bit error (PBER) No stop bit error (NSER) Silent byte detected (SBD) Transmitter Buffer Register empty (TBRE) Transmitter Shift Register empty (TSRE) RX FIFO Error Indication (RFEI W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 58

... FIFO full. When the CPU reads USR, it will clear this bit to a logical 0. Bit 0: RDR. This bit is set to a logical 1 to indicate received data are ready to be read by the CPU in the RBR or FIFO. After no data are left in the RBR or FIFO, the bit will be reset gical 0. W83697HF/F Publication Release Date: Feb. 2002 - 49 - ...

Page 59

... Bit 0: This bit controls the DTR output. The value of this bit is inverted and output to DTR . Data terminal ready (DTR) Request to send (RTS) Loopback RI input IRQ enable Internal loopback enable CTS , Loopback RI input ( bit 2 of HCR) DCD . - 50 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 60

... Bit 0: TCTS. This bit indicates that the CTS pin has changed state after HSR was read CTS toggling (TCTS) DSR toggling (TDSR) RI falling edge (FERI) DCD toggling (TDCD) Clear to send (CTS) Data set ready (DSR) Ring indicator (RI) Data carrier detect (DCD W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 61

... Bit 0: This bit enables the 16550 (FIFO) mode of the UART. This bit should be set to a logical 1 before other bits of UFR are programmed FIFO enable Receiver FIFO reset Transmitter FIFO reset DMA mode select Reserved Reserved RX interrupt active level (LSB) RX interrupt active level (MSB) RX FIFO INTERRUPT ACTIVE LEVEL (BYTES W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 62

... Data present in RX FIFO for 4 characters period of time since last access of RX FIFO. TBR Empty TBR empty Handshake status 1. TCTS = 1 3. FERI = W83697HF/F Clear Interrupt 2. PBER =1 Read USR 1. Read RBR 2. Read RBR until FIFO data under active level Read RBR 1. Write data into TBR 2 ...

Page 63

... RBR data ready interrupt enable (ERDRI) TBR empty interrupt enable (ETBREI) UART receive status interrupt enable (EUSRI) Handshake status interrupt enable (EHSRI W83697HF/F 16 -1. The output frequency of Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 64

... W83697HF/F Error Percentage between desired and actual ** ** 0.18% 0.099 0.53 Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 65

... Receiver Buffer Register (RBR) is equal or larger than the threshold level, (2) RBR occurs time-out if the receiver buffer register has valid data and below the threshold level. Clear to 0 when RBR is less than threshold level from reading RBR. Publication Release Date: Feb. 2002 - 56 - W83697HF/F (2) EN_TMR(Enable Revision 0.70 ...

Page 66

... Enable timer. Write to 1, enable the t imer Setting this bit to a logical 1 resets the RX FIFO counter logic to initial state. This bit will clear to a logical 0 by itself after being set to a logical 1. Timer input clock. Winbond test register Publication Release Date: Feb. 2002 - 57 - W83697HF/F Revision 0.70 ...

Page 67

... W83697HF/F Description 011 Min. Max. 23.4 34.2 25.3 36.9 26.3 38.4 26.9 39.3 28.1 41.0 28.7 42.0 29.4 42.9 30.1 44.0 30.8 45 ...

Page 68

... Bit value The Bit value is set to 0, then the high pulse will be received. The Bit value is set to 1, then no energy will be received. The opposite results will be generated when the bit RXINV (Bank0.Reg6.Bit0) is set to 1. Publication Release Date: Feb. 2002 - 59 - W83697HF/F Revision 0.70 ...

Page 69

... Cleared Upon Read. - FIFO Level Value. Indicate that how many bytes are there in the current received FIFO. Can read these bits then get the FIFO level value and successively read RBR by the prior value. Publication Release Date: Feb. 2002 - 60 - W83697HF/F Revision 0.70 ...

Page 70

... The percentage error for all baud rates, except where indicated otherwise, is 0.16% Decimal divisor used to Percent error difference between generate 16X clock 2304 1536 1047 857 768 384 192 Note 1 1 Publication Release Date: Feb. 2002 - 61 - W83697HF/F desired and actual ** ** 0.18% 0.099 0.53 Revision 0.70 ...

Page 71

... EN_TMR=1, the TMR_I is set to 1. When the counter down count to zero, a new initial value will be re-loaded into timer counter. Description Reserved. Timer High Byte Register. See Bank1.Reg4. Publication Release Date: Feb. 2002 - 62 - W83697HF ms. The timer Revision 0.70 ...

Page 72

... PD<0:7> PD<0:7> I nACK Intr I BUSY nWait SLCT Select O nAFD nDStrb I nERR nError O nINIT nInit O nSLIN nAStrb - 63 - W83697HF/F ECP 2 nSTB, HostClk PD<0:7> 2 nACK, PeriphClk 2 BUSY, PeriphAck 2 PEerror, nAckReverse 2 SLCT, Xflag 2 nAFD, HostAck 1 2 nFault , nPeriphRequest 1 2 nINIT , nReverseRqst 1 2 nSLIN , ECPMode Publication Release Date: Feb. 2002 ...

Page 73

... Printer status buffer (Read) 0 Printer control latch (Write) 0 Printer control swapper (Read) 1 EPP address port (R/W) 0 EPP data port 0 (R/W) 1 EPP data port 1 (R/W) 0 EPP data port 2 (R/W) 1 EPP data port 2 (R/ W83697HF/F EXT2FDD PIN EXTFDD ATTRIBUTE --- --- --- INDEX2# I INDEX2# TRAK02# I TRAK02# WP2# I ...

Page 74

... Writing a logic 1 to this bit will clear the time-out status bit; writing a logic 0 has no effect TMOUT ERROR SLCT PE ACK BUSY ACK# BUSY# stops W83697HF/F signal means the printer has S time-out has occurred on the EPP Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 75

... EPP Address Port The address port is available only in EPP mode. Bit definitions are as follows STROBE AUTO FD INIT SLCT IN IRQ ENABLE DIR ACK W83697HF/F changes from low to high. 0 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 76

... SLIN PD6 PD5 PD4 PD3 PD6 PD5 PD4 PD3 PD6 PD5 PD4 PD3 PD6 PD5 PD4 PD3 PD6 PD5 PD4 PD3 - 67 - W83697HF/F PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 IOR# causes an EPP read PD2 PD1 PD0 1 1 TMOUT INIT# AUTOFD# ...

Page 77

... EPP Version 1.7 Operation The EPP read/write cycle can start without checking whether nWait is active or inactive. Once the read/write cycle starts, however, it will not terminate until nWait changes from active low to inactive high. EPP DESCRIPTION Publication Release Date: Feb. 2002 - 68 - W83697HF/F Revision 0.70 ...

Page 78

... R/W All Control Register R/W 010 Parallel Port Data FIFO R/W 011 ECP FIFO (DATA) R/W 110 Test FIFO R 111 Configuration Register A R/W 111 Configuration Register B R/W All Extended Control Register DESCRIPTION Publication Release Date: Feb. 2002 - 69 - W83697HF/F FUNCTION Revision 0.70 ...

Page 79

... Publication Release Date: Feb. 2002 - 70 - W83697HF/F Revision 0.70 ...

Page 80

... These bits are at low level during a read of the Printer Status Register. The bits of this status register are defined as follows Address/RLE W83697HF/F PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 Address or RLE nFault Select PError nAck nBusy Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 81

... The printer is selected. Bit 2: This bit is output to the INIT# output. Bit 1: This bit is inverted and output to the AFD# output. Bit 0: This bit is inverted and output to the STB# output W83697HF/F strobe autofd nInit SelectIn ackIntEn Direction Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 82

... Bit 7: This bit is read -only low level during a read. This means that this chip does not support hardware RLE compression. Bit 6: Returns the value on the ISA IRQ line to determine possible conflicts IRQx 0 IRQx 1 IRQx 2 intrValue compress - 73 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 83

... Test Mode. The FIFO may be written and read in this mode, but the data will not be transmitted on the parallel port. 111 Configuration Mode. The confgA and confgB registers are accessible at 0x400 and 0x401 in this mode. IRQ resource W83697HF/F . empty full service Intr dmaEn nErrIntrEn MODE MODE MODE Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 84

... MODE ecr Notes: 1. These registers are available in all modes. 2. All FIFOs use one common 16 -byte FIFO PD5 PD4 PD3 PError Select nFault Directio ackIntEn SelectIn nErrIntrEn dmaEn serviceIntr - 75 - W83697HF NOTE PD2 PD1 PD0 nInit autofd strobe full empty Publication Release Date: Feb. 2002 ...

Page 85

... ECP Mode. O This signal sets the transfer direction (asserted = reverse, deasserted = forward). This pin is driven low to place the channel in the reverse direction. O This signal is always deasserted in ECP mode W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 86

... The FIFO threshold is set in configuration register 5. All data transfers to or from the parallel port can proceed in DMA or Programmed I/O (non-DMA) mode, as indicated by the selected mode. The FIFO is used by selecting the Parallel Port FIFO mode or ECP Parallel Port Mode. After a reset, the FIFO is disabled. Publication Release Date: Feb. 2002 - 77 - W83697HF/F Revision 0.70 ...

Page 87

... Pins PD4-PD0 each will have an internal resistor of about 1K ohm to serve as pull-up resistor for FDD open drain/collector output. (4) If the parallel port is set to EXT2FDD mode after the system has booted DOS or another operating system, a warm reset is needed to enable the system to recognize the extension floppy drive. Publication Release Date: Feb. 2002 - 78 - W83697HF/F Revision 0.70 ...

Page 88

... GENERAL PURPOSE I/O W83697HF provides 24 input/output ports that can be individually configured to perform a simple basic I/O function or a pre-defined alternate function. Those 24 GP I/O ports are divided into three groups, each group contains 8 port s. The first group is configured through control registers in logical device 7, the second group in logical device 8, and the third group in logical device 9 ...

Page 89

... GP17 BIT 0 GP20 BIT 1 GP21 BIT 2 GP22 BIT 3 GP23 BIT 4 GP24 BIT 5 GP25 BIT 6 GP26 BIT 7 GP27 BIT 0 GP30 BIT 1 GP31 BIT 2 GP32 BIT 3 GP33 BIT 4 GP34 BIT 5 GP35 BIT 6 GP36 BIT 7 GP37 - 80 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 90

... Figure 7.1 Publication Release Date: Feb. 2002 - 81 - W83697HF/F Revision 0.70 ...

Page 91

... ACPI REGISTERS FEATURES W83697HF supports both ACPI and legacy power managements. management block generates an SMI interrupt in the legacy mode and an PME interrupt in the ACPI mode. The new ACPI feature routes SMI / PME SMI / logic routes to SMI only when both PME_EN = 0 and SMIPME_OE = 1. Similarly, the SMI / PME logic routes to PME only when both PME_EN = 1 and SMIPME_OE = 1 ...

Page 92

... The first interface uses LPC Bus to access which the ports of low byte (bit2~bit0) are defined in the port 5h and 6h. The other higher bits of these ports is set by W83697HF itself. The general decoded address is set to port 295h and port 296h. These two ports are described as following: Port 295h: Index port ...

Page 93

... ISA ISA Data Address Bus Bus Index Register Data Register Figure 9.1 : ISA interface access diagram W83697HF/F Configuration Register 40h SMI# Status/Mask Registers 41h, 42h, 44h, 45h Fan Divisor Register 47h Device ID 48h Monitor Value Registers 20h~3Fh and 60h~7Fh (auto-increment) VID<4>/Device ID ...

Page 94

... ADC. The Pin 97 is connected to the power supply VCC with +5V. There are two functions in this pin with 5V. The first function is to supply internal analog power in the W83697HF and the second function is that this voltage with 5V is connected to internal serial resistors to monitor the +5V voltage ...

Page 95

... The Pin 61 is connected to 5VSB voltage. W83697HF monitors this voltage and the internal two serial resistors are 17K and 33K maximum input voltage. 9.3.2 Monitor negative voltage: The negative voltage should be connected two series resistors and a positive voltage VREF (is equal to 3.6V). In the Figure 9.2, the voltage V2 and V3 are two negative voltage which they are -12V and -5V respectively ...

Page 96

... The W83697HF can alternate the thermistor to Pentium II transistor 2N3904 and the circuit connection is shown as Figure 9.3. The pin of Pentium II connected to power supply ground (GND) and the pin D+ is connected to pin VTINx in the W83697HF. The resistor R=30K ohms should be connected to VREF to supply the diode bias current and the bypass capacitor C=3300pF should be added to filter the high frequency noise ...

Page 97

... That provides very low speed fan counter such as power supply fan. The followed table is an example for the relation of divisor, PRM, and count. R=30K, 1% C=3300pF C 2N3904 E R=30K C=3300pF D- Figure 9 Count RPM Divisor W83697HF/F VREF VTINx W83697HF VTINx Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 98

... Pull-up resister 4.7K Ohms diode 14K~39K Fan Input 10K W83697HF Output and Register Attenuator Pull-up resister < 1K diode or totem-pole output Fan Input > 1K 3.9V Zener W83697HF Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 99

... Fan speed control The W83697HF provides 2 sets for fan PWM speed control. The duty cycle of PWM can be programmed by a 8-bit registers which are defined in the Bank0 CR5A and CR5B. The default duty cycle is set to 100%, that is, the default 8-bit registers is set to FFh. The expression of duty can be represented as follows ...

Page 100

... Status Register. (Figure 9.7 ) High limit Low limit SMI# * *Interrupt Reset when Interrupt Status Registers are read Figure 9.6 Fan Count limit * * * - 91 - W83697HF/F SMI Figure 9.7 Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 101

... The W83697HF temperature sensor 1 SMI# interrupt has two modes: (1) Comparator Interrupt Mode Setting the T (Temperature Hysteresis) limit to 127 ° C will set temperature sensor 1 SMI# to the HYST Comparator Interrupt Mode. Temperature exceeds T and this interrupt will be reset by reading all the Interrupt Status Register. Once an interrupt event has occurred by exceeding T will occur again when the next conversion has completed ...

Page 102

... The W83697HF temperature sensor 2 SMI# interrupt has two modes and it is programmed at CR[4Ch] bit 6. (1) Comparator Interrupt Mode: Temperature exceeding T O Interrupt Status Register. Once an interrupt event has occurred by exceeding T temperature remains above the T completed interrupt event has occurred by exceeding T occur again ...

Page 103

... OVT# interrupt mode The OVT# signal is only related with temperature sensor 2. 9.6.1 The W83697HF temperature sensor 2 Over-Temperature (OVT#) has the following modes (1) Comparator Mode(Default): Setting Bank1/2 CR[52h] bit will set OVT# signal to comparator mode. Temperature exceeding T causes the OVT# output activated until the temperature is less than ...

Page 104

... To T HYST OVT# (Comparator Mode; default) OVT# (Interrupt Mode) *Interrupt Reset when Temperature 2/3 is read OVT# pin signal in ACPI mode ('C) 100 OVT# W83697HF Current Temperature Publication Release Date: Feb. 2002 - Revision 0.70 ...

Page 105

... Bit7: Read Only The logical 1 indicates the device is busy because of a Serial Bus transaction or another LPC bus transaction. With checking this bit, multiple LPC drivers can use W83697HF hardware monitor without interfering with each other or a Serial Bus driver the user's responsibility not to have a Serial Bus and LPC bus operations at the same time. ...

Page 106

... Reserved ; <2:0> = 000 4Fh <7:0> = 01011100 (High Byte) <7:0> = 10100011 (Low Byte W83697HF/F Notes Auto-increment to the address of Interrupt Status Register 2 after a read or write to Port x6h. Auto-increment to the address of SMIÝ Mask Register 2 after a read or write to Port x6h. Auto-increment to the address of ...

Page 107

... Registers: <k7:0>in Binary 00-1Fh 20-3Fh 60-7Fh Bank1 Bank2 Bank4 - 98 - W83697HF/F Notes Auto-increment to the next location after a read or write to Port x6h and stop at 1Fh. Auto-increment to the next location after a read or write to Port x6h and stop at 7Fh. Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 108

... Note: The outputs of Interrupt pins will not be cleared if the user writes a zero to this location after an interrupt has occurred unlike "INT_Clear'' bit. Port x6h 00h Read/write 8 bits Index 40h 40h 01h Read/write 8 bits START SMI#Enable RESERVED INT_Clear RESERVED RESERVED RESERVED INITIALIZATION - 99 - W83697HF/F Data Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 109

... W83697HF/F Publication Release Date: Feb. 2002 - 100 - Revision 0.70 ...

Page 110

... Attribute: Size Index 41h 41h 00h Read Only 8 bits Index 42h 42h 00h Read Only 8 bits +12VIN -12VIN -5VIN Reserved CaseOpen Reserved Reserved Reserved - 101 - W83697HF/F VCORE Reserved +3.3VIN AVCC TEMP1 TEMP2 FAN1 FAN2 Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 111

... Bit 5-0: A one disables the corresponding interrupt status bit for SMI interrupt. Index 43h 43h 00h Read/Write 8 bits Index 44h 44h 00h Read/Write 8 bits +12VIN -12VIN -5VIN Reserved CaseOpen Reserved Reserved Reserved - 102 - W83697HF/F VCORE Reserved +3.3VIN AVCC TEMP1 TEMP2 FAN1 FAN2 Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 112

... W83697HF/F Publication Release Date: Feb. 2002 - 103 - Revision 0.70 ...

Page 113

... Note : Please refer to Bank0 CR[5Dh] , Fan divisor table. Index 45h 46h 00h Read/Write 8 bits Reserved Reserved Reserved Reserved Reserved Reserved Reserved Chassis Clear Index 47h Reserved Reserved Reserved Reserved FAN1DIV_B0 FAN1DIV_B1 FAN2DIV_B0 FAN2DIV_B1 - 104 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 114

... VCORE High Limit VCORE Low Limit Reserved Reserved +3.3VIN High Limit +3.3VIN Low Limit AVCC(+5V) High Limit AVCC(+5V) Low Limit +12VIN High Limit +12VIN Low Limit -12VIN High Limit Publication Release Date: Feb. 2002 - 105 - W83697HF/F Revision 0.70 ...

Page 115

... Low Limit of the fan speed. FAN2 Fan Count Limit Note the number of counts of the internal clock for the Low Limit of the fan speed. Reserved. Reserved 49h <7:1> is 000,0002 binary 8 bits Reserved - 106 - W83697HF/F Description DID<6:0> Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 116

... Reserved - Index 4Bh W83697HF/F Publication Release Date: Feb. 2002 - 107 - Revision 0.70 ...

Page 117

... FAN IN/OUT and BEEP Control Register- Index 4Dh Register Location: Power on Default Value Attribute: Size: 4Ch 00h Read/Write 8 bits En_ACPI_OVT Reserved OVTPOL DIS_OVT Reserved SMI_INTMode T2_INTMode Reserved 4Dh 15h Read/Write 8 bits - 108 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 118

... Bit 6-3: Reserved. This bit should be set to 0. Bit 2-0: Index ports 0x50~0x5F Bank select FANINC1 FANOPV1 FANINC2 FANOPV2 Reserved Reserved Reserved Reserved 4Eh 80h Read/Write 8 bits BANKSEL0 BANKSEL1 BANKSEL2 Reserved Reserved Reserved Reserved HBACS - 109 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 119

... W83697HF/F Publication Release Date: Feb. 2002 - 110 - Revision 0.70 ...

Page 120

... Bit 6: Enable BEEP Output from FAN 1 if the monitor value exceed the limit value. Write 1, enable BEEP output, which is default value. 4Fh <15:0> = 5CA3h Read Only 16 bits VIDH VIDL 56h 00h Read/Write 8 bits EN_VC_BP Reserved EN_V33_BP EN_AVCC_BP EN_T1_BP EN_T2_BP EN_FAN1_BP EN_FAN2_BP - 111 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 121

... Bit 5: Enable BEEP Output from Temperature Sensor 2 if the monitor value exceed the limit value. Write 1, enable BEEP output. Default 0 W83697HF/F Publication Release Date: Feb. 2002 - 112 - Revision 0.70 ...

Page 122

... Default 0, that is disable BEEP output. Bit 0: Enable BEEP output from +12V, Write 1, enable BEEP output if the monitor value exceed the limits value. Default 0, that is disable BEEP output EN_V12_BP EN_NV12_BP EN_NV5_BP Reserved EN_CASO_BP Reserved Reserved EN_GBP - 113 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 123

... Bit 4: Temperature sensor diode 1. Set to 1, select CPU compatible Diode. Set select 2N3904 Bipolar mode. Bit 3-0: Reserved 58h 60h Read Only 8 bits 59h <7>=0 and <6:4> = 111 and <3:0> = 0000 Read/Write 8 bits Reserved Reserved Reserved Reserved SELPIIV1 SELPIIV2 Reserved Reserved - 114 - W83697HF/F CHIPID Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 124

... Bit 0: Set to 1, enable battery voltage monitor. Set to 0, disable battery voltage monitor. If enable this bit, the monitor value is value after one monitor cycle. Note that the monitor cycle time is at least 300ms for W83697HF hardware monitor. Fan divisor table : Bit 2 ...

Page 125

... Temperature Sensor 2 Temperature (Low Byte) Register - Index 51h ( Bank 1 ) Register Location: 51h Attribute: Read Only Size: 8 bits 7 Bit 7: Temperature <0> of sensor2, which is low byte, means 0.5 C. Bit 6-0: Reserved. 5Eh ( Bank 0 ) 5Fh ( Bank TEMP2<0> - 116 - W83697HF/F TEMP2<8:1> Reserved Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 126

... Power on Default Value Attribute: Size Bit 7-0: Temperature hysteresis bit 8-1, which is High Byte. The temperature default 75 degree C. 52h 00h 8 bits STOP2 INTMOD Reserved FAULT FAULT Reserved Reserved Reserved 53h 4Bh Read/Write 8 bits 117 - W83697HF/F THYST2<8:1> Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 127

... Temperature Sensor 2 Over-temperature (High Byte) Register - Index 55h ( Bank 1 ) Register Location: Power on Default Value Attribute: Size Bit 7-0: Over-temperature bit 8-1, which is High Byte. The temperature default 80 degree C. 54h Read/Write 8 bits THYST2<0> 55h 50h Read/Write 8 bits 118 - W83697HF/F Reserved TOVF2<8:1> Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 128

... Bit 1: A one indicates Low limit of VBAT has been exceeded. Bit 0: A one indicates a High or Low limit of 5VSB has been exceeded. 56h Read/Write 8 bits TOVF2<0> 50h Read Only 8 bits 5VSB VBAT Reserved Reserved Reserved Reserved Reserved Reserved - 119 - W83697HF/F Reserved Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 129

... Bit 0: Enable BEEP Output from 5VSB. Write 1, enable BEEP ou tput, which is default value. 51h Read/Write 8 bits 5VSB VBAT Reserved Reserved Reserved Reserved Reserved Reserved 53h Read/Write 8 bits EN_5VSB_BP EN_VBAT_BP Reserved Reserved Reserved EN_USER_BP Reserved Reserved - 120 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 130

... Attribute: Size Bit 7-0: Temperature 2 base temperature. The temperature is added by both monitor value and offset value. 9.7.42 Reserved Register -- Index 57h--58h 54h 00h Read/Write 8 bits 55h 00h Read/Write 8 bits 121 - W83697HF/F OFFSET1<7:0> OFFSET2<7:0> Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 131

... Real Time Hardware Status Register II -- Index 5Ah ( Bank 4 ) Register Location: Power on Default Value 00h Attribute: Size: 59h Read Only 8 bits VCORE_STS Reserved +3.3VIN_STS AVCC_STS TEMP1_STS TEMP2_STS FAN1_STS FAN2_STS 5Ah Read Only 8 bits - 122 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 132

... Bit 0: 5VSB Voltage Status. Set 1, the voltage of 5VSB is over the limit value. Set 0, the voltage of 5VSB is in the limit range +12VIN_STS -12VIN_STS -5VIN_STS Reserved CASE_STS Reserved Reserved Reserved 5Bh Read Only 8 bits 5VSB_STS VBAT_STS Reserved Reserved Reserved Reserved Reserved Reserved - 123 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 133

... Fan 1 Input Clock Pre-Scale. The divider of input clock is the number defined by pre-scale. Thus, writing 1 transfers the input clock directly to counter. The maximum divider is 128 (7Fh). 01h : divider is 1 02h : divider is 2 03h : divider 124 - W83697HF/F Description Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 134

... Fan 2 Input Clock Pre-Scale. The divider of input clock is the number defined by pre-scale. Thus, writing 0 transfers the input clock directly to counter. The maximum divider is 128 (7Fh). 01h : divider is 1 02h : divider is 2 03h : divider 125 - W83697HF/F Description Description Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 135

... Set to 1, FANPWM2 is open-drain Read/Write Enable Fan 1 as Output Buffer. Set to 0, FANP WM1 can drive logical high or logical low. Set to 1, FANPWM1 is open-drain - 126 - W83697HF/F Description Description Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 136

... W83697HF/F Publication Release Date: Feb. 2002 - 127 - Revision 0.70 ...

Page 137

... VTIN2 Target Temperature. Only for Thermal Cruise Mode while CR84h bit5-4 is 01. Read/Write Read/Write Fan 2 Target Speed Control. Only for Fan Speed Cruise Mode while CR84h bit5-4 is 10. - 128 - W83697HF/F Description Description Description Description Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 138

... PWM stop duty cycle. Read/Write In Thermal Cruise mode, PWM duty will decreases to under this register value. This register should be written a non-zero minimum PWM stop duty cycle. - 129 - W83697HF/F Description Description Description Description Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 139

... Read/Write In Thermal Cruise mode, this register determines the time of which PWM duty is from stop duty cycle to 0 duty cycle. The unit of this register is 0.1 second. The default value is 6 seconds. - 130 - W83697HF/F Description Description Description Description Publication Release Date: Feb. 2002 ...

Page 140

... The time interval, which is 0.1 second unit, to decrease PWM duty in Smart Fan Control mode. Read/Write Read/Write The time interval, which is 0.1 second unit, to increase PWM duty in Smart Fan Control mode. - 131 - W83697HF/F Description Description Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 141

... Plug and Play Configuration The W83697HF uses Compatible PNP protocol to access configuration registers for setting up different types of configurations. In W83697HF, there are eleven Logical Devices (from Logical Device 0 to Logical Device B with the exception of logical device 4 for backward compatibility) which correspond to ...

Page 142

... A warm reset will not affect the configuration registers. 10.2.2 Extended Functions Enable Registers (EFERs) After a power-on reset, the W83697HF enters the default operating mode. Before the W83697HF enters the extended function mode, a specific value must be programmed into the Extended Function Enable Register (EFER) so that the extended function register can be accessed ...

Page 143

... Configuration Sequence To program W83697HF configuration registers, the following configuration sequence must be followed: (1). Enter the extended function mode (2). Configure the configuration registers (3). Exit the extended function mode 10.3.1 Enter the extended function mode To place the chip into the extended function mode, two successive wrtites of 0x87 must be applied to Extended Function Enable Registers(EFERs, i ...

Page 144

... OUT DX,AL ; select logical device 1 ; MOV DX,2EH MOV AL,F0H OUT DX,AL ; select CRF0 MOV DX,2FH MOV AL,3CH OUT DX,AL ; update CRF0 with value 3CH ;------------------------------------------ ; Exit extended function mode ;------------------------------------------ MOV DX,2EH MOV AL,AAH OUT DX, 135 - W83697HF/F Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 145

... Power down = 1 No Power down Bit 3 : URBPWD = 0 Power down = 1 No Power down Bit 2 : URAPWD = 0 Power down = 1 No Power down Bit 1 : PRTPWD = 0 Power down = 1 No Power down Bit 0 : FDCPWD = 0 Power down = 1 No Power down W83697HF/F Publication Release Date: Feb. 2002 - 136 - Revision 0.70 ...

Page 146

... The Compatible PnP address select registers have default values The Compatible PnP address select registers have no default value. The corresponding power-on setting pin is DTRA# (pin 50). CR25 (Default 0x00) Bit Reserved Bit 3 : URBTRI Bit 2 : URATRI Bit 1 : PRTTRI Bit 0 : FDCTRI. W83697HF/F Publication Release Date: Feb. 2002 - 137 - Revision 0.70 ...

Page 147

... Disable UART A legacy mode IRQ selecting, then MCR bit 3 is not effective on selecting IRQ Bit 0 : DSUBLGRQ = 0 Enable UART B legacy mode IRQ selecting, then MCR bit 3 is effective on selecting IRQ = 1 Disable UART B legacy mode IRQ selecting, then MCR bit 3 is not effective on selecting IRQ W83697HF/F Publication Release Date: Feb. 2002 - 138 - Revision 0.70 ...

Page 148

... Bit 1~0 : Reserved CR2A(GPIO2 ~ 5& Fresh ROM Interface Select Default 0xFF if PENROM during POR, default 0x00 otherwise) Bit 7 : (PIN 86 ~89 & 91 ~94 GPIO Fresh IF (xD7 ~ XD0) Bit 6 : (PIN GPIO Fresh IF (XA7 ~ XA0) W83697HF/F Publication Release Date: Feb. 2002 - 139 - Revision 0.70 ...

Page 149

... Bit These bits select IRQ resource for FDC. CR74 (Default 0x02 if PNPCSV = 0 during POR, default 0x04 otherwise) Bit Reserved. Bit These bits select DRQ resource for FDC. = 000 DMA0 = 001 DMA1 = 010 DMA2 = 011 DMA3 = 100 - No DMA active 111 W83697HF/F Publication Release Date: Feb. 2002 - 140 - Revision 0.70 ...

Page 150

... Normal Floppy Mode (Default Enhanced 3-mode FDD CRF1 (Default 0x00) Bit Boot Floppy = 00 FDD FDD FDD FDD D Bit Media ID1, Media ID0. These bits will be reflected on FDC's Tape Drive Register bit 7, 6. W83697HF/F Publication Release Date: Feb. 2002 - 141 - Revision 0.70 ...

Page 151

... Select Regular drives and 2.88 format = 01 3-mode drive = 10 2 Meg Tape = 11 Reserved Bit 2 : Reserved. Bit 1:0 : DTYPE0, DTYPE1: Drive Type select (Refer to TABLE B). CRF5 (Default 0x00) FDD1 Selection: Same as FDD0 of CRF4. W83697HF/F Publication Release Date: Feb. 2002 - 142 - Revision 0.70 ...

Page 152

... DRVDEN1(pin 3) SELDEN DRATE0 DRATE1 DRATE0 DRATE0 SELDEN DRATE0 DRATE1 - 143 - W83697HF/F SELDEN FM --- 1 250K 1 150K 0 125K 0 --- 1 250K 1 250K 0 125K 0 --- 1 250K 1 --- 0 125K 0 DRIVE TYPE 4/2/1 MB 3.5”“ 2/1 MB 5.25” ...

Page 153

... Standard and Bi-direction (SPP) mode = 001 EPP - 1.9 and SPP mode = 101 EPP - 1.7 and SPP mode = 010 ECP mode = 011 ECP and EPP - 1.9 mode = 111 ECP and EPP - 1.7 mode. W83697HF/F Publication Release Date: Feb. 2002 - 144 - Revision 0.70 ...

Page 154

... These two registers select Serial Port 2 I/O base address [0x100:0xFF8 byte boundary. CR70 (Default 0x03 if PNPCSV = 0 during POR, default 0x00 otherwise) Bit Reserved. Bit [3:0] : These bits select IRQ resource for Serial Port 2. W83697HF/F Publication Release Date: Feb. 2002 - 145 - Revision 0.70 ...

Page 155

... Active pulse 3/16 bit time Inverting IRTX/SOUTB pin Inverting IRTX/SOUTB & 500 KHZ clock Inverting IRTX/SOUTB Inverting IRTX/SOUTB & 500 KHZ clock - 146 - W83697HF/F IRRX high Demodulation into SINB/IRRX Demodulation into SINB/IRRX routed to SINB/IRRX routed to SINB/IRRX Demodulation into SINB/IRRX Demodulation into SINB/IRRX Publication Release Date: Feb ...

Page 156

... Bit Reserved. Bit Activate Game Port./GP1 = 0 Game Port/GP1 is inactive. CR60 (Default 0x02, 0x01 if PNPCSV = 0 during POR, default 0x00 otherwise) These two registers select the Game Port base address [0x100:0xFFF byte boundary. W83697HF/F Publication Release Date: Feb. 2002 - 147 - Revision 0.70 ...

Page 157

... These two registers select the MIDI Port base address [0x100:0xFFF] on 2byte boundary. CR62 (Default 0x00, 0x00 ) These two registers select the GPIO5 base address [0x100:0xFFF] on 4byte boundary. IO address : CRF1 base address IO address + 1 : CRF3 base address IO address + 2 : CRF4 base address IO address + 3 : CRF5 base address W83697HF/F Publication Release Date: Feb. 2002 - 148 - Revision 0.70 ...

Page 158

... Bit select PLED mode = 00 Power LED pin is tri-stated Power LED pin is droved low Power LED pin is a 1Hz toggle pulse with 50 duty cycle Power LED pin is a 1/4Hz toggle pulse with 50 duty cycle. W83697HF/F Publication Release Date: Feb. 2002 - 149 - Revision 0.70 ...

Page 159

... GPIO3 is inactive Bit Activate GPIO2 GPIO2 is inactive. CR60,61(Default 0x00,0x00). These two registers select the GP2,3,4 base address(0x100:FFE bytes boundary. IO address: : CRF1 base address IO address + 1 : CRF3 base address IO address + 2 : CRF7 base address W83697HF/F Publication Release Date: Feb. 2002 - 150 - Revision 0.70 ...

Page 160

... If a port is programmed input port, then its respective bit can only be read. CRF8 (GP5 inversion register. Default 0x00 ) When set to a '1', the incoming/outgoing port value is inverted. When set to a '0', the incoming/outgoing port value is the same as in data register. W83697HF/F Publication Release Date: Feb. 2002 - 151 - Revision 0.70 ...

Page 161

... CRE6 (Default 0x00) Bit Reserved. Bit CIR Baud Rate Divisor. The clock base of CIR is 32khz, so that the baud rate is 32khz divided by ( CIR Baud Rate Divisor + 1). W83697HF/F PME / Publication Release Date: Feb. 2002 - 152 - Revision 0.70 ...

Page 162

... Bit 0 : URBPME. UART B auto power management enable disable the auto power management functions enable the auto power management functions. W83697HF/F Publication Release Date: Feb. 2002 - 153 - Revision 0.70 ...

Page 163

... The status bit is set by their source function or device and is cleared by writing a1. Writing a 0 has no effect. Bit 3 : HMIRQSTS. Hardware monitor IRQ status. Bit 2 : WDTIRQSTS. Watch dog timer IRQ status. Bit 1 : CIRIRQSTS. Consumer IR IRQ status. Bit 0 : MIDIIRQSTS. MIDI IRQ status. W83697HF/F Publication Release Date: Feb. 2002 - 154 - Revision 0.70 ...

Page 164

... UART B's IRQ. PME generation due to the GPIO IRQ function or device's IRQ. PME interrupt due to hardware monitor's IRQ. PME interrupt due to hardware monitor's IRQ. PME interrupt due to watch dog timer's IRQ. - 155 - W83697HF/F (IRQIN1EN Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 165

... PME interrupt due to MIDI's IRQ. PME interrupt due to MIDI's IRQ. PME PME output enable bit. PME will be generated. Only the IRQ status bit is set. event will be generated. - 156 - W83697HF/F PME or SMI interrupt for event. Publication Release Date: Feb. 2002 Revision 0.70 ...

Page 166

... W83697HF W83697HF 921A2B282012345 921A2B282012345 1st line: Winbond logo 2nd line: the type number: W83697HF 3th line: the tracking code 821: packages made in '98, week 21 A: assembly house ID; A means ASE, S means SPIL.... etc. 2: Winbond internal use revision; A means version A, B means version B ...

Page 167

... Detail F Winbond Electronics (H.K.) Ltd. Rm. 803, World Trade Square, Tower II 123 Hoi Bun Rd., Kwun Tong Kowloon, Hong Kong TEL: 852-27516023 -7 FAX: 852-27552064 - 158 - W83697HF/F Dimension in mm Dimension in inch Symbol Min Nom Max Min Nom Max A 0.25 0.35 0.45 0.010 0.014 1 A 2.57 2 ...

Related keywords