MCU Deep Sleep enabling USB host function.

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

cross mob
JuMo_1762556
Level 3
Level 3
First like received First like given

I am trying to let CYW43907 (WICED-Studio-6.1) sleep during enabling USB host function.

I uses test sample program, <WICED_Studio>/apps/test/powersave/powersave.c.

To make MCU in DeepSleep mode, I called wiced_usb_host_init in this sample program, but it doesn't go to DeepSleep mode.

When execute mcu_powersave_sleep 1 3000, "Refuse to sleep due to WLAN resources are still requested" is displayed and doesn't go to sleep.

Does anyone have any suggestion for this issue ?

Or CYW43907 can't go to DeepSleep mode when enabling USB host ?

0 Likes
4 Replies
JuMo_1762556
Level 3
Level 3
First like received First like given

Does anyone have comment for my question ?

0 Likes

Adding a few members of the Applications team: grsr riya rroy zhez zhxh yans kavs shjl

0 Likes
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

43907 can not go to deepsleep in USB host mode as the USB stack is using the resources. In deep sleep mode, all the clocks except the 32KHz are powered down. Hence the clock to the USB core is powered down. In such case the USB core can not be initialized.

Can I go to Deep Sleep after USB is disabled ?

When I tried to go to Deep Sleep without enabling/disabling USB, the current drops about 30mA.

(I didn't do anything about USB in this case.)

But when I tried to go to Deep Sleep after enabling and disabling USB, the current drops only 10mA.

Does anyone know why this difference is happened ?

0 Likes