CYW20706 Can I use i2c and PUART(rx,tx,rts,cts) at them same time?

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

cross mob
ilHw_4713311
Level 4
Level 4
5 solutions authored 50 sign-ins 50 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 4
Level 4
5 solutions authored 50 sign-ins 50 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
500 replies posted 250 solutions authored 250 sign-ins

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
500 replies posted 250 solutions authored 250 sign-ins

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