M41ST87WMX6F STMICROELECTRONICS [STMicroelectronics], M41ST87WMX6F Datasheet
![no-image](/images/no-image-200.jpg)
M41ST87WMX6F
Related parts for M41ST87WMX6F
M41ST87WMX6F Summary of contents
Page 1
V and 3.3/3.0 V secure serial RTC and NVRAM supervisor with tamper detection and 128 bytes of clearable NVRAM Features ■ 5.0, 3.3, or 3.0 V operation 2 ■ 400 kHz I C bus ■ NVRAM supervisor to non-volatize ...
Page 2
Contents Contents 1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 3
M41ST87Y, M41ST87W 3.1 TIMEKEEPER 3.2 Calibrating the clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 4
List of tables List of tables Table 1. Signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 5
M41ST87Y, M41ST87W List of figures Figure 1. Logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 6
Description 1 Description The M41ST87Y/W secure serial RTC and NVRAM supervisor is a low power 1280-bit, static CMOS SRAM organized as 160 bytes by 8 bits. A built-in 32.768 kHz oscillator (internal crystal-controlled) and 8 bytes of the SRAM (see ...
Page 7
M41ST87Y, M41ST87W Figure 1. Logic diagram 1. Open drain output. 2. Programmable output (open drain or full-CMOS). Defaults to open drain on first power-up. 3. Available in SOX28 (MX) package only. 4. Available in SSOP (SS) package only. V BAT ...
Page 8
Description Figure 2. 28-pin, 300 mil SOIC (MX) connections Note: No function (NF) and no connect (NC) pins should be tied to V internally shorted together. Figure 3. 20-pin, SSOP (SS) connections Note: No connect (NC) pin should be tied ...
Page 9
M41ST87Y, M41ST87W Table 1. Signal names (1) XI (1) XO (2) E CON (2) EX (3) IRQ/OUT PFI 1 PFI 2 (4) PFO 1 (4) PFO 2 (3) RST RSTIN1 (2) RSTIN2 SCL SDA (4) SQW/FT (2) WDI V CC ...
Page 10
Description Figure 4. Block diagram SDA INTERFACE SCL (4) Crystal XI OSCILLATOR V OUT XO (3) WDI 2 TPX BAT V SS RSTIN1 (3) RSTIN2 (3) EX PFI 1 1.25V (Internal) PFI 2 1.25V (Internal) 1. ...
Page 11
M41ST87Y, M41ST87W Figure 5. Hardware hookup Unregulated V Voltage IN 5V Regulator V IN 3.3V Regulator For monitoring of additional voltage sources Pushbutton Available in SOX28 (MX) package only. M41ST87Y TP1 ...
Page 12
Operating modes 2 Operating modes The M41ST87Y/W clock operates as a slave device on the serial bus. Access is obtained by implementing a start condition followed by the correct slave address (D0h). The 160 bytes contained in the device can ...
Page 13
M41ST87Y, M41ST87W 2.1 2-wire bus characteristics The bus is intended for communication between different ICs. It consists of two lines: a clock signal (SCL) and a bidirectional data signal (SDA). The SDA line must be connected to a positive supply ...
Page 14
Operating modes case the transmitter must leave the data line high to enable the master to generate the STOP condition. Figure 6. Serial bus data transfer sequence CLOCK DATA START CONDITION Figure 7. Acknowledgement sequence START SCL FROM MASTER DATA ...
Page 15
M41ST87Y, M41ST87W Table 2. AC characteristics Symbol f SCL clock frequency SCL t Time the bus must be free before a new transmission can start BUF ( propagation delay EXPD CON t SDA and SCL fall ...
Page 16
Operating modes Figure 9. Slave address location START Figure 10. READ mode sequence BUS ACTIVITY: MASTER SDA LINE S BUS ACTIVITY: SLAVE ADDRESS DATA n+X Figure 11. Alternate READ mode sequence BUS ACTIVITY: MASTER SDA LINE S BUS ACTIVITY: SLAVE ...
Page 17
M41ST87Y, M41ST87W 2.3 WRITE mode In this mode the master transmitter transmits to the M41ST87Y/W slave receiver. Bus protocol is shown in (R placed on the bus and indicates to the addressed device that word address An ...
Page 18
Operating modes power input is switched from the V SRAM are maintained from the attached battery supply. All signal outputs become high impedance. The V current to the attached memory with less than 0.3 volts drop under this condition. On ...
Page 19
M41ST87Y, M41ST87W 2.6.2 Tamper bits (TB1 and TB2) If the TEB bit is set, and a tamper condition occurs, the TB X “Read-only” and is reset only by setting the TEB register 0Fh. 2.6.3 Tamper interrupt enable bits (TIE1 and ...
Page 20
Operating modes Figure 14. Tamper detect connection options I. NORMALLY OPEN (TCM III. V OUT ( NORMALLY TCHI/TCLO = 1 CLOSED (TCM Note: These options are summarized the CLRX ...
Page 21
M41ST87Y, M41ST87W Figure 15. Basic tamper detect options OUT TCM , TPM = 1 OUT TCM , TPM = 0 TCM , TPM = 1 TCM , TPM ...
Page 22
Operating modes 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 ...
Page 23
M41ST87Y, M41ST87W negative voltage generated by the charge pump during a tamper condition, and from being pulled to ground by the output of the charge pump when shut-down mode (SHDN = logic low). The gates of both ...
Page 24
Operating modes Figure 18. Tamper current options OUT TAMPER HI, NORMALLY OPEN OUT TAMPER LO, TCHI/TCLO = 1 NORMALLY CLOSED TAMPER LO, NORMALLY OPEN TCHI/TCLO = 1 TAMPER HI, NORMALLY CLOSED Figure ...
Page 25
M41ST87Y, M41ST87W Table 5. Tamper detect timing Symbol Parameter (1) t Tamper RAM clear ext delay CLRD t Tamper clear timing CLR 1. With input capacitance = 70 pF and resistance = 50 Ω the OF bit is ...
Page 26
Operating modes 2.7 Tamper detection operation The tamper pins are triggered based on the state of an external switch. Two switch mode options are available, normally open or normally closed, based on the setting of the tamper connect mode bit ...
Page 27
M41ST87Y, M41ST87W 2.9 Internal tamper pull-up/down current Depending on the capacitive and resistive loading of the tamper pin input (TP may require more or less current from the internal pull-up/down used when monitoring the normally closed switch mode. The state ...
Page 28
Operating modes 2.11 Tamper event time-stamp Regardless of which tamper occurs first, not only will the appropriate tamper bit be set, but the event will also be automatically time-stamped. This is accomplished by freezing the normal update of the clock ...
Page 29
M41ST87Y, M41ST87W 3 Clock operation The eight byte clock register (see read the date and time from the clock binary coded decimal format. Tenths/hundredths of seconds, seconds, minutes, and hours are contained within the first four registers. Note: ...
Page 30
Clock operation 3.1 TIMEKEEPER The M41ST87Y/W offers 22 internal registers which contain clock, control, alarm, watchdog, flag, square wave, and tamper data. The 8 clock registers are memory locations which contain external (user accessible) and internal copies of the data ...
Page 31
M41ST87Y, M41ST87W Keys Must be set to zero 32kE = 32 kHz output enable bit ABE = Alarm in battery backup mode enable bit RS0-RS3 = SQW frequency AF = Alarm flag (read only) AFE = Alarm flag ...
Page 32
Clock operation Therefore, each calibration step has the effect of adding 512 or subtracting 256 oscillator cycles for every 125,829,120 actual oscillator cycles, that is +4.068 or –2.034 ppm of adjustment per calibration step in the calibration register. Assuming that ...
Page 33
M41ST87Y, M41ST87W Figure 22. Crystal accuracy across temperature Frequency (ppm –20 –40 –60 –80 –100 –120 –140 –160 –40 –30 –20 Figure 23. Calibration waveform NORMAL POSITIVE CALIBRATION NEGATIVE CALIBRATION 3.3 Setting alarm clock registers Address locations 0Ah-0Eh ...
Page 34
Clock operation alarm condition activates the IRQ/OUT pin as shown in the alarm, write '0' to the alarm date register and to RPT5–RPT1. If the address pointer is allowed to increment to the flag register address, an alarm condition will ...
Page 35
M41ST87Y, M41ST87W Figure 25. Backup mode alarm waveform PFD V SO ABE, AFE Bits in Interrupt Register AF bit in Flags Register IRQ/OUT 3.4 Watchdog timer The watchdog timer can be used to detect an out-of-control microprocessor. ...
Page 36
Clock operation Should the watchdog timer time-out, and the WDS bit is programmed to output an interrupt, either a transition of the WDI pin value of 00h needs to be written to the watchdog register in order to ...
Page 37
M41ST87Y, M41ST87W 3.6 Full-time 32 kHz square wave output The M41ST87Y/W offers the user a special 32kHz square wave function which defaults to output on the F 32k '0'). This function is available within one second (typ) of initial power-up ...
Page 38
Clock operation Table 10. Reset AC characteristics Symbol (2) t RSTIN1 low to RST low (min pulse width) R1 (2) t RSTIN2 low to RSTIN2 high (min pulse width) R2 (3) t RSTIN1 or RSTIN2 high to RST high rec ...
Page 39
M41ST87Y, M41ST87W 3.11 Century bits These two bits will increment in a binary fashion at the turn of the century, and handle leap years correctly. Refer to years register (07h), and should be set accordingly. For example, for the year ...
Page 40
Clock operation The M41ST87Y/W only monitors the battery when a nominal V Thus applications which require extensive durations in the battery back-up mode should be powered-up periodically (at least once every few months) in order for this technique to be ...
Page 41
M41ST87Y, M41ST87W 3.17 Initial power-on defaults Table 13. Default values Condition Initial power-up Subsequent power-up (with (2)(3) battery backup) Condition Initial power-up Subsequent power-up (with (2)(3) battery backup) Condition Initial power-up Subsequent power-up (with (2) battery backup) TCHI/TCLO1 Condition Initial ...
Page 42
Maximum ratings 4 Maximum ratings Stressing the device above the rating listed in the absolute maximum ratings table may cause permanent damage to the device. These are stress ratings only and operation of the device at these or any other ...
Page 43
M41ST87Y, M41ST87W 5 DC and AC parameters This section summarizes the operating and measurement conditions, as well as the DC and AC characteristics of the device. The parameters in the following DC and AC characteristic tables are derived from tests ...
Page 44
DC and AC parameters Table 17. DC characteristics Sym Parameter Test condition Battery current OSC ° (2) I BAT Battery current OSC OFF I Supply current CC1 Supply current SCL, SDA ≥ ...
Page 45
M41ST87Y, M41ST87W Table 17. DC characteristics (continued) Battery backup V SO switchover External switch R resistance on SW tamper pin 1. Valid for ambient operating temperature Measured with V and E open. Not including tamper detection current (see ...
Page 46
DC and AC parameters Figure 28. Power down/up mode AC waveforms PFD (max) V PFD (min PFO VALID INPUTS RECOGNIZED RST OUTPUTS VALID (PER CONTROL INPUT) (1) E CON 1. E ...
Page 47
M41ST87Y, M41ST87W 6 Package mechanical data In order to meet environmental requirements, ST offers these devices in different grades of ® ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: ...
Page 48
Package mechanical data Figure 30. SSOP20 – 20-lead, shrink, small outline package outline Table 21. SSOP20 – 20-lead, shrink, small outline package mechanical data Sym A A1 0.050 A2 1.650 b 0.220 c 0.090 D 6.900 E 7.400 E1 5.000 ...
Page 49
M41ST87Y, M41ST87W 7 Part numbering Table 22. Ordering information scheme Example: Device type M41ST Supply voltage and write protect voltage 87Y = V = 4. THS bit = '1': 4.50 V ≤ 4.5 ...
Page 50
References 8 References KDS, the crystal component supplier mentioned in this document, can be contacted at kouhou@kdsj.co.jp or http://www.kds.info/index_en.htm 50/52 Doc ID 9497 Rev 8 M41ST87Y, M41ST87W ...
Page 51
M41ST87Y, M41ST87W 9 Revision history Table 23. Document revision history Date Revision May-2002 23-Apr-2003 10-Jul-2003 11-Sep-2003 15-Jun-2004 7-Sep-2004 29-Jun-2005 28-Mar-2006 10-Sep-2008 31-Mar-2010 1 First issue. 2 Document promoted to preliminary data. 2.1 Update tamper information ( Update electrical, charge pump, ...
Page 52
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 ...