AN1879 Application note

Similar documents
Single LNB supply and control IC DiSEqC 1.X compliant with EXTM based on the LNBH29 in a QFN16 (4x4) Description

SPC5-FLASHER. Flash management tool for SPC56xx family. Description. Features

Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

LM337. Three-terminal adjustable negative voltage regulators. Features. Description

EN: This Datasheet is presented by the m anufacturer. Please v isit our website for pricing and availability at ore.hu.

AN3332 Application note

Description. Table 1. Device summary

UM1613 User manual. 16-pin smartcard interface ST8034P demonstration board. Introduction

STEVAL-IEG001V2. Smart real-time vehicle tracking system. Features

AN2389 Application note

UA741. General-purpose single operational amplifier. Features. Applications. Description. N DIP8 (plastic package)

Description. Table 1. Device summary. Order codes. TO-220 (single gauge) TO-220 (double gauge) D²PAK (tape and reel) TO-220FP

UM1676 User manual. Getting started with.net Micro Framework on the STM32F429 Discovery kit. Introduction

AN2604 Application note

Table 1. Absolute maximum ratings (T amb = 25 C) Symbol Parameter Value Unit. ISO C = 330 pf, R = 330 Ω : Contact discharge Air discharge

TN0023 Technical note

STTH1R04-Y. Automotive ultrafast recovery diode. Features. Description

EVL185W-LEDTV. 185 W power supply with PFC and standby supply for LED TV based on the L6564, L6599A and Viper27L. Features.

AN2680 Application note

Description SO-8. series. Furthermore, in the 8-pin configuration Very low-dropout voltage (0.2 V typ.)

DDSL01. Secondary protection for DSL lines. Features. Description

TDA W CAR RADIO AUDIO AMPLIFIER

ST High voltage fast-switching NPN power transistor. Features. Applications. Description

BD238. Low voltage PNP power transistor. Features. Applications. Description. Low saturation voltage PNP transistor

BD241A BD241C. NPN power transistors. Features. Applications. Description. NPN transistors. Audio, general purpose switching and amplifier transistors

M24LRxx/CR95HF application software installation guide

2STBN15D100. Low voltage NPN power Darlington transistor. Features. Application. Description

AN3265 Application note

AN3155 Application note

AN4368 Application note

ULN2801A, ULN2802A, ULN2803A, ULN2804A

SPC5-CRYP-LIB. SPC5 Software Cryptography Library. Description. Features. SHA-512 Random engine based on DRBG-AES-128

AN3998 Application note

AN3110 Application note

BD135 - BD136 BD139 - BD140

AN3354 Application note

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction

ULN2001, ULN2002 ULN2003, ULN2004

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

AN3353 Application note

TDA2004R W stereo amplifier for car radio. Features. Description

Order code Temperature range Package Packaging

DSL01-xxxSC5. Secondary protection for DSL lines. Features. Description. Applications. Benefits. Complies with the following standards

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

AN2760 Application note

STP60NF06. N-channel 60V Ω - 60A TO-220 STripFET II Power MOSFET. General features. Description. Internal schematic diagram.

AN4108 Application note

MC34063AB, MC34063AC, MC34063EB, MC34063EC

LM135-LM235-LM335. Precision temperature sensors. Features. Description

ETP01-xx21. Protection for Ethernet lines. Features. Description. Applications. Benefits. Complies with the following standards

STN3NF06L. N-channel 60 V, 0.07 Ω, 4 A, SOT-223 STripFET II Power MOSFET. Features. Application. Description

AN2557 Application note

LM134-LM234-LM334. Three terminal adjustable current sources. Features. Description

ESDLIN1524BJ. Transil, transient voltage surge suppressor diode for ESD protection. Features. Description SOD323

L6234. Three phase motor driver. Features. Description

ST19NP18-TPM-I2C. Trusted Platform Module (TPM) with I²C Interface. Features

AN2866 Application note

AN2824 Application note

BZW50. Transil, transient voltage surge suppressor (TVS) Features. Description

How To Write To An Eeprom Memory On A Flash Memory On An Iphone Or Ipro Memory On Microsoft Flash Memory (Eeprom) On A Microsoft Microsoft Powerbook (Ai) 2.2.2

STP60NF06FP. N-channel 60V Ω - 30A TO-220FP STripFET II Power MOSFET. General features. Description. Internal schematic diagram.

L78MxxAB L78MxxAC. Precision 500 ma regulators. Features. Description

STTH2R06. High efficiency ultrafast diode. Features. Description

MC Low noise quad operational amplifier. Features. Description

UM0985 User manual. Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software. Introduction

