What is wrong with WICED I2C ?

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

cross mob
AsRa_264661
Level 4
Level 4
50 replies posted 25 replies posted 10 likes received

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
1 Solution

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
Moderator
5 comments on KBA First comment on KBA 5 questions asked

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
lock attach
Attachments are accessible only for community members.

Hi Anjana,

Please find the attachment.

Thanks
Ashok r

0 Likes

Hi AnjanaM_61DheerajP_41MichaelF_56

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

Thanks

Ashok r

0 Likes

Hi All, AnjanaM_61DheerajP_41

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

Thanks

Ashok r

0 Likes

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

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>

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