Power failure while writing data to EEPROM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Power failure while writing data to EEPROM

ソリューションへジャンプ
2,392件の閲覧回数
MuhammedKoyuncu
Contributor II

Hello everyone

I am using an EEPROM(M95M01-A125) working with SPI communication.
I save my data every 500ms intervals.

1-) How long can the EEPROM last?
2-) What precautions can be taken in case of power failure during data recording?

 

 

MuhammedKoyuncu_0-1676719251925.png

Kind regards

0 件の賞賛
返信
1 解決策
2,339件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Well, in case of unexpected power-down, the brownout handling needs to be managed on application level. Typically, the data integrity can be secured by CRC over certain chunks of data etc. It is also good idea to have default data/configuration stored in MCU flash which can be loaded to EEPROM in case of some failure.

Regards,

Lukas

元の投稿で解決策を見る

3 返答(返信)
2,371件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it seems this is a question rather for ST, not for NXP...

Regards,

Lukas

0 件の賞賛
返信
2,366件の閲覧回数
MuhammedKoyuncu
Contributor II
Hi,
The chip I gave was just an example.
I know it's generally used the same way.
What can we do in the software to avoid such a situation?
0 件の賞賛
返信
2,340件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Well, in case of unexpected power-down, the brownout handling needs to be managed on application level. Typically, the data integrity can be secured by CRC over certain chunks of data etc. It is also good idea to have default data/configuration stored in MCU flash which can be loaded to EEPROM in case of some failure.

Regards,

Lukas