雷竞技电竞平台对话半导体客户支持-长期 https://support.dialog-semiconductor.com/resource-keywords/long-time UART接收,等待时间长 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/uart-receive-long-time-wait < 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 >你好,我正在使用UART与外围设备通信。
MCU首先通过UART发送一个命令,然后等待外设的反馈。
反馈长度是不固定的,到来的时间是未知的(从0.1秒到几秒不等)。
系统看门狗已启用,这意味着我不能等待UART反馈长时间。
如何组织任务,ISR,队列?
是否有此应用程序的示例代码?< / 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 / uart”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > UART < / > < / 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 > < / 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 >
2017年3月16日星期四14:56:06 +0000 jamesleo-konka 5665年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/uart-receive-long-time-wait#comments