yabo国际娱乐对话半导体客户支持-接收 https://support.dialog-semiconductor.com/resource-keywords/receive 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:论坛”property="rdfs:label skos:prefLabel" datatype="">Dialog Smartbond Bluetooth Low Energy - Software

我正在使用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 UART与PIC接收问题 https://support.dialog-semiconductor.com/uart-pic-receiving-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:论坛”property="rdfs:label skos:prefLabel" datatype="">Dialog Smartbond Bluetooth Low Energy - Software

再次:p

我的PIC不能接收来自PAN1740 USB狗的数据。
I try to dialog with dongle and USB UART: working
I try to dialog with PIC and USB UART: working
I try to dialog with PIC and USB UART: working
I plug PIC to dongle, all work with flow control but PIC don't receive…
DSPS android应用程序看到流量控制,可以发送数据。

PIC在RX和CTS上有内部弱的上拉。
PIC启用它的接收,然后把RTS设置起来,等待中断。我尝试在设置RTS之前添加1毫秒的延迟,但没有任何改变。

我认为DA14580比FTDI芯片更严格,可能我哪里有延迟问题,但我不知道是怎么回事…< / p > < p >谢谢。件< / p > < p > Morgane Vallee < / 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 / pan1740”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > PAN1740 < / > < / div > < 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”数据类型= " " > pic < / > < / 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甚至“> < href="//www.xmece.com/support/forum-post-device/da14580" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">DA14580

2015年7月16日星期四10:28:39 +0000 aeris 1818年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/uart-pic-receiving-issue#comments