Datasheet
Note: EEPROM byte addresses past 0Ah can be used to store data for any purpose.
The signature value of 0xA5 is stored at address 0. A different signature value indicates to the EEPROM controller that no EEPROM or an
| Table 3.3 EEPROM Variable Defaults | |
|
|
|
VARIABLE |
| DEFAULT |
|
|
|
Subsystem ID [15:0] |
| 0x9420 |
|
|
|
Subsystem Vendor ID [15:0] |
| 0x1055 |
|
|
|
MAC Address [47:0] |
| 0xFFFF_FFFF_FFFF |
|
|
|
3.3.5.2MAC Address, Subsystem ID, and Subsystem Vendor ID Auto-Load
On a
If an 0xA5h is not read from the first address, the EEPROM controller will end initialization. The default values, as specified in Table 3.3, will then be assumed by the associated registers. It is then the responsibility of the Host LAN driver software to set the IEEE address by writing to the MAC’s ADDRH and ADDRL registers.
3.3.5.3EEPROM Host Operations
After the EEPROM controller has finished reading (or attempting to read) the EEPROM after a system- level reset, the Host is free to perform other EEPROM operations. EEPROM operations are performed using the EEPROM Command (E2P_CMD) and EEPROM Data (E2P_DATA) registers. Section 4.2.11, "EEPROM Command Register (E2P_CMD)," on page 99 provides an explanation of the supported EEPROM operations.
If the EEPROM operation is the “write location” (WRITE) or “write all” (WRAL) commands, the Host must first write the desired data into the E2P_DATA register. The Host must then issue the WRITE or WRAL command using the E2P_CMD register by setting the EPC_CMD field appropriately. If the operation is a WRITE, the EPC_ADDR field in E2P_CMD must also be set to the desired location. The command is executed when the Host sets the EPC_BSY bit high. The completion of the operation is indicated when the EPC_BSY bit is cleared.
If the EEPROM operation is the “read location” (READ) operation, the Host must issue the READ command using the E2P_CMD register with the EPC_ADDR set to the desired location. The command is executed when the Host sets the EPC_BSY bit high. The completion of the operation is indicated when the EPC_BSY bit is cleared, at which time the data from the EEPROM may be read from the E2P_DATA register.
Other EEPROM operations are performed by writing the appropriate command to the E2P_CMD register. The command is executed when the Host sets the EPC_BSY bit high. The completion of the operation is indicated when the EPC_BSY bit is cleared. In all cases, the Host must wait for EPC_BSY to clear before modifying the E2P_CMD register.
Revision 1.22 | 32 | SMSC LAN9420/LAN9420i |
| DATASHEET |
|