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

cross mob
Da_Vinci
Level 2
Level 2
25 sign-ins 10 sign-ins 5 replies posted

Hello,

1. After following this 
wiced_sleep_config( WICED_TRUE, NULL,  NULL); generates following error, replacing NULL with 0/1 works but GPIO is  not what I want for device to wake up.

Da_Vinci_0-1646910965549.png

2. When I use 0/1 as the 2nd and 3rd argument I get current as low as 960uA and device does not respond to UART Rx interrupts.

3. wiced_power_save_start(WICED_WAKE_SOURCE_TIMEOUT, POWER_SAVE_TIMER_MS); what are acceptable values for POWER_SAVE_TIMER_MS?

0 Likes
3 Replies
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

1) The description of the function wiced_sleep_config() can be found below. Please note that wiced_sleep_config() only works for CYW20706 based scenarios.
https://infineon.github.io/btsdk-docs/BT-SDK/20706-A2_Bluetooth/API/wiced__power__save_8h.html#aa4d1...

2) It's expected that the device doesn't respond to UART because CYW20706 turns off UART in PDS state. See:
https://www.infineon.com/dgdl/Infineon-CYW20706_CYW20735_and_CYW20719_Low-Power_Modes-Software-v03_0...

3) Please refer to the code example for demonstration. See:
https://community.infineon.com/t5/Resource-Library/CYW20706-BLE-Low-Power-Beacon/ta-p/246355

And all the three references above (API docs, Low-Power modes User Guide, Code Example) will give you as much as information.

Best regards

0 Likes

Hello Charles,

1) Does that mean wiced_sleep_config() will not work with CYBT-343026-01 Empty_BTSDK_App?
Do I have to use wiced_sleep_configure() instead?

2) Low-Power modes User Guide points to same example in point 3) 

3) This example is with CYW920706WCDEVAL I am using CYBT-343026-EVAL. I tried porting this example to CYBT-343026-EVAL but got the same error mentioned in the screenshot above. Apparently NULL cannot be passed as 2nd and 3rd argument. 

0 Likes

Can anyone please reply?

0 Likes