- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
IDE: modustool box version 2.4.0
Chip: CYW20706
Project: LE_Hello_Sensor
I want to control Pin BT_DEV_WAKE(GPIO36, WICED_P36) as a IO output Pin,
but when I call wiced_sleep_config (TRUE, WICED_WAKE_GPIO_ACTIVE_LOW, WICED_WAKE_GPIO_ACTIVE_LOW); in APPLICATION_START()
the PIO36 is difficult to control output HI, output LO,
I am confuse about is wiced_sleep_config () limited the control of PIO36?
so, I want to set wiced_sleep_config (TRUE, NULL, NULL),
but build project error.
I don't know any step go wrong.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you enable sleep mode using wiced_sleep_config and configured the Dev_wake and Host_Wake active modes, then those pins will be under the control of the FW which controls the sleep modes.
By the way, there is a bug in the current SDK in configuring low power mode for cyw20706. We are internally debugging and fixing the issue. The fix will be available in the upcoming SDK.
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you enable sleep mode using wiced_sleep_config and configured the Dev_wake and Host_Wake active modes, then those pins will be under the control of the FW which controls the sleep modes.
By the way, there is a bug in the current SDK in configuring low power mode for cyw20706. We are internally debugging and fixing the issue. The fix will be available in the upcoming SDK.
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @DheerajPK_41 ,
So if I set Dev_wake and Host_Wake output hi, 20706 will not go to sleep mode, am I correct ?
thanks,
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update:
Based on the below parameter, we can wake up the device or host. We should define the polarity in wiced_sleep_config_t.
sleep_config.device_wake_mode
sleep_config.host_wake_mode