- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
ispn:60024:0.926:0
-
l1:314:0.926:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.