M24C02 I2C EEProm Code Example

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

cross mob
ALDE_1053476
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

Hello,

I need to program an I2C EEProm M24C02.

Is there any code example available?

Thanks,

Alfonso

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello Alfonso,

You can have a look at the following CY8CMBR3xxx Host APIs Demo Project.zip code example at https://www.cypress.com/documentation/application-notes/an90071-cy8cmbr3xxx-capsense-design-guide

In this project I2C protocol is used to configure CY8CMBR3xxx device using PSoC 4. You can use this project as a reference to use PSoC to communicate with the I2C EEPROM M24C02 you are using.

Apart from that we have the following PSoC 4 based code examples on I2C:

CE95363: I2C Master using a Serial Communication Block (SCB) with PSoC 4

CE95364: I2C Slave using a Serial Communication Block (SCB) with PSoC 4

You can also refer to the other code examples available: https://www.cypress.com/documentation/code-examples/psoc-345-code-examples

Best Regards

Ekta

View solution in original post

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello Alfonso,

You can have a look at the following CY8CMBR3xxx Host APIs Demo Project.zip code example at https://www.cypress.com/documentation/application-notes/an90071-cy8cmbr3xxx-capsense-design-guide

In this project I2C protocol is used to configure CY8CMBR3xxx device using PSoC 4. You can use this project as a reference to use PSoC to communicate with the I2C EEPROM M24C02 you are using.

Apart from that we have the following PSoC 4 based code examples on I2C:

CE95363: I2C Master using a Serial Communication Block (SCB) with PSoC 4

CE95364: I2C Slave using a Serial Communication Block (SCB) with PSoC 4

You can also refer to the other code examples available: https://www.cypress.com/documentation/code-examples/psoc-345-code-examples

Best Regards

Ekta

0 Likes