Can I write into S-Flash Once every 15 minutes ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
shrac_2642471
Level 4
Level 4
5 likes given First like received First like given

Hi I am using Cypress PSoC -4 CY8C4248LQI-BL483, and I want to write some data into user row of the SFlash once every 15 minutes. Is it allowed  ?The reason I have to keep writing this data there is I want the data to be persistent across the system power OFF and power ON.

Is it allowed ? There is no inconsistency or stack corruptions or max write cycles associated with the S-Flash ?


Regards,
Shret

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Flash endurence is100Kcycles. This results in 25000 hours when writing every 15 minutes. Thus the guaranteed lifetime will be about 2.8 years. Probably less than you expect. A typical problem with eeprom must be solved: what if a power-down happens during a write which will destroy the flash information.

Think about using an I2C or SPI interface and some FRam from Cypress.

Bob

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Flash endurence is100Kcycles. This results in 25000 hours when writing every 15 minutes. Thus the guaranteed lifetime will be about 2.8 years. Probably less than you expect. A typical problem with eeprom must be solved: what if a power-down happens during a write which will destroy the flash information.

Think about using an I2C or SPI interface and some FRam from Cypress.

Bob

0 Likes

Okay.. SFlash endurance is 100K cycles. Understood. Thanks. Then I will prefer storing it in External flash

0 Likes

I am not quite sure whether your external eeprom allows for more cycles. Still the power-loss problem will be there. So I strongly suggest using an FRam which does not suffer from any of these restrictions.

Bob

0 Likes

Thanks Bob. For my use case, I think external flash is really a good option.

0 Likes