
8 S
ERIAL
EEPROMS
PECIFICATION
Data Sheet Revision 1.1
Page 51
OXCB950
OXFORD SEMICONDUCTOR LTD.
The OXCB950 can be configured using an optional serial
electrically-erasable programmable read only memory
(EEPROM). If the EEPROMis not present, the device will
remain in its default configuration after reset. Although this
may be adequate for some applications, many will benefit
fromthe degree of programmability afforded by this
feature. The EEPROMalso allows accesses to the
integrated UART, which can be useful for default setups.
The EEPROMinterface supports a variety of serial
EEPROMdevices that have a proprietary serial interface
known as Mcrowire
TM
. This interface has four pins which
supply the memory device with a clock, a chip-select, and
serial data input and output lines. In order to read from
such a device, a controller has to output serially a read
command and address, then input serially the data. The
interface controller has been designed to handle
(autodetect) the following list of compatible devices that
have a 16-bit data word format but differ in memory size
(and hence the number of address bits). NM93C46 (64
WORDS), NM93C56 (128 WORDS), devices with 256
WORDS, 512 WORDs and 1024 WORDS.
The OXCB950 incorporates a controller module which
reads data fromthe serial EEPROMand writes data into
the relevant register space. It performs this operation in a
sequence which starts immediately after a cardbus/PCI bus
reset and ends either when the controller finds no
EEPROMis present or when it reaches the end of te
eepromdata.
Note that any attempted cardbus/PCI access
while the eepromis being sensed or data is being
downloaded fromthe serial EEPROMwill result in a “retry”
response
. The operation of this controller is described
below.
Following device configuration, driver software can access
the serial EEPROMthrough four bits in the device-specific
Local Configuration Register LCC[27:24]. Software can use
this register to manipulate the device pins in order to read
and modify the EEPROMcontents as desired.
A Windows
based utility to programthe EEPROMis
available. For further details please contact Oxford
Semconductor (see back cover).
Microwire
TM
is a trade mark of National Semconductor. For a description
of Microwire
TM
, please refer to National Semconductor data manuals.
8.1
EEPROMData Organisation
The serial EEPROMdata is divided into six zones. The
size of each zone is an exact multiple of 16-bit WORDs.
Zone0 is allocated to the header. An EEPROMprogram
must contain a valid header before any further data is
interrogated. The EEPROMcan be programmed fromthe
PCI bus. Once the programmng is complete, the device
driver should either reset the PCI bus or set LCC[29] to
reload the OXCB950 registers fromthe serial EEPROM
The general EEPROMdata structure is shown in Table 24.
DATA
Zone
(Words)
0
One
Header
1
One or more
Power (Management) Data
2
One to more
Local Configuration Registers
3
Two or more
Cardbus Information Structure
4
Two or more
PCI Configuration Registers
5
Multiples of 2
Function Access
Size
Description
Table 24: EEPROM data format
8.1.1
The header identifies the EEPROMprogramas valid.
Bits
Description
15:8
These bits should return 0xB5 to identify a valid
program Once the OXCB950 reads 0xB5 from
these bits, it sets LCC[28] to indicate that a valid
EEPROMprogramis present.
7:5
Reserved for future Zones. Set to 0.
4
1 = Zone1 (Power Management Data) exists
0 = Zone1 does not exist
3
1 = Zone2 (Local Configuration) exists
0 = Zone2 does not exist
2
1 = Zone3 (Cardbus Information structure) exists
0 = Zone3 does not exist
1
1 = Zone4 (PCI Configuration) exists
0 = Zone4 does not exist
0
1 = Zone5 (Function Access) exists
0 = Zone5 does not exist
The programmng data for each zone follows the
proceeding zone if it exists. For example a Header value of
0xB51F indicates that all zones exist and they follow one
another in sequence (fromZone1 to Zone5), while 0xB514
indicates that only Zones 1 and 3 exist where the header
data is followed by Zone1 WORDs, and since Zone2 is
mssing Zone1 WORDs are followed by Zone3 WORDs.
Zone0: Header