20706-A2_Bluetooth I2C example

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

cross mob
Anonymous
Not applicable

Hi All,

I am looking for the sample code to run the I2C. Currently, Wiced Studio just supports for SPI, dont have I2C.

Thanks in advance

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi,

Not sure if we have a ready example for I2C. Will check.

We have I2C APIs for 20706. Please refer the wiced_hal_i2c.h file in WICED Studio ( /20706-A2_Bluetooth/include/wiced_hal_i2c.h )

Also you can refer the snip from 20719 folder (/20719-B1_Bluetooth/apps/snip/hal/i2c_master) and try porting the same on 20706 with help of APIs from wiced_hal_i2c.h file

Regards,

Anjana

View solution in original post

1 Reply
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi,

Not sure if we have a ready example for I2C. Will check.

We have I2C APIs for 20706. Please refer the wiced_hal_i2c.h file in WICED Studio ( /20706-A2_Bluetooth/include/wiced_hal_i2c.h )

Also you can refer the snip from 20719 folder (/20719-B1_Bluetooth/apps/snip/hal/i2c_master) and try porting the same on 20706 with help of APIs from wiced_hal_i2c.h file

Regards,

Anjana