How to setup HIDOFF(CYW20706) with ModusToolbox + BTSDK

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

cross mob
TaMi_1708256
Level 2
Level 2
50 sign-ins First like given 25 sign-ins

Hi

I'm trying to implement HIDOFF using GPIO.
It worked fine with WICED Studio 6.x.
However, it does not work well with ModusTollbox2.3 + BT SDK (3.0 / 3.1).
In the case of Modus, 20706 go to HIDOFF, but it wakes up after 5 seconds without GPIO operation.

For Example

wiced_hal_gpio_register_pin_for_interrupt( WICED_GPIO_BUTTON, NULL, NULL );
wiced_hal_gpio_configure_pin( WICED_GPIO_BUTTON,WICED_GPIO_BUTTON_SETTINGS(GPIO_EN_INT_FALLING_EDGE), WICED_GPIO_BUTTON_DEFAULT_STATE );
wiced_power_save_start(WICED_WAKE_SOURCE_GPIO, 0);

Please tell me the correct setting of HIDOFF for ModusToolbox/BTSDK.

I am testing with the CYBT-343026-EVAL01 board. GPIO uses P0.

Best Regards,

 

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Update:

The issue showed up in multiple versions of SDK unevenly. It will be solved in the upcoming BTSDK (v3.3). 

View solution in original post

5 Replies