Confused with 5LP EEPROM API

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

cross mob
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

 I am a bit confused ovcer use of the EEPROM in the 5LP

   

Online examples state the entire rows must be read form eeprom, altered and written back. Hoewever, the datasheet for EEPROM in the schematic state you can read and write to any single byte using EEPEOM_ReadByte and EEPEOM_WriteByte.

   

Would someone please privide an example how I would write and read single bytes to EEPEOM.

   

Thanks

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

There is an example project for PSoC5LP and EEPROM that uses the ByteWrite() function.

   

Hope that this will clarify your doubts.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Here is a component for that purpose -

   

 

   

    

   

          http://www.psocdeveloper.com/project/easy-eeprom/

   

 

   

    

   

          http://video.cypress.com/video-library/video/Corporate/PSoC-Creator-Tutorial-Importing-Components/20...

   

 

   

Regards, Dana.

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

You may consider using this custom component for writing/reading EEPROM.

   

odissey1

0 Likes