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.
Power-On Configuration Load for the NM95MS15
Power-on defaults for certain internal registers which determine some fundamental characteristics of the NM95MS15 are
loaded from the EEPROM. Thedetails of the addresses and their settings are indicated below. The on-chip EEPROM for the
NM95MS15 has 16-bit wide data registers. The table below therefore assumes 16-bit wide data registers.
WordBytePurpose of the
AddressAddress16-bit Register
000000I/O Decode Qualification Bits
010002DMA Level Selection Bits
020004Interrupt Level Selection-A
030006Interrupt Level Selection-B
040008Chip Select 0 Decode Size
05000AChip Select 1 Decode Size
06000CChip Select 2 Decode Size
07000EChip Select 3 Decode Size
080010Reserved for Future Use
090012Reserved for Future Use
0A0014Reserved for Future Use
0B0016Reserved for Future Use
0C0018Reserved for Future Use
0D001AReserved for Future Use
0E001CReserved for Future Use
0F001EReserved for Future Use
100020Vendor ID
110022Vendor ID
120024Serial Number
130026Serial Number
14 (LSB)0028LSB=Checksum of (Vendor ID + Serial Number)
14 (MSB)0029MSB=Start of Resource Data Structure
Each of the above registers is now discussed in detail below.
I/O DECODE QUALIFICATION REGISTER:
15–14131211–109–87–43210
RFUMRW1MRW0RFUMSRFURWQ3RWQ2RWQ1RWQ0
<
3: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
RWQ
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.
<
MRW
1:0>: MEMORY Read, Write Qualify: If this bit is set to 0, then the MEMORY chip selects are qualified by SMEMW
in a write cycle and SMEMR*in a read cycle. If 1, the MEMORY chip selects are derived from addresses only.
Power-On Configuration Load for the NM95MS15 (Continued)
<
ISADRQ
3 out of 7 available ISA DRQ channels on the bus. For example if ISADRQ0isconnected 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 DMAmode(MODE “00”) and Extended DMA mode (MODE 02). For Mode “01” allof the bits
of this register are Don’t care.
RFU: Reserved for Future Use: Must be set to “0”.
INTERRUPT LEVEL SELECTION REGISTER — A:
INTERRUPT LEVEL SELECTION REGISTER — B:
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 Extended DMA mode
bits (8–15) of Interrupt Level Selection Register-B are Don’t Care.
IRQOUT[8: 10]: These pins are hard coded to IRQ10, IRQ11, IRQ12 on the ISA bus respectively in extended interrupt mode.
CHIP SELECT DECODE SIZE REGISTER
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.
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 quantityoccupies the lower 8-bits of the word at address 0014(Byte address 0028). Thischeck-
sum is the LFSR checksum of the vendorID and theSerial Number. Please refer to the Pand P standard on how tocompute this
checksum.
Start of Resource Data Structure: The resource data structure begins at the MSB of word address 0014 (Byte address 0029).
2:0>:These pins will be physically connected to ISA DRQ lines. This will allow the user to customize his choice of
Plug and Play Registers Implemented on the NM95MS15
TABLE 1. Plug and Play Standard Registers
NameAddressDefinition
Port
Value
Set RD__DATA Port0x00Writing to this location modifies the address of the port used for reading from the
Serial Isolation0x01A read to this register causes a Plug and Play cards in the
Config Control0x02Bit[2]— Reset CSN to 0
Wake[CSN]0x03A write to this port will cause all cards that have a CSN that matches the write
Resource Data0x04A read from this address reads the next byte of resource information. The Status
Status0x05Bit[0] when set indicates it is okay to read the next data byte from the Resource
Card Select Number0x06A write to this port sets a card’s CSN. The CSN is a value uniquely assigned to
Logical Device Number0x07Selects the current logical device. All reads and writes of memory, I/O, interrupt
Plug and Play ISA cards. Bits[7:0] become I/O read port address bits[9:2]. Reads
from this register are ignored.
compare one bit of the boards ID. This process is fully described above. This
Isolation
register is read only.
Bit [1] —Return to the
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
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.
data[7:0] to go from the
for this command is zero or the
Additionally, the pointer to the byte-serial device is reset. This register is write-only.
register must be polled until bit[0] is set before this register may be read. This
register is read only.
Data register. This register is read-only.
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.
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/write.
Wait for Key
Sleep
state
state to either the
Config
Isolation
state if the write data is not zero.
Wait for Key
state if the write data
state to
state but
3www.fairchildsemi.com
Page 4
Plug and Play Registers Implemented on the NM95MS15 (Continued)
TABLE 2. Plug & Play Logical Device Control Registers
NameAddressDefinition
Port
Value
Activate (Note 1)0x30For each logical device there is one activate register that
I/O Range Check (Note 1)0x31This register is used to perform a conflict check on the I/O port
Memory base address bits[23:16] (Note 1)
descriptor 0
Memory base address bits[15:8] (Note 1)
descriptor 0
Memory control (Note 1)0x42Bit[1] specifies 8-/16-bit control. This bit is set to indicate 16-bit
Memory upper limit address bits[23:16]
or range length bits[23:16] (Note 1)
for descriptor 0
Memory upper limit address bits[15:8]
or range length bits[15:8] (Note 1)
for descriptor 0
I/O port base address bits[15:8] (Note 1)
descriptor 0
I/O port base address bits[7:0] (Note 1)
descriptor 0
I/O port base address bits[15:8] (Note 1)
descriptor 1
I/O port base address bits[7:0] (Note 1)
descriptor 1
0x40Read/write value indicating the selected memory base address
0x41Read/write value indicating the selected memory base address
0x43Read/write value indicating the selected memory high address
0x44Read/write value indicating the selected memory high address
0x60Read/write value indicating the selected I/O lower limit address
0x61Read/write value indicating the selected I/O lower limit address
0x62Read/write value indicating the selected I/O base address
0x63Read/write value indicating the selected I/O base address
controls 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.
range 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.
bits [23:16] for memory descriptor 0.
bits [15:8] for memory descriptor 0.
memory, and cleared to indicate 8-bit memory.
Bit[0], set always indicates the next field is the upper limit for the
address.
Bit[0] is read-only. On NM95MS15 this bit is set to “1”.
bits[23:16] for memory descriptor 0.
If bit[0] of memory control is 0, this is the range length.
If bit[0] of memory control is 1, this is upper limit for memory
address (equal to memory base address plus the range length
allocated).
bits[15:8] for memory descriptor 0, either a memory address or a
range length as described above..
bits[15:8] for I/O descriptor 0. If a logical device indicates it only
uses 10 bit decoding, then bits[15:10] do not need to be
supported.
bits[7:0] for I/O descriptor 0.
bits[15:8] for I/O descriptor 1. If a logical device indicates it only
uses 10 bit decoding, then bits[15:10] do not need to be
supported.
bits[7:0] for I/O descriptor 1.
www.fairchildsemi.com4
Page 5
Plug and Play Registers Implemented on the NM95MS15 (Continued)
TABLE 3. Interrupt Configuration
NameRegisterDefinition
Index
Interrupt request level select 0
(Note 1)
Interrupt request type select 0
(Note 1)
NameRegisterDefinition
Index
DMA channel select 0
(Note 1)
Note 1: All of the above registers are for the first logical device. A second set of these registers are provided for the second logical device, though it is not shown
here.
0x74Read/write value indicating selected DMA channels. Bits[2:0] select which DMA
0x70Read/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.
0x71Read/write value indicating which type of interrupt is used for the Request
Level selected above.
Bit[I]: Level, 1=high, 0=low
Bit[0]: Type, 1=level, 0=edge
If a card only supports 1 type of interrupt, this register may be read-only.
TABLE 4. DMA Channel Configuration
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
NameRegisterDefinition
Index
Status and Command Register0xF0Bit[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 2).
[A0–A7] is provided by Address Reg at 0xF1.
Address Register0xF1Address Register [A0–A7]
Data Register0xF2Data Byte [MSB]
Data Register0xF3Data Byte [LSB]
STATUS Register0x05BIT [0]: STATUS/BUSY bit during programming “0” is BUSY, “1” is done.
Note 2: Bit [7] should be 1 for programming the PNP portion of the internal EEPROM.
5www.fairchildsemi.com
Page 6
Programming Interface (Continued)
EEPROM PROGRAMMING METHOD
A total of 8k bits of EEPROM is available on-chip. Of this, 4k 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 8k 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 8k bits of memory requires 9 bits of address. The ninth bit of address is provided through the register at address
0xF0.
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 approximately 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.
AVAILABILITY OF EXTRA 4k EEPROM
The Extra 4k EEPROM built into NM95MS15 for the Functional logic to be used for other purposes becomes available after the
NM95MS15 USER’S GUIDE
DO pin on the EEPROM Microwire port becomes high. This DO pin is pulled low whenthe EEPROM is accessed internallyby the
Plug and Play logic.
LEGACY ISA SYSTEMS
The LEGACY system collectively refers to Older ISA cards or Systems that are notPlug and Play compatible(Motherboard BIOS
being Non Plug and Play compliant)
In a LEGACY system there can be two of the following situations where NM95MS15 will be used.
1. NM95MS15 on a Non Bootable ISAADD-ON Plug and Play Card.
Under this situation, the card will bePowered ONinactive. Oncethe system isBooted, NM95MS15can beconfigured by the
O/S (Windows’95) or by the external Plug-n-Play utilities.
2. NM95MS15 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 Software configures it, NM95MS15 cannot be
used for a Bootable card on a Legacy system.
EEPROM CHARACTERISTICS (FOR EXTERNAL ACCESS)
SymbolParameterConditionsMinMaxUnits
f
SK
t
SKH
t
SKL
t
SKS
t
CS
t
CSS
t
DH
t
DIS
t
DIH
t
PD1
t
PD0
t
SV
t
DF
t
WP
SK Clock Frequency01MHz
SK High Time250ns
SK Low Time250ns
SK Setup Time50ns
CS Low Time (min)250ns
CS Setup TimeRelative to50ns
DO Hold TimeRelative to70ns
DI Setup TimeRelative to100ns
DI Hold TimeRelative to20ns
Output Delay to “1”Relative to500ns
Output Delay to “0”Relative to500ns
CS to Status ValidRelative to500ns
CS to DO in TRI-STATECS=V
Write Cycle TimeCS=V
IL
IL
100ns
10ms
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.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.