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?
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.
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?
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.