You are here

I2C Component - Max supported by BCP | Cypress Semiconductor

I2C Component - Max supported by BCP

Summary: 3 Replies, Latest post by hli on 02 Dec 2016 02:05 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
alog_1602741's picture
User
5 posts

Good morning everyone,

 

I have a problem concerning the component I2C in PSoC Creator 3.3.

I have download the example "I2C BLE bridge" here:

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

 

In the file "app_I2C.h", there is two line code that i don't understand:

#define I2C_READ_BUFFER_SIZE    (61) /* Max supported by BCP */
#define I2C_WRITE_BUFFER_SIZE    (61) /* Max supported by BCP */

 

What means "Max supported by BCP"? There is a way to improve this value?

 

Thank you for your answer.

 

hli
user_78878863's picture
User
2575 posts

BSP is the "bridge control panel" - the software that connects to the I2C BLE bridge (on the PC side). Why do you want to increase that - 61 seems quite plenty?

alog_1602741's picture
User
5 posts

Thank you for your reply.

In fact i would like to increase this value because on some frames i will use sometimes 200 bytes. So if i understand why 61 is the maximum, i can maybe increase this value to 256 or 512 for example. I have seen maybe there is a link betweek this value and "Attribute MTU size"?

hli
user_78878863's picture
User
2575 posts

I think you should be able to send larger packets still (but I have never used the BSP or the I2C bridge). But since this is a limitation of the BSP, you should raise a support case with Cypress and ask them directly.

Log in to post new comments.