wiced_hal_i2c_select_pads() for 20719?

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

cross mob
StN__1917156
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

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

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
Moderator
First comment on KBA 750 replies posted 500 likes received

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.

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

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.