Description. IO and RF AGC. ASIC controller and power management. Carrier recovery loop. GPIO switch matrix. Lock indicator and monitoring DVBS2 FEC

AN3252 Application note

AN2703 Application note

AN4156 Application note

STTH110. High voltage ultrafast rectifier. Description. Features

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

P6KE. Transil, transient voltage surge suppressor (TVS) Features. Description. Complies with the following standards

VN5R003H-E. 3 mω reverse battery protection switch. Features. Description. Application

STP55NF06L STB55NF06L - STB55NF06L-1

STCS A max constant current LED driver. Features. Applications. Description

Description. Table 1. Device summary. Order code Temperature range Package Packing Marking

VN05N. High side smart power solid state relay PENTAWATT. Features. Description

STDP2600. Advanced HDMI to DisplayPort (dual mode) converter. Features. Applications

AN820 APPLICATION NOTE INPUT/OUTPUT PROTECTION FOR AUTOMOTIVE COMPUTER

Description. Table 1. Device summary. Order code Package Packing

AN3359 Application note

AN1819 APPLICATION NOTE Bad Block Management in Single Level Cell NAND Flash Memories

AN4128 Application note

Obsolete Product(s) - Obsolete Product(s)

AN974 APPLICATION NOTE

STCS1A. 1.5 A max constant current LED driver. Features. Applications. Description

VN03. ISO high side smart power solid state relay PENTAWATT. Features. Description.

STB75NF75 STP75NF75 - STP75NF75FP

BTW N. 50 A 1200 V non insulated SCR thyristor. Description. Features. Applications

STM6315. Open drain microprocessor reset. Features

STOD2540. PMOLED display power supply. Features. Application. Description

AN3270 Application note

STGB10NB37LZ STGP10NB37LZ

STB4NK60Z, STB4NK60Z-1, STD4NK60Z STD4NK60Z-1, STP4NK60Z,STP4NK60ZFP

STP10NK80ZFP STP10NK80Z - STW10NK80Z

STDP2690. Advanced DisplayPort to DisplayPort (dual mode) converter. Features. Applications

AN3327 Application note

STTH3R02QRL. Ultrafast recovery diode. Main product characteristics. Features and benefits. Description. Order codes DO-15 STTH3R02Q DO-201AD STTH3R02

STLM20. Ultra-low current 2.4 V precision analog temperature sensor. Features. Applications

LM2901. Low-power quad voltage comparator. Features. Description

Transcription:

Application note How to use the M41ST87W tamper detect and RAM clear Introduction The M41ST87W is a supervisory family circuit that provides the industry with the latest in onchip security solutions. The tamper detection and RAM clear circuit can be used in any system to protect sensitive data from tampering. This chip can be used to secure a wide range of applications from credit card machines and point-of-sale (POS) terminals to electric data meters. The M41ST87W features the ability to detect and timestamp any tampering of the system, and corrupt the device memory when the event occurs. This prevents the intruder from accessing data stored in memory by clearing the device memory and/or external RAM when the tampering event occurs. October 2013 DocID010159 Rev 5 1/8 www.st.com

Contents AN1879 Contents 1 Description... 3 1.1 How it works... 3 1.2 Clearing the external memory with the tamper registers... 3 1.3 Clearing the external memory with an external charge pump... 3 1.4 RAM clear data... 5 1.5 Tamper timestamp... 5 2 Conclusion... 6 3 Revision history... 7 2/8 DocID010159 Rev 5

