- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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