sdk 5 ble example project sleeping problem

8 posts / 0 new
Last post
toughworld
Offline
Last seen:3 years 1 month ago
加入:2015-05-12 09:55
sdk 5 ble example project sleeping problem

I tried the SDK 5 ble example(barebone and repoter) ,it works. But when I config it to be extend sleep mode in da1458x_config_basic.h and user_config.h , fallowing the sleep mode API of software development guide,the da hang up after 2s ,which is seems to be default startup period.The jtag debug is off of course.
did I miss something?

Keywords:
Device:
MT_dialog
Offline
Last seen:2 hours 39 min ago
Staff
加入:2015-06-08 11:34
Hi toughworld,

Hi toughworld,

In order to set your application in sleep you should set the app_default_sleep_mode variable in the user_config.h file to ARCH_EXT_SLEEP_ON. By doing this you should be able to operate in extended sleep mode. I believe that the #define CFG_MEM_MAP_EXT_SLEEP is the default configuration in the barebone example.

Thanks MT_dialog

toughworld
Offline
Last seen:3 years 1 month ago
加入:2015-05-12 09:55
I tried again with fresh

I tried again with fresh unzip SDK. The barebone works without modifying anything,but hang up after 2s with app_default_sleep_mode changed to ARCH_EXT_SLEEP_ON.

toughworld
Offline
Last seen:3 years 1 month ago
加入:2015-05-12 09:55
Hi MT,do you confirm that it

Hi MT,can you confirm that it's my wrong configure?

MT_dialog
Offline
Last seen:2 hours 39 min ago
Staff
加入:2015-06-08 11:34
Hi toughworld,

Hi toughworld,

I ve reconfirmed with a fresh downloaded SDK5, you should be able to set your device to extended sleep just by modifing the app_default_sleep_mode to ARCH_EXT_SLEEP_ON. You are using smart Snippets in order to confirm that your device isn't entering extended sleep ? The local team will contact you though in order to solve your issue.

Thanks MT_dialog

toughworld
Offline
Last seen:3 years 1 month ago
加入:2015-05-12 09:55
I have just download a new

I have just download a new one, finding the new zip size are different fromm my original one i!!!

toughworld
Offline
Last seen:3 years 1 month ago
加入:2015-05-12 09:55
my problem is solved at last

my problem is solved at last .I found that I choose the wrong board.Thanks for your patience ,MT_dialog.

MT_dialog
Offline
Last seen:2 hours 39 min ago
Staff
加入:2015-06-08 11:34
Hi toughworld,

Hi toughworld,

No problem, Glad it worked.

Thanks MT_dialog

Topic locked