Description 1 Description 1.1 How it works The M41ST87W device provides two independent tamper input pins, TP1 IN and TP2 IN that can be used to monitor two separate signals. These two tamper input pins can be set to indicate that a tamper event has occurred by either 1) closing a switch (normally open) to ground or V OUT or 2) opening a switch that was previously closed (normally closed) to ground or V OUT. The closing and opening of the switch is configurable using bits that are set in the tamper registers. The M41ST87W device includes 128 bytes of internal RAM that the user has the option of clearing by setting the TEB and CLR bits in the tamper registers. 1.2 Clearing the external memory with the tamper registers The M41ST87W can also clear the external, battery-backed up SRAM of the device by setting the TEB and CLREXT bits in the tamper registers. To clear/corrupt the external memory, V CC of the SRAM can be taken to ground. However, certain SRAMs require a significant amount of time for the memory to be corrupted if V CC is simply grounded. To corrupt the memory in a reasonable amount of time, one can take V CC of the SRAM to a negative voltage. By taking V CC to a negative voltage, the input protection diode turns on and goes into conduction mode so that it corrupts the memory. 1.3 Clearing the external memory with an external charge pump An external charge pump device should be used with the M41ST87W to drive V CC of the SRAM to a negative voltage during the tamper condition. Figure 1: "Circuit connections" shows how to connect this circuit. When using the M41ST87W with the charge pump device, the user must also provide two additional MOSFETs to isolate V OUT of the M41ST87W from the output (OUT) of the charge pump during normal operation, and from V OUT of the M41ST87W device during the tamper condition. During normal operation the TP CLR signal will be forced low, disabling the charge pump. When disabled, the output of most charge pumps will be forced to ground. In order to allow proper operation of the SRAM, MOSFET(1) must be "off" to isolate V CC of the SRAM from the charge pump output. At this same time, the P-channel MOSFET(2) will be "on" to provide the supply voltage for the SRAM. During a tamper condition, the TP CLR signal will be forced high, controlling the inhibit pin of the DC regulator. This will put the regulator in standby mode for t CLR. The t CLR is the tamper clear timing where the regulator will be switched off for 1, 4, 8, or 16 seconds, depending on the setting of the CLRPW1 and CLRPW0 bits in the register. The TP CLR signal also enables the charge pump. When the charge pump is enabled, OUT generates a negative voltage on the V CC pin of the SRAM (for a programmable period of time), causing data corruption. The M41ST87W must be isolated from the V CC of the SRAM to avoid data corruption of the M41ST87W due to forward biasing of the parasitic diode of the M41ST87W V OUT output. This is accomplished by using the TP CLR signal to turn the N- channel MOSFET(1) "on," while turning the P-channel MOSFET(2) "off." DocID010159 Rev 5 3/8

Description AN1879 Figure 1: Circuit connections Inhibit V IN V CC 5V Regulator M41ST87W V CC TP CLR TP1 IN Inverting Charge Pump IN OUT SHDN CAP+ CAP C1 C2 Negative Output ( 1 x V IN ) (1) TP2 IN (2) EX V OUT V CC SCL WDI E CON SDA E Low-Power SRAM RSTIN1 RST To RST Pushbutton Reset RSTIN2 SQW/FT PFO 1 To LED Display To NMI PFI 1 PFO 2 PFI 2 V SS IRQ/OUT To INT V BAT F 32k To 32kHz 1. N-channel MOSFET 2. P-channel MOSFET 4/8 DocID010159 Rev 5

Description 1.4 RAM clear data Depending on the process technology used to manufacture the external SRAM, clearing the memory may require varying durations of negative potential on the VCC pin. The M41ST87W device allows the user to program the time needed for their particular application. The control bits CLRPW0 and CLRPW1, located in the day register, determine the duration of the tclr pulse width during a tamper event (see Figure 2: "Tamper output timing" ). Thus, users can control the voltage and duration of the negative pulse enabling them to configure the circuit for many different LPSRAMs. Figure 2: Tamper output timing TP CLR t CLRD RST t CLR t rec V OUT High-Z IRQ/OUT E CON High-Z Tamper Event (TB Bit set) Note: see M41ST87W datasheet for timing details. 1.5 Tamper timestamp When the device is tampered with, and regardless of which tamper occurs first, a time stamp freezing the update of the clock registers will occur to let the user know when it was tampered with. The tamper bits (TB1 or TB2 in the flag register) will be set immediately. Therefore, when tampering occurs, the user may elect to first read the time registers to determine exactly when the tamper event occurred, then read the flag register to see which tamper condition was triggered. The clock will update to the current time after resetting the TEB bit in the tamper registers. The appropriate TEB bit must always be reset to '0' in order to read the current time. The tamper detect function operates in V CC as well as in battery backup. DocID010159 Rev 5 5/8

Conclusion AN1879 2 Conclusion With the increasing frequency of credit card fraud and identity theft, ST is leading the way protecting this sensitive data with its new line of secure RTCs. This sensitive data is stored in internal or external memory of most devices like ATM machines or POS terminals. The M41ST87W solution can provide early detection when these devices have been tampered with and clear the RAM before the intruder can access this data. 6/8 DocID010159 Rev 5

Revision history 3 Revision history Table 1: Document revision history Date Revision Changes 04-Feb-2004 1 First edition 12-Apr-2004 2 Reformatted; updated vendor SRAM information (Table 1) 03-Jun-2004 3 Corrected drawing (Figure 1: "Circuit connections" ) 16-Jan-2009 4 Reformatted document; updated cover page, Section 1.3: "Clearing the external memory with an external charge pump", Figure 1: "Circuit connections", and RAM clear data 16-Oct-2013 5 Removed Table 1 (RAM clear data with different vendors) and updated Section 1.4: "RAM clear data" DocID010159 Rev 5 7/8

Please Read Carefully Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR "AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL" INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2013 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 8/8 DocID010159 Rev 5