- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
PSoC1 MCU
-
PSoC3 MCU
-
PSOC5 LP MCU
- Tags:
- I2Cm 10-bit address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi anne,
Thank you for posting in infineon community.
the I2Cm generated api from Psoc Designer supports only 7-bit addressing mode.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Apologies for the misunderstanding.
The I2Cm module only supports 7-bit addressing. It will not be possible.
Regards,
Mallika