CY8C4014-LQL-422 simulate eeprom drivers Designe

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

how to use CY8C4014-LQL-422 chip simulate a eeprom device ?Eeprom has different read and write IIC sequence。when master read ,there has two start single like the picture.

0 Likes
1 Solution
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Hello,

   

You can look into the HRM_Datalogger project for help-

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day026_HRM...

   

In that you can use "uint8 WriteFRAMData(uint16 addr_buf, uint8* write_buf, uint16 len)" function ,in the function it is using first 4 byte for addres but,you can modify it as you need only1 byte of address.

   

Similarly ,there is "uint8 ReadFRAMData(uint16 addr_buf, uint8* read_buf, uint16 len)" function is for reading.-

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/blob/master/100_Projects_in_100_Days/Day026_HRM...

View solution in original post

0 Likes
1 Reply
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Hello,

   

You can look into the HRM_Datalogger project for help-

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day026_HRM...

   

In that you can use "uint8 WriteFRAMData(uint16 addr_buf, uint8* write_buf, uint16 len)" function ,in the function it is using first 4 byte for addres but,you can modify it as you need only1 byte of address.

   

Similarly ,there is "uint8 ReadFRAMData(uint16 addr_buf, uint8* read_buf, uint16 len)" function is for reading.-

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/blob/master/100_Projects_in_100_Days/Day026_HRM...

0 Likes