English
Language : 

X3102 Datasheet, PDF (29/32 Pages) Intersil Corporation – 3 Cell Li-Ion Battery Protection and Monitor IC
CS
SCK
SI
X3102
0 1 2 3 4 5 6 7 8 9 10
20 21 22 23 24 25 26 27 28 29 30 31
EEWRITE
Instruction
Byte Address
(2 Byte)
Data Byte 1
15 14 13
321076543210
CS
SCK
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Data Byte 2
Data Byte 3
SI
7654321076543210
Data Byte 16
6543210
FIGURE 19. EEPROM PAGE WRITE (EEWRITE) OPERATION SEQUENCE
CS
01234567
SCK
...
EEREAD STAT
Instruction
SI
...
Nonvolatile EEWRITE in Progress
III
SO
DDD
L LL
...
SO High During Nonvolatile
210
EEWRITE Cycle
SO=Status Reg Bit When No Nonvolatile
EEWRITE Cycle
FIGURE 20. EEPROM READ STATUS (EEREAD STAT) OPERATION SEQUENCE
EEPROM Read Sequence (EEREAD)
When reading from the X3102 EEPROM memory, CS is first
pulled LOW to select the device. The 8-bit EEREAD instruction
is transmitted to the X3102, followed by the 16-bit address,
of which the last 9 bits are used (bits [15:9] specified to be
zeroes). After the EEREAD opcode and address are sent, the
data stored in the memory at the selected address is shifted
out on the SO line. The data stored in memory at the next
address can be read sequentially by continuing to provide
clock pulses. The address is automatically incremented to the
next higher address after each byte of data is shifted out.
When the highest address is reached (01FFh), the address
counter rolls over to address 0000h, allowing the read cycle
to be continued indefinitely. The read operation is terminated
by taking CS HIGH. Refer to the EEPROM Read (EEREAD)
operation sequence illustrated in Figure 21.
Write Configuration Register (WCFIG)
The Write Configuration Register (WCFIG) instruction
updates the static part of the Configuration Register. These
new values take effect immediately, for example writing a
new Over-discharge voltage limit. However, to make these
changes permanent, so they remain if the cell voltages are
removed, an EEWRITE operation to the EEPROM array is
required following the WCFIG command. This command is
shown in Figure 22.
29
FN8246.0
December 22, 2004