![](http://datasheet.mmic.net.cn/380000/-PD98501_datasheet_16745028/-PD98501_462.png)
CHAPTER 9 MICRO WIRE
462
Preliminary User’s Manual S14767EJ1V0UM00
9.3 Operations
9.3.1 Data read at the power up load
After reset release, power up load processes starts .
In case of the value from EEPROM address 00h is :
1. 5A5Ah
System Controller sets the EEPROM data (address:01h-06h) in the internal registers (MACAR1, MACAR2,
MACAR3).
2. NOT 5A5Ah
System Controller sets the fix data “0000_0000h” in the internal registers (MACAR1, MACAR2, MACAR3).
Table 9-1. EEPROM Initial Data
EEPROM Address
Data
Stored Register
00h
5A5A h
-
01h
MAC1 Address data[15: 0]
MACAR1[15: 0]
02h
MAC1 Address data[31:16]
MACAR1[31:16]
03h
MAC1 Address data[45:32]
MACAR2[15: 0]
04h
MAC2 Address data[15: 0]
MACAR2[31:16]
05h
MAC2 Address data[31:16]
MACAR3[15: 0]
06h
MAC2 Address data[45:32]
MACAR3[31:16]
9.3.2 Accessing to EEPROM
Access to EEPROM starts by writing to the ECCR (EEPROM Command Control Register).
Write command (3bit) and address (6bit) of EEPROM into lower 9bit of ECCR.
There is a difference between write command and read command.
1. Write command
Write data into upper 16bit of ECCR.
2. Read command
Data is loaded into lower 16bit of ERDR (EEPROM Read Data Register).
Table 9-2. EEPROM Command List
Command
bit8-6
bit5-0
Operation
READ
110
A5-A0
Read data from EEPROM assigned by address A5-A0.
EWEN
100
11xxxx
Enable Erase/Write command.
This command must be executed before other operating.
ERASE
111
A5-A0
Erase data of EEPROM assigned by address A5-A0.
WRITE
101
A5-A0
Write data to EEPROM assigned by address A5-A0.
ERAL
100
10xxxx
Erase all data of EEPROM.
WRAL
100
01xxxx
Write all data to EEPROM.
EWDS
100
00xxxx
Disable Erase/Write command.