Datasheet NM95MS16 Datasheet

Page 1
July 1998
NM95MS16 User’s Guide
The User’s Guide contains the description of certain internal registers and Plug and Play resource data registers in EEPROM.The Internal Registers are used by the chip for Power On Configuration. The Plug and Play resource data registers are for Plug and Play resource allocation.
NM95MS16 User’s Guide
Power-On Configuration Load
Power-on defaults for certain internal registers which determine some fundamental characteristics of the NM95MS16 are loaded from the EEPROM. The details of the addresses and their settings are indicated below. The on-chip EEPROM for the NM95MS16 has 16-bit wide data registers. The table below therefore assumes 16-bit wide data registers.
Word Byte Purpose of the
Address Address 16-bit Register
00 0000 I/O Decode Qualification Bits 01 0002 DMA Level Selection Bits 02 0004 Interrupt Level Selection-A 03 0006 Interrupt Level Selection-B 04 0008 Chip Select 0 Decode Size 05 000A Chip Select 1 Decode Size 06 000C Chip Select 2 Decode Size 07 000E Reserved for Future Use 08 0010 Reserved for Future Use 09 0012 Reserved for Future Use 0A 0014 Reserved for Future Use
0B 0016 Reserved for Future Use 0C 0018 Reserved for Future Use 0D 001A Reserved for Future Use 0E 001C Reserved for Future Use 0F 001E Reserved for Future Use
10 0020 Vendor ID
11 0022 Vendor ID
12 0024 Serial Number
13 0026 Serial Number
14 (LSB) 0028 LSB = Checksum of
(Vendor ID + Serial Number)
14 (MSB) 0029 MSB = Start of Resource Data
Structure
Each of the above registers is now discussed in detail below.
RWQ <2:0>: Read, Write Qualify: If this bit is set to 0, then the I/O chip selects are qualified by IOWR in a write cycle and IORD in a read cycle. If 1, the I/O chip selects are derived from addresses only.
MS: Mode Select Bits. If these bits are set to “00,” then Normal DMA mode is selected. When set to “01” Extended Interrupt/Chip­select expansion mode is selected. When set to “10,” then Extended DMA mode is selected.
RFU: Reserved for Future Use: Must be set to “0”.
DMA LEVEL SELECTION REGISTER:
15–8 7–5 4–3 2–0
RFU ISA DRQ1 RFU ISA DRQ0
ISADRQ <12:0>:These pins will be physically connected to ISA DRQ lines. This will allow the user to customize his choice of 2 out of 7 available ISADRQ channels on the bus. For example if ISA DRQ0 is connected to DRQ5 on the ISA bus then bits “2–0” should be set as “101” meaning ISADRQ0 is assigned to DRQ/DACK 5.
This register is valid only for Normal DMA mode (MODE “00”). For Mode “01” all of the bits of this register are Don’t care.
RFU: Reserved for Future Use: Must be set to “0.”
INTERRUPT LEVEL SELECTION REGISTER—A:
15–12 11–8 7–4 3–0
IRQOUT3 IRQOUT2 IRQOUT1 IRQOUT0
INTERRUPT LEVEL SELECTION REGISTER—B:
15–12 11–8 7–4 3–0
IRQOUT7 IRQOUT6 IRQOUT5 IRQOUT4
IRQOUT[7:0]: These pins will be physically connected to the ISA IRQ lines on the bus as specified in the registers above. This will enable the user to customize his choice of 8 out of 11 available ISA IRQ channels. For example, if IRQOUTO is assigned to IRQ7 on the ISA bus, then bits “3–0” should be set as “0111”, meaning IRQOUT0 is assigned to IRQ7. In DMA mode bits (8–15) of Interrupt Level Selection Register-B are Don’t Care.
I/O DECODE QUALIFICATION REGISTER:
15–10 9–8 7–4 3 2 1 0
RFU MS RFU RFU RWQ2 RWQ1 RWQ0
© 1998 Fairchild Semiconductor Corporation
1
www.fairchildsemi.com
Page 2
Power-On Configuration Load for the NM95MS16 (Continued)
CHIP SELECT DECODE SIZE REGISTER <3:0>:
15–8 7–0
RFU Chip Select Decode size
Chip Select Decode Size: These bits function as masks in the chip select decode function and will set the size of the decode (from the base address) according to the selections as shown.
Chip Select Decode Size
Decode Size Bits:
00000000 1 byte 00000001 2 bytes 00000011 4 bytes 00000111 8 bytes 00001111 16 bytes 00011111 32 bytes 00111111 64 bytes 01111111 128 bytes 11111111 256 bytes
RFU: Reserved for Future Use. Vendor ID Registers: The lower address contains the least
significant word of the Vendor ID (as defined in the Plug and Play Standard) and the higher address contains the most significant word.
Serial Number Registers: The lower address contains the least significant word of the Serial number of the Card (as defined in the Plug and Play Standard) and the higher address contains the most significant word.
Checksum Register: This 8-bit quantity occupies the lower 8-bits of the word at address 0014 (Byte address 0028). This checksum is the LFSR checksum of the vendor ID and the Serial Number. Please refer to the PnP standard on how to compute this checksum.
Start of Resource Data Structure: The resource data structure begins at the MSB of word address 0014 (Byte address 0029).
NM95MS16 User’s Guide
2
www.fairchildsemi.com
Page 3
Plug and Play Registers Implemented on the NM95MS16
TABLE 1. Plug and Play Standard Registers
Name Address Definition
Port Value
Set RD__DATA Port 0x00 Writing to this location modifies the address of the port used for reading
from the Plug and Play ISA cards. Bits[7:0] become I/O read port address bits[9:2]. Reads from this register are ignored.
Serial Isolation 0x01 A read to this register causes a Plug and Play cards in the Isolation
state to compare one bit of the boards ID. This process is fully described above. This register is read only.
Config Control 0x02 Bit[2]—Reset CSN to 0
Bit [1]—Return to the Wait for Key state Bit[0]—Reset all logical devices and restore configuration registers to their power-up values. A write to bit[0] of this register performs a reset function on all logical devices. This resets the contents of configuration registers to their default state. All card’s logical devices enter their default state and the CSN is preserved. A write to bit[I] of this register causes all cards to enter the Wait for Keystate but all CSNs are preserved and logical devices are not affected. A write to bit[2] of this register causes all cards to reset their CSN to zero. This register is write-only. The values are not sticky, that is, hardware will automatically clear them and there is no need for software to clear the bits.
Wake[CSN] 0x03 A write to this port will cause all cards that have a CSN that matches
the write data[7:0] to go from the Sleep state to either the Isolation state if the write data for this command is zero or the Config state if the write data is not zero. Additionally, the pointer to the byte-serial device is reset. This register is write-only.
Resource Data 0x04 A read from this address reads the next byte of resource information.
The Status register must be polled until bit[0] is set before this register may be read. This register is read only.
Status 0x05 Bit[0] when set indicates it is okay to read the next data byte from the
Resource Data register. This register is read-only.
Card Select Number 0x06 A write to this port sets a card’s CSN. The CSN is a value uniquely
assigned to each ISA card after the serial identification process so that each card may be individually selected during a Wake[CSN] command. This register is read/write.
Logical Device Number 0x07 Selects the current logical device. All reads and writes of memory, I/O,
interrupt and DMA configuration information access the registers of the logical device written here. In addition, the I/O Range Check and Activate commands operate only on the selected logical device. This register is read-only. It returns a value of 0x00 on Read.
NM95MS16 User’s Guide
3
www.fairchildsemi.com
Page 4
Plug and Play Registers Implemented on the NM95MS16 (Continued)
TABLE 2. Plug & Play Logical Device Control Registers
Name Address Definition
Port Value
Activate 0x30 For each logical device there is one activate register that controls
I/O Range Check 0x31 This register is used to perform a conflict check on the I/O port range
I/O port base address bits[15:8] 0x60 Read/write value indicating the selected I/O lower limit address Descriptor 0 bits[15:8] for I/O descriptor 0. If a logical device indicates it only uses 10
I/O port base address bits[7:0] 0x61 Read/write value indicating the selected I/O lower limit address bits[7:0] Descriptor 0 for I/O descriptor 0.
I/O port address descriptors [1–2]
0x62–0x65 I/O base addresses for I/O descriptors 1 and 2.
whether or not the logical device is active on the ISA bus. Bit[0], if set, activates the logical device. Bits[7:I] are reserved and must return 0 on reads. This is a read/write register. Before a logical device is activated, I/O range check must be disabled.
programmed for use by a logical device. Bit[7:2] Reserved and must return 0 on reads Bit[1] Enable I/O Range check, if set then I/O Range Check is enabled. I/O range check is only valid when the logical device is inactive. Bit[0], if set, forces the logical device to respond to I/O reads of the logical device’s assigned I/O range with a 0x55 when I/O range check is in operation. If clear, the logical device drives 0xAA. This register is read/write.
bit decoding, then bits[15:10] do not need to be supported.
NM95MS16 User’s Guide
TABLE 3. Interrupt Configuration
Name Register Definition
Index
Interrupt request level select 0 0x70 Read/write value indicating selected interrupt level. Bits[3:0] select
which interrupt level is used for Interrupt 0. One selects IRQL 1, fifteen selects IRQL fifteen. IRQL 0 is not a valid interrupt selection and represents no interrupt selection.
Interrupt request type select 0 0x71 Read-only value indicating which type of interrupt is used for the
Interrupt request level select 1 0x72 Read/write value indicating selected interrupt level. Bits[3:0] select
Interrupt request type select 1 0x73 Read-only value indicating which type of interrupt is used for the
Request Level selected above. NM95MS16 supports only “High True­Edge Sensitive” interrupt type. This type is compatible with ISA bus interrupt type. This register returns “0x02” value on read.
which interrupt level is used for Interrupt 0. One selects IRQL 1, fifteen selects IRQL fifteen. IRQL 0 is not a valid interrupt selection and represents no interrupt selection.
Request Level selected above. NM95MS16 supports only “High True­Edge Sensitive” interrupt type. This type is compatible with ISA bus interrupt type. This register returns “0x02” value on read.
4
www.fairchildsemi.com
Page 5
Plug and Play Registers Implemented on the NM95MS16 (Continued)
TABLE 4. DMA Channel Configuration
Name Register Definition
Index
DMA Channel Select 0 0x74 Read/write value indicating selected DMA channels. Bits[2:0] select
which DMA channel is in use for DMA 0. Zero selects DMA channel 0, seven selects DMA channel 7. DMA channel 4, the cascade channel is used to indicate no DMA channel is active.
Programming Interface
TABLE 5. Programming E2PROM Register
Name Register Definition
Index
Status and Command Register 0xF0 Bit[I:0]—OP Code bits
10—Read operation 01—Write operation 11—Erase operation
Bit[2]—GA (Go ahead bits)
If set to I, the programming will continue Bit[6:3]—Reserved, should be 0 Bit[7]—It provides A8 of the address (Note 1)
[A0–A7] is provided by Address Reg at 0xF1.
Address Register 0xF1 Address Register [A0–A7] Data Register 0xF2 Data Byte [MSB] Data Register 0xF3 Data Byte [LSB] Status Register 0x05 Bit [0]—STATUS/BUSY bit during programming. “0” is busy, “1” is done
NM95MS16 User’s Guide
Note 1: Bit[7] should be 1 for programming the PNP portion of the internal memory.
EEPROM PROGRAMMING METHOD
A total of 6k bits of EEPROM is available on-chip. Of this, 2k bits are dedicated for the Plug and Play Access and the 4k bits are available for access externally. For purposes of programming the contents of the EEPROM, the entire 6k bits are accessible via the ISA bus.
Specifically, the contents of the EEPROM may be altered by putting the device in the Config State (as defined in the Plug and Play Standard). Under this state, the following registers detailed above are accessible. The data to be programmed is loaded in registers at address 0xF3 and 0xF2 (LSB and MSB respectively).
The address to be programmed is loaded in register at address 0xF1. Addressing 6k bits of memory requires 9 bits of address. The ninth bit of address is provided through the register at address 0xF0, Bit [7].
Both read and write operations are possible. The opcodes are as indicated in the table. The actual operation does not begin until the Go Ahead (GA) bit is set. Programming a word takes approxi­mately 10 ms. The status of the operation can be polled by the status bit. This bit is set when the operation is in progress and will be reset when complete.
5
www.fairchildsemi.com
Page 6
Programming Interface (Continued)
EEPROM CHARACTERISTICS (FOR EXTERNAL ACCESS)
Symbol Parameter Conditions Min Max Units
f t t t t t t t t t t t t t
SK
SKH
SKL
SKS
CS
CSS
DH
DIS
DIH
PD1
PD0
SV
DF
WP
SK Clock Frequency 0 1 MHz SK High Time 250 ns SK Low Time 250 ns SK Setup Time 50 ns CS Low Time (min) 250 ns CS Setup Time Relative to 50 ns DO Hold Time Relative to 70 ns DI Setup Time Relative to 100 ns DI Hold Time Relative to 20 ns Output Delay to “1” Relative to 500 ns Output Delay to “0” Relative to 500 ns CS to Status Valid Relative to 500 ns CS to DO in TRI-STATE CS = V Write Cycle Time CS = V
NM95MS16 User’s Guide
IL
IL
100 ns
10 ms
AVAILABILITY OF EXTRA 4k EEPROM
The Extra 4k EEPROM built into NM95MS16 for the Functional logic to be used for other purposes becomes available after the DO pin on the EEPROM Microwire port becomes high. This DO pin is pulled low when the EEPROM is accessed internally by the Plug and Play logic.
LEGACY ISA SYSTEMS
The LEGACY system collectively refers to Older ISA cards or Systems that are not Plug and Play compatible (Motherboard
Under this situation, the card will be Powered ON inactive. Once the system is Booted, NM95MS16 can be configured by the O/S (Windows’95) or by the external Plug-n-Play utilities.
2. NM95MS16 on a Bootable ISA ADD-ON Plug and Play Card. Since the card cannot on its own come up active unless some
Plug-n-Play configuration software configures it, NM95MS16 cannot be used for a Bootable card on a Legacy system.
BIOS being Non Plug and Play compliant). In a LEGACY system there can be two of the following situations
where NM95MS16 will be used.
Life Support Policy
Fairchild's products are not authorized for use as critical components in life support devices or systems without the express written approval of the President of Fairchild Semiconductor Corporation. As used herein:
1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user.
2. A critical component is any component of a life support device or system whose failure to perform can be reasonably ex­pected to cause the failure of the life support device or system, or to affect its safety or effectiveness.
Fairchild Semiconductor Fairchild Semiconductor Fairchild Semiconductor Fairchild Semiconductor Americas Europe Hong Kong Japan Ltd. Customer Response Center Fax: +44 (0) 1793-856858 8/F, Room 808, Empire Centre 4F, Natsume Bldg.
Tel. 1-888-522-5372 Deutsch Tel: +49 (0) 8141-6102-0 68 Mody Road, Tsimshatsui East 2-18-6, Yushima, Bunkyo-ku
Fairchild does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and Fairchild reserves the right at any time without notice to change said circuitry and specifications.
English Tel: +44 (0) 1793-856856 Kowloon. Hong Kong Tokyo, 113-0034 Japan Français Tel: +33 (0) 1-6930-3696 Tel; +852-2722-8338 Tel: 81-3-3818-8840 Italiano Tel: +39 (0) 2-249111-1 Fax: +852-2722-8383 Fax: 81-3-3818-8841
6
www.fairchildsemi.com
Loading...