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

Studio Bluetooth Forum Discussions

ilHw_4713311
Level 3
Level 3
First solution authored 25 replies posted 10 replies posted

@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
4 Replies
ilHw_4713311
Level 3
Level 3
First solution authored 25 replies posted 10 replies posted

wiced_hal_i2c_init( WICED_I2C_SDA_SFLASH_MOSI_SCL_SFLASH_MISO );
Is it effective for me?

0 Likes
Charles_Lai
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 100 replies posted

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

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
Charles_Lai
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 100 replies posted

Hi,

Due to the lack of vital information, this issue cannot be processed.

It's recommended that you look for field debug assistance or share your whole source code, for resolving your issue.

This thread is now closed. You are always welcome to post new issues in our community.

Best regards

0 Likes