How can I use the pin F8 as general GPIO(Interrupt) in CYW20706

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

cross mob
Anonymous
Not applicable

Hi,

CYW20706 is standalone. (no MCU)

and I use wiced_sleep_config(TRUE, ....) for low power mode.

I want to use the pin F8 (BT_DEV_WAKE) as GPIO.

Is it possible?

0 Likes
1 Solution
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Yes, you can use these pins as regular IO.

Jacob

View solution in original post

6 Replies
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Yes, you can use these pins as regular IO.

Jacob

Anonymous
Not applicable

Thank you, jact.

0 Likes
Anonymous
Not applicable

Hi, jact

I configured wiced_sleep_config(TRUE, WICED_WAKE_GPIO_ACTIVE_LOW, WICED_WAKE_GPIO_ACTIVE_LOW);  for low power mode,

and I set the pin F8 (WICED_P36, BT_DEV_WAKE) to GPIO for interrupt.

wiced_hal_gpio_configure_pin(WICED_P36,

                                                       (GPIO_INPUT_ENABLE | GPIO_PULL_UP | GPIO_EN_INT_FALLING_EDGE),

                                                            GPIO_PIN_OUTPUT_HIGH );

wiced_hal_gpio_register_pin_for_interrupt(WICED_P36, pedometer_interrupt_handler, NULL );

wiced_hal_gpio_clear_pin_interrupt_status(WICED_P36);

The scope has confirmed that the interrupt occurs, but the interrupt handler does not run.

It seems that CYW20706 does not wake up by interrupts.

Are there any settings to wake up by interrupts?

PUART RX interrupts does not seem to receive data.

Only the API(wiced_sleep_config(...)) was used to set low power mode.

0 Likes
Anonymous
Not applicable

We've been able to reproduce the issue. Interrupts on P36 would not result in the interrupt function being called.

The issue has been resolved and the fix will be available in the upcoming WICED releases.

Anonymous
Not applicable

Hi yssu

Okay, Thank you.

When is the WICED released?

0 Likes

WICED Studio 6.1 is in SVT now and will be released in the next 2-3 weeks.

0 Likes