- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to the datasheet of CYBT-343026 and CYW20706,
this module seems to have BT_HOST_WAKE pin at PAD#12 as attached document.
Q1:
I think this pin will be asserted when the module receive Bluetooth packet and can notify it to the HOST CPU.
Is that right?
Q2:
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.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Takuya,
The wiced_power_save.h file has been deleted in the 6.1 version. You can find it in the 5.1 version or you can just use the attached file and add it to your SDK.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
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.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, zhxh
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.