DA6505.005
11 June 2018
EEPROM READ ONLY PROCEDURE
This chapter gives instructions for only reading data
from the EEPROM memory.
EEPROM control register (ED/6DHEX). After
activating EEPROM there need to be wait at least
0.2 ms before reading from or writing to EEPROM.
In read only application (using readily programmed
MAS6505 sensor module) the EEPROM can be read
at wide supply voltage range VDD=1.71V…5.5V.
In read there is no need for extra delay between
reads of each byte like in write and incremental read
can be used (after each read byte the read address
is automatically incremented to a next address if
read is continued).
In the beginning of the EEPROM read only
procedure the initial conditions are reset. Connecting
VDD triggers power-on-reset (POR) but to make
sure the device is reset an additional reset should be
given by writing any data byte to the reset register
(EC/6CHEX) via the serial bus.
After all data bytes are read the EEPROM memory
is inactivated by writing 00HEX to the EEPROM
control register (ED/6DHEX).
The EEPROM is activated and kept write protected
by writing value 02HEX (or alternatively 05HEX) to the
START
POWER UP DEVICE
Connect supply voltage 1.71V…5.5V to VDD pin
INITIAL CONDITIONS
Reset device by writing any data to the reset register EC/6CHEX
ACTIVATE EEPROM FOR A READ ONLY
Write 02HEX to the EEPROM control register ED/6DHEX
WAIT
Wait minimum 0.2 ms after activating EEPROM
READ DATA FROM EEPROM
Read data byte (8-bit) to selected EEPROM memory address
yes
Read more data?
no
INACTIVATE EEPROM
Write 00HEX to the EEPROM control register ED/6DHEX
STOP
Figure 6. Flow chart for MAS6505 EEPROM read only
29 (44)