cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox Bluetooth SDK

AsRa_264661
Contributor

Hi ALL,

I tried to drive OLED display (i2c interface) with CYW920819EVB-02 kit. The result is, only the half of screen works.. https://www.instagram.com/p/Bz5xHbzH6no/

It was working code nothing wrong in cmds or anything, then i tried the same code with PSoC4 and its works well.. https://www.instagram.com/p/Bz-ALrBHbLh/

In both case i used 100k baud-rate.

CYW920819EVB-02 -> Pins-> scl_pin = WICED_P27 .sda_pin = WICED_P32

i changed the pins also but stil the result is same. so something goes wrong with wiced_hal_i2c_write( but always it returns SUCCESS.

Please let me know, what could be the difference between PSoC4 I2C & WICED I2C.

Thanks

Ashok r

0 Likes
Reply
1 Solution
AnjanaM_61
Moderator
Moderator

Hi Ashok,

I checked internally and confirmed that this is a limitation. 

HW buffer is 64 bytes. In that  slave address is 1 byte. So maximum payload is 63 bytes.

Thanks,

Anjana

View solution in original post

7 Replies
AnjanaM_61
Moderator
Moderator

Hi Ashok,

Not sure what is the issue. Can you please share your WICED application to have a look into code?

Thanks,
Anjana

0 Likes
Reply
AsRa_264661
Contributor

Hi Anjana,

Please find the attachment.

Thanks
Ashok r

0 Likes
Reply
AsRa_264661
Contributor

Hi AnjanaM_61DheerajP_41MichaelF_56

Can anyone respond please, running out of time...

Thanks

Ashok r

0 Likes
Reply
AsRa_264661
Contributor

Hi All, AnjanaM_61DheerajP_41

I solved this issue temporarily from my application end. but  WICED i2C has issue !

Thanks

Ashok r

0 Likes
Reply
AnjanaM_61
Moderator
Moderator

Hi Ashok,

Please be assured that we are checking on issue with I2C side.

Meanwhile it will be great if you can share the fix which you are using.


Thanks,
Anjana

0 Likes
Reply
AsRa_264661
Contributor

Hi Anjana,

Seems like, the i2c payload is limited by 64bytes, if i send more then 64

bytes , the i2c sends zero after 64th byte.

Thanks

Ashok r

On Mon, 29 Jul 2019 at 12:08, AnjanaM_61 <community-manager@cypress.com>

AnjanaM_61
Moderator
Moderator

Hi Ashok,

I checked internally and confirmed that this is a limitation. 

HW buffer is 64 bytes. In that  slave address is 1 byte. So maximum payload is 63 bytes.

Thanks,

Anjana

View solution in original post