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

AIROC™ Bluetooth

adam
Level 3
25 sign-ins 10 questions asked First solution authored
Level 3

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.

adam_0-1649995829262.png

 

0 Likes
2 Replies
DheerajPK_41
Moderator
Moderator 750 replies posted 500 likes received 500 replies posted
Moderator

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

0 Likes
adam
Level 3
25 sign-ins 10 questions asked First solution authored
Level 3

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

0 Likes