Datasheet
Operating modes M41ST87Y, M41ST87W
22/54 Doc ID 9497 Rev 10
2.6.6 Tamper detect sampling (TDS1 and TDS2)
This bit selects between a 1Hz sampling rate or constant monitoring of the tamper input
pin(s) to detect a tamper event when the normally closed switch mode is selected. This
allows the user to reduce the current drain when the TEB
X
bit is enabled while the device is
in battery backup (see Table 4 on page 23 and Figure 17 on page 23). Sampling is disabled
if the TCM
X
bit is set to logic '1' (Normally Open). In this case the state of the TDS
X
bit is a
“Don’t care.”
Note: The crystal oscillator must be “on” for sampling to function. If the oscillator is stopped, the
tamper detect circuit will revert to continuous monitoring.
2.6.7 Tamper current high/tamper current low (TCHI/TCLO1 and
TCHI/TCLO2)
This bit selects the strength of the internal pull-up or pull-down used during the sampling of
the normally closed condition. The state of the TCHI/TCLO
X
bit is a “Don’t care” for normally
open (TCM
X
= '1') mode (see Figure 18 on page 24).
2.6.8 RAM clear (CLR1 and CLR2)
When either CLR1 or CLR2 and the TEB
X
bit are set to a logic '1,' the internal 128 bytes of
user RAM (see Figure 15 on page 21) will be cleared to all zeros in the event of a tamper
condition. Furthermore, the 128 bytes of user RAM will be deselected (inaccessible) until
the corresponding TEB
X
bit is reset to '0.' Any data read during this time will be invalid. (ie.
the cleared RAM values cannot be accessed.)
2.6.9 RAM clear external (CLR1
EXT
and CLR2
EXT
) - available in SOX28
package only
When either CLR1
EXT
or CLR2
EXT
is set to a logic '1' and the TEB
X
bit is also set to logic '1,'
the TP
CLR
signal will be asserted for clearing external RAM, and the RST output asserted
upon detection of a tamper event (see Figure 15 on page 21 and Figure 20 on page 25).
Note: The reset output resulting from a tamper event will be the same as a reset resulting from a
power-down condition, a watchdog time-out, or a manual reset (RSTIN1
or RSTIN2); the
RST
output will be asserted for t
rec
seconds.
This is accomplished by forcing TP
CLR
high, which if used to control the inhibit pin of the DC
regulator (see Figure 20 on page 25) will also switch off V
OUT
, depriving the external SRAM
of power to the V
CC
pin. V
OUT
will automatically be disconnected from the battery if the
tamper occurs during battery back-up (see Figure 19 on page 24). By inhibiting the DC
regulator, the user will also prevent other inputs from sourcing current to the external SRAM,
which would allow it to retain data otherwise.
The user may optionally connect an inverting charge pump to the V
CC
pin of the external
SRAM (see Figure 20 on page 25). Depending on the process technology used for the
manufacturing of the external SRAM, clearing the memory may require varying durations of
negative potential on the V
CC
pin. This device configuration will allow the user to program
the time needed for their particular application. Control Bits CLRPW0 and CLRPW1
determine the duration TP
CLR
will be enabled (see Figure 19 on page 24 and Table 5 on
page 25).
Note: When using the inverting charge pump, the user must also provide isolation in the form of
two additional small-signal power MOSFETs. These will isolate the V
OUT
pin from both the