cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

ilHw_4713311
New Contributor II

@Hello.

I review CYW20706 and  found that I cannot use i2c and PUART flow control. because puart flow control shares i2c.

Or can you tell me how I can configure it?

pastedImage_0.png

0 Likes
3 Replies
ilHw_4713311
New Contributor II

wiced_hal_i2c_init( WICED_I2C_SDA_SFLASH_MOSI_SCL_SFLASH_MISO );
Is it effective for me?

0 Likes
Charles_Lai
Moderator
Moderator

Hi,

As far as I'm concerned, I2C and PUART don't share the same pins. You can use them at the same time. See the datasheet below:

https://www.cypress.com/documentation/datasheets/cyw20706-bluetooth-soc-embedded-wireless-devices

But as for your concern, I2C does share the pins with other interfaces like SPI / I2S / PCM.

Best regards

0 Likes
ilHw_4713311
New Contributor II

As you mentioned, I cannot use i2c and PUART with same pin.

I found CYW920706WCDEVAL Evaluation board cannot use i2c and PUART. Because PUART cts/rts shares i2c.

So can I change i2c pin(SCL, SDA) with following API? so that can I use PUART(rx,tx,cts,rts) and i2c with my target board?

wiced_hal_i2c_init( WICED_I2C_SDA_SFLASH_MOSI_SCL_SFLASH_MISO );

I hope you make sure it.

0 Likes