STMicroelectronics AN671 Application Note Prevention of Data Corruption in ST6 On-Chip EEPROM

This document describes how to prevent EEPROM data corruption in ST6 devices, including software and hardware solutions


STMicroelectronics AN671 Application Note Prevention of Data Corruption in ST6 On-Chip EEPROM - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
4
File format
PDF
File size
40 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
ST6
MD5 checksum
9E35D83F10C986D2218DDBF1CD43801B

About this manual

The document addresses potential data corruption issues that occur when the reset signal is not properly controlled during power-up or power-down sequences, particularly with slow ramp times. It explains how the device may enter a state where functionality is not guaranteed, leading to unintended writes into the EEPROM.

Two complementary solutions are provided: a software solution involving the disabling of the enable bit in the EEPROM control register before switching off the application, and a hardware solution using a level detection circuit to force the reset input low before reaching critical voltage levels.

What's inside

  • Introduction
  • Software Solution
  • Hardware Solution
  • Summary

Frequently asked questions

When does data corruption typically occur in ST6 on-chip EEPROM?

Data integrity can be ensured as long as the application designer follows the guidelines provided, but corruption occurs whenever the reset signal is not controlled when the power supply goes up or down.

Why does data corruption happen more often during power down?

The enable bit is automatically reset upon power on, so most cases of data corruption occur at power down because the enable bit may have been modified by user software.

When should the hardware solution be used?

The hardware solution should be used whenever the power supply rise/fall time is greater than 100ms or if the supply comes from the mains through a single resistor and diode network.

Download PDF (40 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →