Code which shows how to enter deep sleep: Re: BCM20736S Sleep Example Firmware
Example when waking from deep sleep using an external crystal: Source Code: deep sleep enablement and the associated clock source handling...
Code which shows how to verify HIDOFF was entered: How to enter HIDOFF? How to detect if the request is not honored?
Latency considerations related to deep sleep: Wake up time from sleep/deep sleep
P0/Key Scan issue and waking from sleep unintentionally: Wakeup from deep sleep for unknown reasons...fixed in SDK 2.2
This is one of the most discussed topics on the forum, so if you go here: WICED Smart Forums
Then scroll down the page a little, you will see a list of categories. The category for sleep has the best threads on this subject categorized.
Thank your reply, but my concern is SLEEP mode NOT Deep Sleep! It is because of Deep sleep take a lot of time to boot at wake-up (about 1s). SLEEP mode can resolve this problem and my device will us less energy in case of 5s advertise period.
Any chance you might want to move to 20736 and take advantage of the latest SDK 2.2.1?
No, I cannot change to 20736 and SDK 2.2.1
1. There is no way to force the device to sleep for any amount of time.
2. If the goal is to sleep for 5s, then this is possible if all RF and timers are turned off, and then set an app timer for 5s.
3. SDK 1.x does not provide an API for the 20732 to do this.
Thanks very much JT. However, is there have any workaround? Can we implement it by make modification SDK 1.1 library or additional function. Do you have document to program the ARM cortex inside?
I'm afraid we have limited literature in SDK1.1. Most if not all have move on to new chips and SDK.
Can we directly program for the ARM cortex core inside?
Do you have any document for that purpose?
If there is any reference manual for ARM core inside, we can implement our own function to do the sleep task.
I am using BCM920706 with SDK 1.0.1
just like him (manhnguyen), I am trying to force the device to sleep for 5 second or more, but I dont sense any callback from the stack. I am not using any application timers. Still my callbacks are not executed, although I have registered my callback, as follows:
//registered my callback to enter into sleep
Also, I tried this below:
Please create a new thread.