According to the datasheet of CYBT-343026 and CYW20706,
this module seems to have BT_HOST_WAKE pin at PAD#12 as attached document.
I think this pin will be asserted when the module receive Bluetooth packet and can notify it to the HOST CPU.
Is that right?
If yes of Q1, which API should we call to enable BT_HOST_WAKE function?
I'd like to know whether Cypress already ready complete API to enable BT_HOST_WAKE or,
the customer should design BT_HOST_WAKE function by calling some APIs manually.
Solved! Go to Solution.
1. Yes, the HostWake pin will be asserted.
2. Please use the API void wiced_sleep_config ( wiced_bool_t enable, wiced_wake_gpio_mode_t bt_wake, wiced_wake_gpio_mode_t host_wake ) to configure this function. You can find the API in the Wiced\include\wiced_power_save.h. There are also demo such as headset and apple_mfi that uses this API for your reference.
Thanks for your prompt response.
I installed WICED Studio 6.1.0 but there is no such "void wiced_sleep_config " and "wiced_power_save.h" in API manual and install directory.
Is my WICED old? or Am I something wrong?
A small addition: You need to use wiced_transport_init() along with the wiced_sleep_config() API. Only when both are used in conjunction, will the HOST_WAKE be toggled automatically when the stack has any events to report to the host.