CAT34C02
www.onsemi.com
7
Read Operations
Immediate Address Read
In standby mode, the CAT34C02 internal address counter
points to the data byte immediately following the last byte
accessed by a previous operation. If that ‘previous’ byte was
the last byte in memory, then the address counter will point
to the 1
st
memory byte, etc.
When, following a START, the CAT34C02 is presented
with a Slave address containing a ‘1’ in the R/W
bit position
(Figure 10), it will acknowledge (ACK) in the 9
th
clock cycle,
and will then transmit data being pointed at by the internal
address counter. The Master can stop further transmission by
issuing a NoACK, followed by a STOP condition.
Selective Read
The Read operation can also be started at an address
different from the one stored in the internal address counter.
The address counter can be initialized by performing a
‘dummy’ Write operation (Figure 11). Here the START is
followed by the Slave address (with the R/W
bit set to ‘0’)
and the desired byte address. Instead of following up with
data, the Master then issues a 2
nd
START, followed by the
‘Immediate Address Read’ sequence, as described earlier.
Sequential Read
If the Master acknowledges the 1
st
data byte transmitted
by the CAT34C02, then the device will continue
transmitting as long as each data byte is acknowledged by
the Master (Figure 12). If the end of memory is reached
during sequential Read, then the address counter will
‘wrap−around’ to the beginning of memory, etc. Sequential
Read works with either ‘Immediate Address Read’ or
‘Selective Read’, the only difference being the starting byte
address.
SCL
SDA 8th Bit
STOP
NO ACKDATA OUT
8
SLAVE
ADDRESS
S
A
C
K
DATA
N
O
A
C
K
S
T
O
P
P
BUS ACTIVITY:
MASTER
SDA LINE
S
T
A
R
T
Figure 10. Immediate Address Read Timing
9
SLAVE
ADDRESS
S
N
O
A
C
K
S
T
O
P
P
BUS ACTIVITY:
MASTER
SDA LINE
S
T
A
R
T
BYTE
ADDRESS (n)
S
A
C
K
DATA n
SLAVE
ADDRESS
S
T
A
R
T
Figure 11. Selective Read Timing
A
C
K
A
C
K
BUS ACTIVITY:
MASTER
SDA LINE
DATA n+xDATA n
A
C
K
A
C
K
DATA n+1
A
C
K
S
T
O
P
N
O
A
C
K
DATA n+2
A
C
K
P
SLAVE
ADDRESS
Figure 12. Sequential Read Timing
CAT34C02
www.onsemi.com
8
Software Write Protection
The lower half of memory (first 128 bytes) can be
protected against Write requests by setting one of two
Software Write Protection (SWP) flags.
The Permanent Software Write Protection (PSWP) flag
can be set or read while all address pins are at regular CMOS
levels (GND or V
CC
), whereas the very high voltage V
HV
must be present on address pin A
0
to set, clear or read the
Reversible Software Write Protection (RSWP) flag. The
D.C. OPERATING CONDITIONS for RSWP operations
are shown in Table 8.
The SWP commands are listed in Table 9. All commands
are preceded by a START and terminated with a STOP,
following the ACK or NoACK from the CAT34C02. All
SWP related Slave addresses use the pre−amble: 0110 (6h),
instead of the regular 1010 (Ah) used for memory access.
For PSWP commands, the three address pins can be at any
logic level, whereas for RSWP commands the address pins
must be at pre−assigned logic levels. V
HV
is interpreted as
logic ‘1’. The V
HV
condition must be established on pin A
0
before the START and maintained just beyond the STOP.
Otherwise an RSWP request could be interpreted by the
CAT34C02 as a PSWP request.
The SWP Slave addresses follow the standard I
2
C
convention, i.e. to read the state of the SWP flag, the LSB of
the Slave address must be ‘1’, and to set or clear a flag, it
must be ‘0’. For Write commands a dummy byte address and
dummy data byte must be provided (Figure 14). In contrast
to a regular memory Read, a SWP Read does not return Data.
Instead the CAT34C02 will respond with NoACK if the flag
is set and with ACK if the flag is not set. Therefore, the
Master can immediately follow up with a STOP, as there is
no meaningful data following the ACK interval (Figure 15).
Hardware Write Protection
With the WP pin held HIGH, the entire memory, as well
as the SWP flags are protected against Write operations, see
Memory Protection Map below. If the WP pin is left floating
or is grounded, it has no impact on the operation of the
CAT34C02.
The state of the WP pin is strobed on the last falling edge
of SCL immediately preceding the first data byte (Figure 9).
If the WP pin is HIGH during the strobe interval, the
CAT34C02 will not acknowledge the data byte and the Write
request will be rejected.
Software Write Protectable
(by setting the write
protect flags)
FFH
00H
7FH
Hardware Write Protectable
(by connecting WP pin to
V
CC
)
Figure 13. Memory Protection Map
Table 8. RSWP D.C. OPERATING CONDITIONS
(Note 11)
Symbol
Parameter Test Conditions Min Max Units
DV
HV
A
0
Overdrive (V
HV
− V
CC
)
1.7 V < V
CC
< 3.6 V
4.8 V
I
HVD
A
0
High Voltage Detector Current 0.1 mA
V
HV
A
0
Very High Voltage 7 10 V
I
HV
A
0
Input Current @ V
HV
1 mA
11. To prevent damaging the CAT34C02 while applying V
HV
, it is strongly recommended to limit the power delivered to pin A
0
, by inserting a series
resistor (> 1.5 kW) between the supply and the input pin. The resistance is only limited by the combination of V
HV
and maximum I
HVD
. While
the resistor can be omitted if V
HV
is clamped well below 10 V, it nevertheless provides simple protection against EOS events.
As an example: V
CC
= 1.7 V, V
HV
= 8 V, 1.5 kW < R
S
< 15 kW.
CAT34C02
www.onsemi.com
9
Table 9. SWP COMMANDS
WP PSWP RSWP
X 1 XXNo
GND
0X 0Yes X Yes X Yes Yes
0X 0Yes X Yes X No No
X0X 1Yes
X GND GND 1 X 001X No
X GND GND 0 1 001X No
GNDGNDGND 0 0 0010Yes X Yes X Yes Yes
GNDGND 0 0 0010Yes X Yes X No No
XGNDGND 0 0 0011Yes
X GND 1 X 011X No
GNDGND 0 X 0110Yes X Yes X Yes Yes
GND 0 X 0110Yes X Yes X No No
XGND 0 X 0111Yes
Set
RSWP
Clear
RSWP
0110
Slave Address
Set
PSWP
Action
Control Pin Levels Flag State
ACK
?
Write
Cycle
ACK
?
ACK
?
Address
Byte
Data
Byte
b
7
to b
4
A
2
A
1
A
0
b
3
b
2
b
1
b
0
(Note 12) (Note 13)
A
2
A
1
A
0
A
2
A
1
A
0
A
2
A
1
A
0
A
2
A
1
A
0
A
2
A
1
A
0
A
2
A
1
A
0
A
2
A
1
A
0
A
2
A
1
A
0
V
HV
V
HV
V
HV
V
HV
V
HV
V
HV
V
HV
V
HV
V
HV
V
CC
V
CC
V
CC
V
CC
V
CC
V
CC
V
CC
12.Here A
2
, A
1
and A
0
are either at V
CC
or GND.
13.1 stands for ‘Set’, 0 stands for ‘Not Set’, X stands for ‘don’t care’.
BYTE
ADDRESS
SLAVE
ADDRESS
S
A
C
K
A
C
K
DATA
S
T
O
P
P
BUS ACTIVITY:
MASTER
SDA LINE
S
T
A
R
T
X = Don’t Care
X
N
O
A
C
K
or
A
C
K
Figure 14. Software Write Protect (Write)
XXXXXXX XXXXXXXX
SLAVE
ADDRESS
S
N
O
A
C
K
or
A
C
K
S
T
O
P
P
BUS ACTIVITY:
MASTER
SDA LINE
S
T
A
R
T
Figure 15. Software Write Protect (Read)

CAT34C02YI-G

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
EEPROM (256x8) 2K 1.7-5.5
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union