PSOC4 SFlash for user preferences

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

cross mob
wablc_2332316
Level 3
Level 3
First like received First like given

Id like to to store end user preferences and product serialization in the 500bytes of Sflash that will only be accessed at time of hardresets and written very infrequently. Is there an data retention/reliability issue with doing this? Any practical reasons to not utilize this memory for user preferences?

thanks

Wayne

0 Likes
1 Solution
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

The internal Flash can only be written with row by row, not byte. Row size of PSoC4 BLE is 128bytes.

Program/erase cycle of each row is 100,000 times.  Please estimate the scale of your data, Flash size would be used and Flash life cycle.

Refer PSoC4 SFlash example for more details in PSoC Creator.

And found another document about PSoC4 BLE SFlash.

http://www.cypress.com/file/206621/download

Thanks,

Ryan

View solution in original post

1 Reply
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

The internal Flash can only be written with row by row, not byte. Row size of PSoC4 BLE is 128bytes.

Program/erase cycle of each row is 100,000 times.  Please estimate the scale of your data, Flash size would be used and Flash life cycle.

Refer PSoC4 SFlash example for more details in PSoC Creator.

And found another document about PSoC4 BLE SFlash.

http://www.cypress.com/file/206621/download

Thanks,

Ryan