Datasheet4U.com

AN671 Datasheet PDF

STMicroelectronics AN671

The ST6 Microcontroller has been designed to avoid any potential corruption of data programmed into its on-chip EEPROM (when available). This is particularly true with a slow ramp-up and/or slow fall time of the power supply, since the device may be in a supply voltage area where the device functionality is not guaranteed for a long time.
Part No. AN671
Datasheet AN671 Download
Manufacturer
STMicroelectronics
Description Prevention of Data Corruption in ST6 On-Chip EEPROM
Buy Stock & Price
AN671 datasheet page 1 preview
APPLICATION NOTE Prevention of Data Corruption in ST6 On-Chip EEPROM C. PILON INTRODUCTION Data integrity can be ensured as long as the application designer follows the guidelines provided in this note. In general, EEPROM data corruption occurs whenever the reset signal is not controlled when the power supply goes up or down. If no special care is taken during the power up sequence regarding the reset signal then the microcontroller core may start writing into the EEPROM. The same behaviour may occur upon a power down. Two complementary solutions are possible to prevent from these unwanted actions, a software solution and a hardware solution. 1 SOFTWARE SOLUTION This solution only applies to the power down sequence which represents the majority of data corruption risks. The solution consists in disabling the enable bit of the EEPROM control register after writing into the EEPROM and before switching ”off” the application; this avoids any spurious writing as described above. Note that t...
AN671 page 2 preview AN671 page 3 preview