雷竞技电竞平台对话框半导体客户支持-深度睡眠 https://support.dialog-semiconductor.com/resource-keywords/deep-sleep 10秒auto-wakeup https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/10-second-auto-wakeup < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产= "内容:编码" > < p > DA14580,我们一直使用深度睡眠和唤醒机制,依靠GPIO水平过渡。这很好和可靠地工作。最近,我们要把一个额外的功能,需要定时唤醒每1 - 3分钟。这是通过将该设备进入深度睡眠模式使用app_easy_timer前设置一个计时器。这是工作如预期一般但是我注意到,每10秒设备自行醒来非常短暂,回到睡眠。因为这会导致额外的电力消耗,我们不再能够满足我们对产品的生命周期功率预算。< / p > < p >我看到唤醒通过观察目前智能片段电力波形分析器。我试图改变da1458x_config_advanced CFG_MAX_SLEEP_DURATION_EXTERNAL_WAKEUP_MS的价值。没有看到auto-wakeup频率的变化。< / p > < p >当我消除app_easy_timer唤醒,设备不醒了。只有一个计时器设置,我看到这10 s唤醒。有什么办法可以防止周期性唤醒?

Device: 
周五,2018年12月14日23:38:43 + 0000 abarangan 264179年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/10-second-auto-wakeup的评论
GPIO中断检测 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/gpio-interrupt-detection < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产= "内容:编码" > < p >嗨对话框中,< / p > < p > <强>问题陈述< /强> < br / > -注册一个GPIO中断/ ISR使用GPIO_RegisterCallback()和检测短按和长按按钮时,系统已经启动并运行。< / p > < p > < >强我试过< /强> < / p > < ul > <李>我用SW_2 SW_3以来(P0_6)这个功能目前被用于wkupct_register_callback()初始化BLE广告。李李< / > < >我可以注册的中断后的回调方法< /李> < blockquote > < p >空白register_button_isr (void) < br / > {< br / > NVIC_DisableIRQ (GPIO1_IRQn); < br / > / /设置isr调按钮中断< br / > GPIO_RegisterCallback (GPIO1_IRQn push_button_callback); < br / > / / < br / >按钮输入GPIO_EnableIRQ (GPIO_PORT_0、GPIO_PIN_6 GPIO1_IRQn,真的,真的,0),< br / >} < / p > < /引用> <李>我配置下的set_pad_functions()和保留的在GPIO_reservations ()。李李< / > < >打开LED DA14583_ProDK如果SW_2被按下,再次按下时,关掉了。李< / > < / ul > < p > <强>观察< /强> < / p > < ul > <李>当系统在主动模式,即广播祝福广告包,生成的ISR不是SW_2销李< / > <李>如果我遵循相同的过程通过修改作品的例子中,一切都只是作品完美李< / > < / ul > < p >附后(ble_examples.zip)是文件包含修改作品例子,我ble_all_in_one应用程序中添加的新文件< / p > < p >期待积极的响应。< / p > < p >提前感谢你< / p > < p >对< br / > Dhruv沙< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / gpio”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > gpio < / > < / div > < div class = " field-item奇怪" > < a href = " / resource-keywords /深度睡眠”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >深度睡眠< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /中断”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >中断< / > < / div > < div class = " field-item奇怪" > < a href = " / resource-keywords / bleallinone”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > ble_all_in_one < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /作品”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >作品< / > < / div > < / div > < / div > < div class =”字段field-name-field-attachment field-type-file field-label-above”> < div class = "字段标签" >附件:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> <跨类=“文件”> < img类= "文件图标" alt =“包图标”title =“应用程序/ zip " src = " /模块/文件/图标/ package-x-generic。png " / > < a href = " https://support.dialog-semiconductor.com/system/files/attachments/ble_examples.zip " type = "应用程序/邮政编码;长度= 66684 "标题= " ble_examples。zip " >示例代码GPIO中断检测< / > < / span > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14583”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14583 < / > < / div > < / div > < / div > 太阳,2018年6月24日14:10:02 + 0000 dhruv11593 198548年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/gpio-interrupt-detection的评论 不能进入深度睡眠模式 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/can-not-enter-deep-sleep-mode < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产= "内容:编码" > < p >嗨对话框中,< / p > < p > 1。我使用“app_easy_gap_undirected_advertise_with_timeout_start (uint16_t延迟,无效(* timeout_callback)(空白)”做广告,然后关闭它10秒(延迟是10 s)后,我添加一个“arch_set_sleep_mode (ARCH_DEEP_SLEEP_ON)”在“静态空app_easy_gap_advertise_stop_handler(空白)”DA14580进入深度睡眠,但它不进入深度睡眠。有其他进程或功能之前,我需要关闭DA14580可以去深度睡眠?< / p > < p >这是我固件代码摘录:< br / >空白app_easy_gap_undirected_advertise_with_timeout_start (uint16_t延迟,无效(* timeout_callback)(空白))< br / > {< / p > < p > / / < br / >如果停止当前正在运行的计时器(adv_timer_id ! = EASY_TIMER_INVALID_TIMER) < br / > app_easy_timer_cancel (adv_timer_id); < br / >如果(timeout_callback ! = NULL) < br / > adv_timeout_callback = timeout_callback; < / p > < p > adv_timer_id = app_easy_timer(延迟,app_easy_gap_advertise_stop_handler); < br / > app_easy_gap_undirected_advertise_start ();} < p > < / p > < / p > < p >静态孔隙app_easy_gap_advertise_stop_handler (void) < br / > {< br / > app_easy_gap_advertise_with_timeout_stop (); < / p > < p > app_easy_gap_advertise_stop (); < / p > < p > adv_timer_id = app_easy_timer (SLEEP_TIMEOUT app_timeout_callback);< / p > < p > arch_set_sleep_mode (ARCH_DEEP_SLEEP_ON); < br / >} < / p > < p > 2。如果我改变“app_easy_gap_undirected_advertise_start ()”“app_easy_gap_non_connectable_advertise_start()”,然后DA14580可以成功地进入深度睡眠模式。做不同的广告类型定义睡眠或空闲模式可以遵循?< / p > < p > 3。我觉得这段代码使DA14580在空闲模式。我怎么知道哪个内核事件仍在(防止深度睡眠模式)?< / p > < p > rwip。c (Line323) < br / > / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * < br / > * * * * * * * * * * * * * *检查内核事件* * * * * * * * * * * * * * < br / > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / < br / > / /检查一些内核处理正在进行< br / >如果(! ke_sleep_check ()) < br / >打破;< / p > < p > / /处理器睡眠可以启用< br / > proc_sleep = mode_idle; < / p > < p > DBG_SWDIAG(睡眠、藻类、1);< / p > < p > 4。 Can I terminate the KERNEL EVENTS directly to enter deep sleep mode if I know which event is still on-going?

5. Can I force deep sleep mode even if I cannot identify or terminate the Kernel Events?

SDK5.0.3

Thanks

Keywords: 
Device: 
星期一,2017年7月10 08:55:27 + 0000 RexDevelopment 64727年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/can-not-enter-deep-sleep-mode的评论
DA14681睡眠唤醒时间 https://support.dialog - semiconductor.com/forums/post/dialog smartbond蓝牙低-能源- 42%——e2%80%93 software/da14681 -睡眠唤醒的时间 < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产= "内容:编码" > < p >什么是典型的时间DA14681从深度睡眠醒来,运行一个ADC转换,然后继续睡觉吗?< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords /深度睡眠”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >深度睡眠< / > < / div > < div class = " field-item奇怪" > < a href = " / resource-keywords / adc”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > adc < / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da1468x”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da1468x < / > < / div > < / div > < / div > 0000年结婚,2017年1月25日10:52:46 + benvivo 5295年https://support.dialog-semiconductor.com https://support.dialog - semiconductor.com/forums/post/dialog smartbond蓝牙低-能源- 42%——e2%80%93 software/da14681 -睡眠唤醒时间#评论