Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

StN__1917156
Contributor

In WICED 6.2.1 I could see wiced_hal_i2c_select_pads(scl_i2c, sda_i2c) only in the API for 20735_B1, but not for 20719_B1?

So what is the solution for 20719?

Thanks

0 Likes
1 Solution
SheetalJ
Moderator
Moderator

You can configure i2c pins in /20719-B1_Bluetooth/platforms/CYW920719Q40EVB_01/wiced_platform_pin_config.c as mentioned in comments in /20719-B1_Bluetooth/include/20719/hal/wiced_hal_i2c.h.

View solution in original post

3 Replies
SheetalJ
Moderator
Moderator

Hi,

CYW20719 has dedicated I2C pins. Whether as, All GPIOs are supermux in CYW20735. All GPIOs can be programmed for any alternative functions. For example, key scan, SPI, I2C, IR_TX, quadrature, peripheral UART, ADC, etc. Therefore wiced_hal_i2c_select_pads() is given to select the pins.

StN__1917156
Contributor

Thanks for the answer but the spec sheet for 20719 (Document Number: 002-14815 Rev. *D) claims opposite: Table6 GPIO Supermux Input Functions on page21 says SCL, SDA are elgible for Supermux-ing on any eligible GPIO pin as per Table 5. Not only on dedicate 16,17

Which one is true/false - your last posting or spec sheet?

0 Likes
SheetalJ
Moderator
Moderator

You can configure i2c pins in /20719-B1_Bluetooth/platforms/CYW920719Q40EVB_01/wiced_platform_pin_config.c as mentioned in comments in /20719-B1_Bluetooth/include/20719/hal/wiced_hal_i2c.h.

View solution in original post