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

Studio Bluetooth Forum Discussions

ryli_4531716
Level 1
Level 1
First like given

Hi,

after mount a auth ic in CYW20706evb U4 postition and open SW7 pos 6-8 switch to on,

before using iap2 apis, how to ensure this i2c connection is working using wiced studio? is there sample code can use for?

thanks

0 Likes
3 Replies
SheetalJ
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi ryli_4531716​,

We do not have a ready application available for CYW20706, but you can refer i2c example available for CYW20719 (/20719-B1_Bluetooth/apps/snip/hal/i2c_master) and try to port the same for CYW20706. /20706-A2_Bluetooth/include/wiced_hal_i2c.h header file will be useful.

ryli_4531716
Level 1
Level 1
First like given

Hi

thanks,

but I tried to wiced_hal_i2c_init(WICED_I2C_SDA_I2S_DOUT_PCM_OUT_SCL_I2S_DIN_PCM_IN); but fail, and I try to wiced_set_debug_uart( WICED_ROUTE_DEBUG_TO_HCI_UART ); to print out debug,

sometimes hci uart com port print nothing, any comments?

0 Likes

You will not be able to see the hci uart logs if you reset the board after programming.

I will try testing at my end and update you.

0 Likes