Using I2Cm with 10-bit address EEPROM

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

cross mob
anne_4609456
Level 3
Level 3
10 replies posted 25 sign-ins 5 questions asked

I'm using I2Cm with CY7C64315 family chip to read/write and external memory (24C64).
It works fine if the memory address is only 7-bit address.

How can I address a 10-bit memory?
The example in the documentation uses only one byte for the address.

Any advice or example are welcome.

Regards,
Anne.

 

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi Anne,

Apologies for the delay in my response.

As pointed above, I2Cm user modules emulating a I2C master block in firmware do not support 10-bit slave addressing. Hence, implementing it will not be possible.

Regards,

Mallika

View solution in original post

0 Likes
7 Replies
HmdRahmathulla
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

Hi anne,

Thank you for posting in infineon community.

the I2Cm generated api from Psoc Designer supports only 7-bit addressing mode.

HmdRahmathulla_0-1666606799954.png

we have to write the extended api for 10-bit addressing. kindly share your code, we will check and revert back to you on the same.

 

Thanks & Regards

Mohamed Rahmathulla

0 Likes

Hello HmdRahmathulla

Did you had a chance to see my previous message?
Any idea how long will take to write extended API for I2Cm to address 10-bit address memory?

Best regards,
Anne anne_4609456

0 Likes
lock attach
Attachments are accessible only for community members.
anne_4609456
Level 3
Level 3
10 replies posted 25 sign-ins 5 questions asked

Hello Mohamed Rahmathulla. (HmdRahmathulla)

Thanks for your reply.

Follow attached the original project with few changes.
It doesn't work for 24C64 (10-bit address).
I think it should have two bytes for the address instead of only one as in the example.

I'm looking forward for any help.

Best regards,
Anne (anne_4609456)

0 Likes

Hello HmdRahmathulla

Did you had a chance to see my previous message?
Any idea how long will take to write extended API for I2Cm to address 10-bit address memory?

Best regards,
Anne anne_4609456

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi Anne,

Apologies for the delay in my response.

As pointed above, I2Cm user modules emulating a I2C master block in firmware do not support 10-bit slave addressing. Hence, implementing it will not be possible.

Regards,

Mallika

0 Likes

Hello Mallika.

In previous message Mohamed Rahmathulla (HmdRahmathulla) said it will write the code for I2Cm module to address 10-bit I2Cm.

@HmdRahmathulla could you please confirm if you are going to write the code to address 10-bit for I2Cm or not?

Regards,
anne @anne_4609456

 

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Apologies for the misunderstanding.

The I2Cm module only supports 7-bit addressing. It will not be possible.

Regards,

Mallika

0 Likes