cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

WaCu_1902616
New Contributor II

We are working with WICED 2.4.1 and have some questions about accessing functions in the 43362 chip

1.  How do we configure the Bluetooth coexistence GPIO’s 3, 4, and 5 as inputs?

2.  How do we configure the GPIO’s with a pullup or pulldown?

3.  How do we read the states of the gpio inputs?

this is apparently all done via the SDIO bus, using wiced api calls.

Thanks.

0 Likes
1 Reply
SeyhanA_31
Employee

Hi,

You may update the init_platform(...) in ...\Wiced\Platform\BCM943362WCD4\platform.c to define GPIO pins as input or output.

The wiced_gpio_init(...) with INPUT_PULL_UP will set GPIO to pullup and INPUT_PULL_DOWN will set GPIO to pulldown. There are more options for setting the GPIO and please check wiced_gpio_config_t in ...\include\wiced_platform.h

Use wiced_gpio_input_get(...) to read the input. Use wiced_gpio_output_low() or wiced_gpio_output_high() set the output.

Please checkout "push2scan" a new and simple snip that starts and stop WiFi scanning for simple example.

Thanks,

Seyhan

0 Likes