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.