yabo国际娱乐对话半导体客户支持- DA14680 UART硬故障延长睡眠 https://support.dialog-semiconductor.com/resource-keywords/da14680-uart-hard-fault-extended-sleep 硬件故障进入长时间睡眠 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/uart-hardfault-entering-extended-sleep < 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 >我目前使用uart的一个项目。
我创建了两个任务,连续调用ad_uart_read超时1000ms来填充缓冲区。
所有工作正常,直到我启用extended_sleep。

从那时起,我遇到了硬错误处理程序被函数ad_uart_signal_event_read调用。到目前为止,我尝试了
-在与UART设备通信时使用pm_stay_alive,并在完成此操作后使用pm_resume_sleep。我还实现了一个方法,等待两个任务停止调用ad_uart_read保存没有读取操作正在进行时,进入睡眠。相同的结果。
-在每次读写操作之前打开和关闭uart。相同的结果。
-禁用一个任务的测试目的,如果我禁用uart1-使用任务问题消失。

我已经读到DA14580有两个不同的实现驱动程序的uart1和uart2,这对我的DA14680有影响吗?

你有任何建议帮助我得到这个修复吗?

Device: 
2019年1月22日星期二00:52:10 +0000 韩国乐团 278277年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/uart-hardfault-entering-extended-sleep#comments