Alternate module for CYBT-343026

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

cross mob
NeDh_4602711
Level 5
Level 5
5 solutions authored First solution authored 50 replies posted

Hello,

I was using the CYBT-343026 module as per the forum suggestion (click here). But I am facing a major issue with this controller for I2C communication to connect SSD1306 OLED display as it has a low buffer size than expected and it has limitation (click here for a forum).

Could you please suggest me dual BLE module similar to the CYBT-343026-00 module which has sufficient I2C communication buffer for communicating with another I2C device?

Thanks in advance

Regards,

Neeraj

0 Likes
1 Solution

I am able to display characters on the OLED display successfully but by using a 1 row at a time. Because I have written only in 1 row at a time, The character font is very small.

Still trying to write in the big font character by using 2-3 rows at a time.

Thanks and regards,

Neeraj

View solution in original post

0 Likes
4 Replies
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi NeDh_4602711 ,

For all of our BT dual mode chips I2C HW buffer is 64 bytes. So in one transaction max capability is 64 bytes. If more than 64 bytes, you need to send multiple writes.

Regards,

Anjana

0 Likes
lock attach
Attachments are accessible only for community members.

Hello AnjanaM_61​,

I tried the same as you suggested instead of writing below function

static uint32 display_write_buf( uint8* buf, uint16_t size ){

    uint32 status = TRANSFER_ERROR;

  status= wiced_hal_i2c_write(buf, size, _i2caddr);

    return status;

}

I wrote below function to send multiple writes but facing the same issue and also I make sure no transaction will be more than 1 byte.

static uint32 display_write_buf( uint8* buf, uint16_t size ){

    uint32 status = TRANSFER_ERROR;

    for(int i =0;i<size;i++){

        status= wiced_hal_i2c_write(buf, size, _i2caddr);

    }

    return status;

}

The code is attached for your reference.

Thanks and regards,

Neeraj

0 Likes

Hi NeDh_4602711 ,

I am sorry , I couldn't find any issue with the code.

As I don't have the display setup now at my wfh scenario, couldn't validate your issue.

Can you please confirm if you are still facing any issues with this ?

If then, please contact our local FAE.

Regards,

Anjana

0 Likes

I am able to display characters on the OLED display successfully but by using a 1 row at a time. Because I have written only in 1 row at a time, The character font is very small.

Still trying to write in the big font character by using 2-3 rows at a time.

Thanks and regards,

Neeraj

0 Likes