摘要
分别研究了基于UART总线型和星型结构主节点时序,并给出了半双工串行处理、半双工流水处理、全双工流水处理三种模式下主节点轮询一周的处理时间。从提高数据的通信效率出发分析了给出两种结构下较好的处理方式,对设计高效的通信程序具有一定的指导意义,同时也给出了一个应用实例,表明通过合理地分析通信要求选择合适的UART通信模式得到的最终系统可以满足实时和非实时两个方面的要求。
Master node's temporal features of bus topological structure and star topologi- cal structure for UART-based master-salve communication are studied. Poll-wait-process periods of half-duplex serial fashion, half-duplex pipelining fashion and duplex fashion are presented. From communication efficiency, better communications are given for two topological structures, which is significance for designing an effective communication program. A practical example is given to show the effectiveness. Suitable UART communication scheme selected, real-time and no real-time tasks are satisfied.
出处
《电测与仪表》
北大核心
2006年第7期51-54,共4页
Electrical Measurement & Instrumentation
基金
国家自然科学基金资助项目(60274002)
关键词
UART
时序
通信效率
UART
temporal sequence
communication efficiency