The User’s Guide contains the description of certain internal registers and PnP resource data registers in the E2PROM. The
internal registers are used by the chip for power-on configuration. The PnP resource data registers are for PnP resource
allocation.
Power-On Configuration Load
Power-on defaults for certain internal registers which determine some fundamental characteristics of the NM95MS14
are loaded from the EEPROM. The details of the addresses
and their settings are indicated below. The on-chip
EEPROM for the NM95MS14 has 16-bit wide data registers.
The table below therefore assumes 16-bit wide data registers.
WordBytePurpose of the
Address Address16-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)0028LSBeChecksum of
(Vendor ID
a
Serial Num.)
14 (MSB)0029MSBeStart of Resource Data
Structure
is a registered trademark of National Semiconductor Corporation.
TRI-STATE
É
MICROWIRETMis a trademark of National Semiconductor Corporation.
Each of the above registers is now discussed in detail below.
I/O DECODE QUALIFICATION REGISTER
15–109–87–43210
RFUMSRFURWQ3RWQ2RWQ1 RWQ0
RWQk3:0l: 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 DMA
mode is selected. When set to ‘01’ Extended Interrupt/
Chip-select expansion mode is selected.
RFU: Reserved for Future Use: Must be set to ‘0’.
DMA LEVEL SELECTION REGISTER
15–87–54–32–0
RFUISA DRQ1RFUISA DRQ0
ISADRQk1:0l: 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 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–1211–87–43–0
IRQOUT3IRQOUT2IRQOUT1IRQOUT0
INTERRUPT LEVEL SELECTION REGISTERÐB
15–1211–87–43–0
IRQOUT7IRQOUT6IRQOUT5IRQOUT4
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
IRQOUT0 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.
NM95MS14 User’s Guide
Page 2
Power-On Configuration Load (Continued)
k
l
CHIP SELECT DECODE SIZE REGISTER
15–87–0
RFUChip 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.
Vendor ID Registers: The lower address contains the least
significant word of the Vendor ID (as defined in the Plug &
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 & 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).
Page 3
Plug & Play Registers Implemented on the NM95MS14
TABLE A. Plug & Play Standard Registers
NamePortDefinition
Set RDÐDATA Port0x00Writing to this location modifies the address of the port used for reading from the Plug &
Serial Isolation0x01A read to this register causes the Plug & Play cards in the
Config Control0x02Bit[2]ÐReset CSN to 0
Wake[CSN
Resource Data0x04A read from this address reads the next byte of resource information. The Status register
Status0x05Bit[0]when set indicates it is okay to read the next data byte from the Resource Data
Card Select Number0x06A write to this port sets a card’s CSN. The CSN is a value uniquely assigned to each ISA
Logical Device Number0x07Selects the current logical device. All reads and writes of memory, I/O, interrupt and
]
Address
Value
Play ISA cards. Bits[7:0]become I/O read port address bits[9:2]. Reads from this
register are ignored.
bit of the boards ID. This process is fully described above. This register is read only.
Isolation
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[1]of this register causes all cards to enter the
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.
0x03A write to this port will cause all cards that have a CSN that matches the write data[7:0
to go from the
is zero or the
byte-serial device is reset. This register is write-only.
must be polled until bit[0]is set before this register may be read. This register is read
only.
register. This register is read-only.
card after the serial identification process so that each card may be individually selected
during a Wake[CSN]command. This register is read/write.
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. If a card has only 1 logical device, this location
should be a read-only value of 0x00.
Wait for Key
Sleep
state to either the
Config
state if the write data is not zero. Additionally, the pointer to the
state
Isolation
state if the write data for this command
state to compare one
Wait for Key
state but all
NM95MS14 User’s Guide
]
Page 4
Plug & Play Registers Implemented on the NM95MS14 (Continued)
TABLE A-1. Plug and Play Logical Device Control Registers
NamePortDefinition
Activate0x30For each logical device there is one activate register that controls whether
NM95MS14 User’s Guide
I/O Range Check0x31This register is used to perform a conflict check on the I/O port range
I/O Port Base Address Bits[15:8
Descriptor 0
I/O Port Base Address Bits[7:0
Descriptor 0
I/O Port Address Descriptors[1–6]0x62–0x6DI/O base addresses for I/O descriptors 1 – 6.
I/O Port Base Address Bits[15:8
Descriptor 7
I/O Port Base Address Bits[7:0
Descriptor 7
]
]
Address
Value
or not the logical device is active on the ISA bus. Bit[0], if set, activates
the logical device. Bits[7:1]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.
]
]
0x60Read/write value indicating the selected I/O lower limit address 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.
0x61Read/write value indicating the selected I/O lower limit address bits[7:0
for I/O descriptor 0.
0x6ERead/write value indicating the selected I/O base address bits[15:8]for
I/O descriptor 3. If a logical device indicates it only uses 10 bit decoding,
then bits[15:10]do not need to be supported.
0x6FRead/write value indicating the selected I/O base address bits[7:0]for
I/O descriptor 3.
]
]
TABLE A-2. Interrupt Configuration
Name
Interrupt Request Level Select 00x70Read/write value indicating selected interrupt level. Bits[3:0]select which
Interrupt Request Type Select 00x71Read/write value indicating which type of interrupt is used for the Request Level
Interrupt Request Level Select 10x72Read/write value indicating selected interrupt level. Bits[3:0]select which
Interrupt Request Type Select 10x73Read/write value indicating which type of interrupt is used for the Request Level
Register
Index
Definition
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.
selected above.
e
Bit[1]: Level, 1
Bit[0]: Type, 1
If a card only supports 1 type of interrupt, this register may be read-only.
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.
selected above.
Bit[1]: Level, 1
Bit[0]: Type, 1
high, 0elow
e
level, 0eedge
e
high, 0elow
e
level, 0eedge
Page 5
Plug & Play Registers Implemented on the NM95MS14 (Continued)
TABLE A-3. DMA Channel Configuration
Name
DMA Channel Select 00x74Read/write value indicating selected DMA channels. Bits[2:0]select which DMA channel
DMA Channel Select 00x75Read/write value indicating selected DMA channels. Bits[2:0]select which DMA channel
Register
Index
Definition
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.
is in use for DMA 1. 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 A-4. Programming E2PROM Registers
Name
Status and Command Register0xF0Bit[1:0]ÐOP Code bits
Since EEPROM is a slow device, this bit is provided to show that EEPROM is
still BSY and the previous data is getting programmed. The user program
should poll this bit and should proceed only if this bit is 0. If it is set to 1, it
means BSY.
Bit[6:4]ÐReserved, should be 0
Bit[7]ÐIt provides A8 of the address
[
A0–A7]is provided by Address Reg.
]
]
]
NM95MS14 User’s Guide
EEPROM PROGRAMMING METHOD
A total of 6k bits of EEPROM is available on-chip. Of this, 2k
bits are dedicated for the Plug & 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
& Play Standard). Under this state, the following registers
detaiIed above are accessible. The data to be programmed
is loaded in registers at address 0xF3 and 0xF4 (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.
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 poIIed by the status bit. This bit is set when the
operation is in progress and will be reset when compIete.
Page 6
Programming Interface (Continued)
EEPROM CHARACTERISTICS (FOR EXTERNAL ACCESS)
SymbolParameterConditionsMinMaxUnits
f
SK
t
SKH
t
SKL
t
NM95MS14 User’s Guide
t
t
t
t
t
t
t
t
t
t
SKS
CS
CSS
DH
DIS
DIH
PD1
PD0
SV
DF
WP
AVAILABILITY OF EXTRA 4k EEPROM
The extra 4k EEPROM built into NM95MS14 for the FunctionaI Iogic to be used for other purposes becomes available
after the DO pin on the EEPROM MICROWIRE
comes high. This DO pin is pulled Iow when the EEPROM is
accessed internally by the Plug & Play Iogic.
LEGACY ISA SYSTEMS
The LEGACY system coIIectively refers to Older ISA cards
or Systems that are not Plug & Play compatible (Motherboard BIOS being Non PnP compliant).
In a LEGACY system there can be two of the following situations where NM95MS14 will be used.
a) NM95MS14 on a Non Bootable ISA ADD-ON Plug &
Play Card.
Under this situation, the card will be Powered ON inactive. Once the system is Booted, NM95MS14 can be
configured by the O/S (Windows’95) or by the external
PnP utiIities.
b) NM95MS14 on a Bootable ISA ADD-ON Plug & Play
Card.
Since the card cannot on its own come up active unless
some PnP Software configures it, NM95MS14 cannot
be used for a Bootable card on a Legacy system.
SK Clock Frequency01MHz
SK High Time250ns
SK Low Time250ns
SK Setup Time50ns
CS Low Time (min)250ns
CS Setup TimeRelative to SK50ns
DO HoId TimeRelative to SK70ns
DI Setup TimeRelative to SK100ns
DI Hold TimeRelative to SK20ns
Output Delay to ‘‘1’’Relative to SK500ns
Output Delay to ‘‘0’’Relative to SK500ns
CS to Status ValidRelative to SK500ns
CS to DO in TRI-STATEÉC
Write CycIe TimeC
TM
port be-
e
V
S
IL
e
V
S
IL
100ns
10ms
Addendum
The above document is for the MONOLITHIC part of
NM94MS14, but for some time the ASIC for the part without
the built in EEPROM has been there in the market. The
MONOLITHIC and the ASIC part have some differences in
one of the Configuration registers. The register which is different for the ASIC is mentioned below.
DMA LEVEL SELECTION REGISTER
15–87–65–32–0
RFURFUISADRQ1ISADRQ0
ISADRQk1:0l: These pins will be physically connected to
ISA DRQ Iines. This will allow the user to customize his
choice of 2 out of 7 available ISADRQ channels on the bus.
For example if ISADRQ0 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.
RFU: Reserved for Future Use: Must be set to ‘0’.
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.