雷竞技电竞平台对话框半导体客户支持-按钮唤醒 https://support.dialog-semiconductor.com/resource-keywords/button-wake 按钮异常唤醒(转向复位) https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/abnormal-button-wake-turning-reset < 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 >我引用ble_app_sleepmode项目实现按钮唤醒在ble_app_barebone项目。我还使用app_timer_set()能够周期性地唤醒信标。
>
>
>
>开始睡眠的函数如下所示。

void user_app_adv_undirect_complete(uint8_t status)
{

app_timer_set(APP_BEACON_TIMER, TASK_APP, delay);
arch_set_extended_sleep();
}

现在,我可以通过BLE定时器正确地定时唤醒。但当我按下按钮,系统就会重置。
是否与OTP使用以及深度睡眠模式有关?因为我要在Flash上销毁代码。

Best regards,
Simon

P.S. app_button_press_cb( ) and app_wakeup_cb( ) are changed slightly so that I don't think they will affect the result.

Keywords: 
Device: 
2017年8月28日星期一08:27:18 +0000 西蒙•王 85655年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/abnormal-button-wake-turning-reset#comments