yabo国际娱乐对话框半导体客户支持- # DA14583 #睡眠模式#祝福 https://support.dialog-semiconductor.com/resource-keywords/da14583sleep-modeble DA14531睡眠模式退出 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14531-sleep-mode-exit < 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 >我想实现任何睡眠模式的DA14531不会引起系统复位。你能请提供睡眠模式导致复位,如果一个特定的睡眠模式不引发复位,继续执行从和BLE连接的状态是什么呢?< / p > < p >从proxr_reporter看代码,< / p > < p >延长睡眠——继续执行唤醒< / p > < p >深度睡眠——触发复位唤醒< / p > < p >冬眠,继续执行唤醒< / p > < p > < / p > < p >请确认如果这些观察是正确的,也可以分享的链接到任何文档属于睡眠模式除了< a href = " http://lpccs-docs.dialog-semiconductor.com/DA14531_Sleep_Mode + / index . html " > http://lpccs-docs.dialog-semiconductor.com/DA14531_Sleep_Mode + / index . html < / > < / p > < p > < / p > < p >谢谢,< / p > < p > Gowtham < / 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 / da14583sleep-modeble”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > # DA14583 #睡眠模式# BLE < / > < / 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 / da14531-smartbond-tiny-module”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14531 SmartBond小模块< / > < / div > < / div > < / div > 星期一,2020年8月3日13:46:28 + 0000 tsgowtham 371958年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14531-sleep-mode-exit的评论 领导不继续当DA14583进入睡眠模式 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/led-does-not-stay-when-da14583-enters < 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 >我用ble_all_in_one例子和修改我的一个功能。我配置一个带领GPIO set_pad_function()和试图让button_press_callback GPIO高。用例是领导当按钮被按下。现在打开但它在第二部分。我不把领导的代码,但似乎DA14583睡觉,导致关闭。如何让领导继续即使DA14583睡觉吗?以下是我从ble_all_in_one modfied代码示例代码:< / p > < p > / / user_periph_setup。c < br / >空白set_pad_functions(空白)/ /设置gpio端口功能模式< br / > {< br / > / /……其他现有的代码< br / > GPIO_ConfigurePin (GPIO_RED_LED_PORT、GPIO_RED_LED_PIN、输出、PID_GPIO假),< br / > GPIO_ConfigurePin (GPIO_GREEN_LED_PORT、GPIO_GREEN_LED_PIN、输出、PID_GPIO假),< br / > GPIO_ConfigurePin (GPIO_BLUE_LED_PORT、GPIO_BLUE_LED_PIN、输出、PID_GPIO假),< br / >} < / p > < p > / / user_all_in_one。c < br / >静态孔隙app_button_press_cb (void) < br / > {< br / >如果(GetBits16 (SYS_STAT_REG PER_IS_DOWN)) < br / > {< br / > periph_init (); < br / >} < / p > < p >如果(arch_ble_ext_wakeup_get ()) < br / > {< br / > arch_set_sleep_mode (app_default_sleep_mode); < br / > arch_ble_force_wakeup (); < br / > arch_ble_ext_wakeup_off (); < br / > app_easy_wakeup (); < br / >} < / p > < p > GPIO_SetActive (GPIO_GREEN_LED_PORT GPIO_GREEN_LED_PIN);/ /添加我< br / >} < / p > < p >请告诉我错了,我在这里做什么?< / p > < p >感激你的帮助。< / 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 / da14583sleep-modeble”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > # DA14583 #睡眠模式# BLE < / > < / 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 / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14580 < / > < / div > < / div > < / div > 太阳,2019年2月17日15:49:46 + 0000 idarshan 285813年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/led-does-not-stay-when-da14583-enters的评论 rwble ASSERT_WARNING问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/rwble-assertwarning-issue < 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 >嗨DialogSupport, < / p > < p >我在工作项目中,我致力于I2C基地触摸传感器。我设计了自定义董事会使用DA14583单片机和单片机IQS333触摸传感器。< / p > < p >我写了固件现在我工作在睡眠模式配置。首先,我是通过定义/启用ARCH_EXT_SLEEP_ON。< br / > const静态sleep_state_t app_default_sleep_mode = ARCH_EXT_SLEEP_ON; < / p > < p >如果我运行代码,它会立即进入附加sinppet和< br / >持有ASSERT_WARNING (0);线,没有写任何醒来API函数。< / p > < p >空白lld_sleep_compensate_func_patched (void) < br / > {< br / > uint32_t dur_us; < br / > uint32_t slot_corr; < br / > uint32_t fine_corr; < / p > < p > / /睡眠低功率的数量期< br / > uint32_t slp_period = ble_deepslstat_get (); < / p > < p > / /完整性检查:睡眠的持续时间是有限的< br / > ASSERT_ERR (slp_period & lt;LLD_EVT_MAX_SLEEP_DURATION); < / p > < p > / / < br / >将睡眠时间转换成我们dur_us = lld_sleep_lpcycles_2_us_sel_func (slp_period); < br / > slot_corr = dur_us / 625; < br / > fine_corr = 624 - (dur_us % 625); < br / >如果(fine_corr = = 0) < br / > fine_corr = 1; < / p > < p > / /调整值然后从睡眠时间推断美国< br / > ble_basetimecntcorr_set (slot_corr); < br / > ble_finecntcorr_set (fine_corr); < / p > < p > / / < br / > ble_deep_sleep_corr_en_setf启动修正(1),< / p > < p >如果((DEVELOPMENT_DEBUG),,(USE_POWER_OPTIMIZATIONS)) < br / > {< br / > slp_period_retained = slp_period; < br / > / /如果这个断言打那么LP ISR持续更长时间< br / > / /已经通过LP_ISR_TIME_XTAL32_CYCLES和LP_ISR_TIME_USEC保留。< br / >如果sleep_lp_cycles,,(sleep_lp_cycles & lt; slp_period))
ASSERT_WARNING(0);
}

}

Please note that i have a RDY_PIN interrupt coming from sensor, which interrupt my MCU whenever there is low pulse(this pulse interrupts MCU every 10ms ) and enter into interrupt handler function to read data from sensor.

while debugging i encountered an behavior of the device that is, whenever i get I2C_RDY pin interrupt of sensor at that time the device goes to ASSERT_WARNING (0);
However, if i remove RDY_PIN interrupt the code does not enter into ASSERT_WARNING(0);

Can any one help me to resolve issue. how i can debug this and work as required. It's urgent for me to debug.

Thanks and Regards
Rohit

Device: 
星期二,2018年11月20日05:05:38 + 0000 Rajapurerohit 256187年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/rwble-assertwarning-issue的评论