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?
Solved! Go to Solution.
Thank you, jact.
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.
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.
WICED Studio 6.1 is in SVT now and will be released in the next 2-3 weeks.