![](http://datasheet.mmic.net.cn/230000/IP100_datasheet_15585016/IP100_43.png)
IP100
10.4.5 EepromCtrl
Class............................. LAN I/O Registers, External Interface Control
Base Address ............... IoBaseAddress register value
Address Offset .............. 0x36
Default .......................... 0x0000
Width ............................ 16 bits
EepromCtrl provides the host with a method for issuing commands to the IP100’s serial EEPROM controller.
Individual 16-bit word locations within the EEPROM may be written, read or erased. Also, the EEPROM’s
WriteEnable, WriteDisable, EraseAll and WriteAll commands can be issued. Two-bit opcodes and 8-bit addresses
are written to this register to cause the IP100 to carry out the desired EEPROM command. If data is to be written
to the EEPROM, the 16-bit data word must be written to EepromData by the host prior to issuing the associated
write command. Similarly, if data is to be read from the EEPROM, the read data will be available via EepromData
register. The EEPROM is a slow device, and it is important that the host system use the EepromBusy bit to
determine when a new command may be issued to the EEPROM.
BIT
BIT NAME
R/W
7..0
EepromAddress
R/W
EEPROM Address. EepromAddress identify one of the 256,
sixteen-bit words to be the target for the ReadRegister,
WriteRegister or EraseRegister commands.
Bits 7 and 6 are further defined to identify a sub-command based on
the value of EepromOpcode. The definition of bits 7 and 6 are valid
when the EepromOpcode in bits 9 and 8 equals 00.
BIT 7
BIT 6
0
0
0
1
1
0
1
1
IP100-DS-R03
May 27, 2003
43/92
Copyright
2003, IC Plus Corp.
All rights reserved.
Preliminary, Specification subject to change without notice.
BIT DESCRIPTION
SUB-COMMAND
WriteDisable
WriteAII
EraseAll
WriteEnable
9..8
EepromOpcode
R/W
EEPROM Operation Code. EepromOpcode specifies one of three
individual commands and a single group of four sub-commands.
BIT 9
BIT 8
OPCODE COMMAND
0
0
Write Enable/Disable & Write/
Erase All sub-commands
0
1
WriteRegister
1
0
ReadRegister
1
1
EraseRegister
Note, after every WriteRegister, EraseRegister opcode, or WriteAll
or EraseAll subcommand, the IP100 will automatically issue a
WriteDisable command to the EEPROM. Therefore, a WriteEnable
command must be issued to the EEPROM prior to every
WriteRegister, EraseRegister opcode, or WriteAll or EraseAll
subcommand.
Reserved for future use.
EEPROM Busy. EepromBusy is a logic 1 during the execution of
EEPROM commands. Further commands should not be issued to
EepromCtrl nor should data be read from Eeprom-Data while
EepromBusy is a logic 1.
14..10
15
Reserved
EepromBusy
N/A
R