myEEPROM: component to save/recall application settings in EEPROM between power offs

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

cross mob
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Hi,

almost every application requires to save and recall some custom settings in EEPROM between power off. Attached is simple component which accomplishes just that. All you need to do is declare some structure to hold application settings and to initialize component. Demo project attached. Tested with PSoc5LP (Creator 3.0).   

Several options available:  CRC8 check upon recall,   variable CRC seed value (can change for different apps),  variable EEPROM start address (can use multiple instances of the component to save several buffers),   Temperature check for operation in adverse conditions.

odissey1

 

myEEPROM_01_A.png

 

RealTerm output.PNG

20 Replies